1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.

Slides:



Advertisements
Similar presentations
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_b Subnetting,Supernetting, CIDR IPv6 Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
Advertisements

CSE331: Introduction to Networks and Security Lecture 8 Fall 2002.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 12 – February 18, 2010.
Computer Networks: Global Internet Global Internet.
Winter CMPE 155 Week 8. Winter Router demos: background.
EE 4272Spring, 2003 Chapter 15&16 Internetworking Internetwork Structure & Terms Internetworking Architecture Features  Connection/Connectionless Architecture.
Oct 26, 2004CS573: Network Protocols and Standards1 IP: Routing and Subnetting Network Protocols and Standards Autumn
Rensselaer Polytechnic Institute © Shivkumar Kalvanaraman & © Biplab Sikdar 1 ECSE-4670: Computer Communication Networks (CCN) Network Layer Shivkumar.
Spring 2003CS 4611 Routing Outline Algorithms Scalability.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 23 Introduction to Computer Networks.
1 ELEN 602 Lecture 19 Routing. 2 Overview Forwarding vs Routing –forwarding: to select an output port based on destination address and routing table –routing:
Subnetting and CIDR Textbook Ch 3.2.5
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
Spring 2002CS 4611 Routing Outline Algorithms Scalability.
Announcements List Lab is still under construction Next session we will have paper discussion, assign papers,
Network Layer IS250 Spring 2010
© Jörg Liebeherr ECE 1545 Forwarding in IP Networks.
WAN Technologies.
CSS 432: Subnetting, CIDR, and Global Internet
CS 6401 Efficient Addressing Outline Addressing Subnetting Supernetting.
1 TCOM 509 – Internet Protocols (TCP/IP) Lecture 02_b Instructor: Dr. Li-Chuan Chen Date: 09/08/2003 Based in part upon slides of Prof. J. Kurose (U Mass),
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
ECE 4110 – Internetwork Programming Subnetting, Supernetting, and Classless Addressing.
IP Addressing Introductory material. An entire module devoted to IP addresses.
Network Layer (3). Node lookup in p2p networks Section in the textbook. In a p2p network, each node may provide some kind of service for other.
1 Routing Outline Algorithms Scalability. 2 Overview Forwarding vs Routing –forwarding: to select an output port based on destination address and routing.
End-to-end resource management in DiffServ Networks –DiffServ focuses on singal domain –Users want end-to-end services –No consensus at this time –Two.
Efficient Addressing Outline Addressing Subnetting Supernetting CS 640.
1 Routing Distance Vector Routing Link State Routing Hierarchical Routing Routing for Mobile Hosts.
14-Oct-154/598N: Computer Networks Internet Structure - Past NSFNET backbone Stanford BARRNET regional Berkeley PARC NCAR UA UNM Westnet regional UNL KU.
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
Chapter 6 Delivery and Forwarding of IP Packets
1 TCP/IP Networking. 2 TCP/IP TCP/IP is the networking protocol suite most commonly used with UNIX, Windows, NT and most other OS’s. TCP/IP defines a.
© Jörg Liebeherr, Organization Addresses TCP/IP Protocol stack Forwarding Internet.
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
23-Dec-154/598N: Computer Networks Overview 4.2: Routing Forwarding vs Routing –forwarding: to select an output port based on destination address and routing.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter Ten Internetworking.
“Local Area Networks” - Gerd Keiser Copyright © The McGraw-Hill Companies srl Local Area Networks Gerd Keiser.
Spring 2010CS 3321 Interdomain Routing. Spring 2010CS 3322 How to Make Routing Scale Flat versus Hierarchical Addresses Inefficient use of Hierarchical.
CS470 Computer Networking Protocols
Univ. of TehranComputer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
Spring 2006CS 3321 Interdomain Routing. Spring 2006CS 3322 How to Make Routing Scale Flat versus Hierarchical Addresses Inefficient use of Hierarchical.
1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability.
Spring 2008CPE Computer Networks1 Routing: Part II Outline Algorithms Scalability Reading: Section 4.3.
WAN Technologies. 2 Large Spans and Wide Area Networks MAN networks: Have not been commercially successful.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
CS380 Int. to Comp. Networks Internetworking1 Chapter 4 “There is more than one network” –Point-to-point links –Shared media –Switches Goal – connect these.
CSS432 Subnetting and CIDR Textbook Ch3. 2
IP Addressing Introductory material.
Advanced Computer Networks
Computer Communication Networks
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Scaling the Network Chapters 3-4 Part 2
Communication Networks: Technology & Protocols
COMPUTER NETWORKS CS610 Lecture-45 Hammad Khalid Khan.
Chapter 5 The Network Layer.
IP Addressing Introductory material.
IP Addressing Introductory material.
Review First mile problem Internet End Users Last mile
IP Addressing Introductory material
Delivery, Forwarding, and Routing of IP Packets
CS 31006: Computer Networks – Moving From End-to-End To Per Hop
Tree Structured Internet(c. 1990)
Virtual LAN (VLAN).
Presentation transcript:

1 CS716 Advanced Computer Networks By Dr. Amir Qayyum

Lecture No. 23

Where we are - What we understand Concepts of networking & network programming –Elements of networks: nodes and links –Building a packet abstraction on a link Issues related to bits/frames sent on a single link –How to detect transmission errors in a frame after encoding and framing it –How to simulate a reliable channel (sliding window) –How to arbitrate access to shared media in any network Design issues of direct link networks –Functionality of network adaptors

Where we are – What we understand How switches may provide indirect connectivity –Different ways to move through a network (forwarding) –Bridge approach to extending LAN concept –Example of a real virtual circuit network (ATM) –How switches are built and contention within switches How different networks work together –(Common connecting protocol IP) and its service model –Routing protocols in simple networks Next: large networks working together

Internetworking Reading: Peterson and Davie, Chapter 4 Global internets (scale) Dealing with global scale –Virtual geography and addresses –Hierarchical routing –Multicast traffic –MPLS Future internetworking: IPv6

How Should Hierarchy be Defined ? Hierarchy reduces information requirements for forwarding

Internetworking Main problems addressed by internetworking –Heterogeneity –Scale Bridges scale to level of medium organization IP addresses most end-to-end heterogeneity issues Today: issues of global scale

Global Internets Evolution of Internet structure Virtual geographies: networks, domains, and translations Problems of scale IP address hierarchy evolution Notion of autonomous systems (AS’s) Common intradomain routing protocols Standard interdomain routing protocol

Diameter of the Internet Connect all nodes of a network in a big ring –Network diameter will be half the ring circumference Adding more links brings down network diameter –Diameter can be quarter of the ring with one link … How many links should be added to bring the diameter below some threshold ?

Internet Structure in Recent Past 1990 Tree structure, centered around one backbone Interconnection of thousands of “organizations” –End users and service providers Scalability of routing protocols in global Internet –Network entities are administratively independent NSFNET backbone Stanford BARRNET regional Berkeley PARC NCAR UA UNM Westnet regional UNL KU ISU MidNet regional …

Internet Structure Today Multiple backbone service providers Arbitrary graph structure Different QoS in different backbones (commercial) Backbone service provider Peering point Peering point Large corporation Small corporation “ Consumer” ISP “Consumer” ISP “ Consumer” ISP Small corporation

Virtual Geographies Internet domain names (understood by people) IP network numbers (understood by routers) Internet domain name hierarchy –ASCII strings separated by periods; typical formats: host.domain.domain_type –xyz.carepvtltd.com host.subdomain.domain.domain_type –abc.cs.berkeley.edu host.domain.domain_type.country –

Virtual Geographies and IP Address Routers use IP network numbers Original intention: –One network number per physical network Closer to real geography (than domain names) Some jumps, e.g., –Divisions of one company –Organizations with network research testbeds ClassNetworkHost IP Address

Virtual Geographies and DNS Translation from domain name to IP address –Domain to IP: Domain Name Service (DNS) –IP to domain: relies on host Not secure Use reverse lookup(domain to IP) for security DNS is a hierarchical, (mostly) distributed application (more detail later)

Scaling Problems for the Internet Inefficient address allocation Too many networks for routing Can trade off between these two Questions –What network(s) should you allocate to a company with 1000 machines ? –What about a company with 200 machines ? –What about a company with 2 machines that plans to grow rapidly ?

Scaling Problems for the Internet Pressure primarily on class B networks –Most companies plan to grow beyond 255 machines –Renumbering is a hassle and can interrupt service –Only around 16,000 class B networks available (14 bit) Class B networks aren’t very efficient –Few organizations have O(10,000) machines –More likely a network uses O(1,000) of 65,000 address Scaling problems with alternatives –Multiple table entries if class C networks used instead –Protocols do not scale beyond O(10,000) networks

IP Address Hierarchy Evolution Begin with class-based system Subnetting within an organization –Network can be broken into smaller networks –Recognized only within the organization –Implemented by packet-switching –Smaller networks called subnets Class A: 0network (7)host (24 bits) Class B: 1network (14 bits)host (16 bits)0 Class C: 1network (21 bits)host (8 bits)10

Subnetting Another level to address/routing hierarchy: subnet Subnet masks define variable partition of host part Subnets visible only within site (close to each other) ClassNetworkHost IP address NetworkHost Subnetted IP address Subnet Subnet Mask Class Non- contiguous Mask

Forwarding table at router R1 Subnet Number Subnet Mask Next Hop interface interface R2 Subnetting Example All hosts have address && mask = subnet address Subnet mask: Subnet number: H1 R Subnet mask: Subnet number: R2 H Subnet mask: Subnet number: H3

Forwarding Algorithm D = destination IP address for each entry (SubnetNum, SubnetMask, NextHop) D1 = SubnetMask & D if D1 = SubnetNum if NextHop is an interface deliver datagram directly to D else deliver datagram to NextHop Comparisons in parallel, taking the longest match Use a default router if nothing matches Not necessary for 1s in subnet mask to be contiguous Can put multiple subnets on one physical network

Subnetting Subnets allow hierarchy within organizations But do not reduce class B address pressure