1 Chapter 4: Internetworking (Introduction) Dr. Rocky K. C. Chang 16 March 2004.

Slides:



Advertisements
Similar presentations
ARP: Address Resolution Protocol
Advertisements

1 Address Resolution Protocol (ARP) Relates to Lab 2. This module is about the address resolution protocol.
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
 As defined in RFC 826 ARP consists of the following messages ■ ARP Request ■ ARP Reply.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
1 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
Spring 2003CS 4611 Internetworking COS 461 Spring 2003.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
CS Internetworking Slide Set 8. In this set... Addressing Datagram forwarding.
Spring 2002CS 4611 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 03/04/2007.
1 Some Snapshots Rocky K. C. Chang 8 September 2008.
Chapter Overview TCP/IP Protocols IP Addressing.
Lecture 8 Modeling & Simulation of Communication Networks.
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
Network Layer – Subnetting and Control Protocols Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing,
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_a
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
Link Layer 5-1 Link layer, LAN s: outline 5.1 introduction, services 5.2 error detection, correction 5.3 multiple access protocols 5.4 LANs  addressing,
1 John Magee 11 July 2013 CS 101 Lecture 11: How do you “visit” a web page, revisted Slides adapted from Kurose and Ross, Computer Networking 5/e Source.
TCP/IP Protocol Suite 1 Chapter 7 Upon completion you will be able to: ARP and RARP Understand the need for ARP Understand the cases in which ARP is used.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
Polytechnic University1 The internetworking solution of the Internet Prof. Malathi Veeraraghavan Elec. & Comp. Engg. Dept/CATT Polytechnic University
© Jörg Liebeherr, Organization Addresses TCP/IP Protocol stack Forwarding Internet.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
1 TCP/IP, Addressing and Services S. Hussain Ali M.S. (Computer Engineering) Department of Computer Engineering King Fahd University of Petroleum and Minerals.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Chapter 19 Binding Protocol Addresses (ARP) A frame transmitted across a physical network must contain the hardware address of the destination. Before.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
1 Kyung Hee University Chapter 8 ARP(Address Resolution Protocol)
Link Layer5-1 Synthesis: a “day” in the life of a web request  journey down protocol stack!  application, transport, network, link  putting-it-all-together:
WHY AN IP LAYER? Rocky K. C. Chang 20 September
IP OVER ANYTHING Dr. Rocky K. C. Chang 15 Oct
CS470 Computer Networking Protocols Huiping Guo Department of Computer Science California State University, Los Angeles 4. Internetworking.
1 Connectivity with ARP and RARP. 2 There needs to be a mapping between the layer 2 and layer 3 addresses (i.e. IP to Ethernet). Mapping should be dynamic.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
1 Chapter 3: Packet Switching (Switched LANs) Dr. Rocky K. C. Chang 23 February 2004.
Address Translation Outline Datalink layer intro ARP RARP DHCP.
1 Internetworking: IP Packet Switching Reading: (except Implementation; pp )
3. INTERNETWORKING (PART 3: IP) Rocky K. C. Chang Department of Computing The Hong Kong Polytechnic University 18 February
TCP/IP Protocol Suite 1 Chapter 7 Upon completion you will be able to: ARP ( and ARP ( RFC-826) and RARP ( RARP ( RFC-903) Understand the need for ARP.
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
1 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
IP: Addressing, ARP, Routing
Chapter 21 Address Mapping
Scaling the Network: The Internet Protocol
CS4470 Computer Networking Protocols
Chapter 8 ARP(Address Resolution Protocol)
Objective: ARP.
3. Internetworking (part 2: switched LANs)
ARP and RARP Objectives Chapter 7 Upon completion you will be able to:
3. Internetworking (part 3: IP)
Net 323: NETWORK Protocols
NAT/ARP/RARP (Ch 5 & 8) Dr. Clincy Lecture.
Chapter 6 The Data Link layer
Advanced Computer Networks
ARP: Address Resolution Protocol
Internetworking Outline Best Effort Service Model
Dr. Rocky K. C. Chang 23 February 2004
1 ADDRESS RESOLUTION PROTOCOL (ARP) & REVERSE ADDRESS RESOLUTION PROTOCOL ( RARP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University,
ARP: Address Resolution Protocol
Scaling the Network: The Internet Protocol
Synthesis A day in the life of a web request
Presentation transcript:

1 Chapter 4: Internetworking (Introduction) Dr. Rocky K. C. Chang 16 March 2004

2 1. The internetworking problem Problem: How to interconnect heterogeneous networks effectively? Three problems with interconnection at the data-link layer: –Do not scale to the number of data-link technologies. –Do not scale to the number of hosts (or networks). –Do not have a common addressing space.

3 1. The internetworking problem S2 S1 H4 H5 H3 H2 H1 Network 2 (Ethernet) Network 1 (Ethernet) H6 Network 3 (FDDI) Network 4 (point-to-point) H7S3H8

4 1.1 Scaling to data-link technologies Conversion between frame structures. Scalability problem as the number of data-link technologies supported increases, e.g., Ethernet FDDI PPP Token ring Frame conversion

5 1.2 Scaling to the network size A switched LAN is a “flat” network---A single broadcast frame reaches every LAN. –VLAN can relieve this problem at the expense of managing VLAN membership. Spanning tree protocol does not scale well to the network size. –Take a longer time for the protocol to converge. –Take a longer time to respond to network state changes.

6 1.3 Uncommon MAC address space The number of bits used in a MAC address may differ. –48-bit IEEE MAC addresses –IBM recommends another locally administered MAC addresses (overriding the burned-in MAC addresses). Each address in a data-link technology must be universally unique, but its uniqueness is not guaranteed when several networks are bridged.

7 2. A layer-three internetworking solution Use IP, XNS, IPX, etc on top of the networks. Replace LAN switches with layer-three switches, more commonly known as routers. Add IP software to each end host (with the whole protocol suite software). Assign an IP address to each network interface.

8 2. A layer-three internetworking solution R2 R1 H4 H5 H3 H2 H1 Network 2 (Ethernet) Network 1 (Ethernet) H6 Network 3 (FDDI) Network 4 (point-to-point) H7R3H8

IP: Scaling to data-link technologies Ethernet FDDI PPP Token ring IP Encapsulation and demultiplexing

IP: Scaling to the network size IP network uses hierarchy to achieve scalability. There are at least three levels: –A single IP host (csultra6.comp.polyu.edu.hk) –A IP subnet (four subnets in comp.polyu.edu.hk) –An autonomous system (polyu.edu.hk)

IP: Uncommon MAC Address space Create a logical (unicast) address space to identify network interfaces. Classes A-C for unicast and a class D for multicast: NetworkHost (a) NetworkHost (b) NetworkHost (c) (d) 1

IP software at end hosts The IP software mainly consists of modules for –Application layer, such as DNS –Transport layer: TCP, UDP –Routing layer: IP, ICMP, and others. –Data-link layer: MAC-IP-addresses binding IP addresses MAC addresessHost names DNS ARP RARP

An example A HTTP client is running in m1.sun.com to connect to a HTTP server at The DNS client at the m1.sun.com first obtains the IP address of The application data (HTTP+TCP) will then be encapsulated by an IP datagram with m1.sun.com

An example –IP source address = –IP destination address = Now m1.sun.com needs to run ARP to obtain the MAC address of network interface to the LAN. The IP datagram is then encapsulated in an Ethernet frame with –MAC source address = that of m1.sun.com –MAC destination address = that of

IP software at routers The software at routers is mainly used for routing and datagram forwarding. Each router is running at least a “routing protocol” to construct a routing (or forwarding) table. –Each entry in a routing table consists of IP destination address and the next-hop’s IP address. Upon receiving a datagram, a router forwards it based on a set of forwarding rules and the routing table.

Encapsulation and address binding To transmit IP datagrams over any data-link network, two requirements are needed: –A standard way to encapsulate IP datagrams –Address resolution between IP addresses and MAC addresses Standard RFCs for specifying datagram encap- sulations and possibly address resolutions, e.g., Ethernet (RFC 894), IEEE 802 (RFC 1042), etc. A shared medium uses an Address Resolution Protocol (ARP) for address binding.

Data encapsulation Send out to the network interface You have seen –IP over DIX Ethernet (slide 19 in Chapter 2, part I) –IP over IEEE (slide 22 in Chapter 2, part II) –IP over PPP (slide 22 in Chapter 2, part I) –IP over ATM via AAL 5 (slide 15 in Chapter 3, part III)

Address resolution protocol An ARP request message is data-link broadcasted on the LAN with the target IP address. Every IP host picks up a copy of the message and examine the target IP address. –If matching its IP address, send an ARP reply message back to the sender with its MAC address. –Else, drop the message. To reduce broadcast traffic, each host uses an ARP cache to remember the recent binding.

Address resolution protocol TargetHardwareAddr (bytes 2–5) TargetProtocolAddr (bytes 0–3) SourceProtocolAddr (bytes 2–3) Hardware type = 1ProtocolType = 0x0800 SourceHardwareAddr (bytes 4–5) TargetHardwareAddr (bytes 0–1) SourceProtocolAddr (bytes 0–1) HLen = 48PLen = 32Operation SourceHardwareAddr (bytes 0–3)

An internetworking example On each “hop or link,” both data encapsulation and address resolution occur. R1 ETH FDDI IP ETH TCP R2 FDDI PPP IP R3 PPP ETH IP H1 IP ETH TCP H8