Internetworking & Address Resolution

Slides:



Advertisements
Similar presentations
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Advertisements

CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Chapter 18. IP: Internet Protocol Addresses
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
IP: The Internet Protocol
Oct 26, 2004CS573: Network Protocols and Standards1 IP: Routing and Subnetting Network Protocols and Standards Autumn
1 Fall 2005 Internetworking: Concepts, Architecture and TCP/IP Layering Qutaibah Malluhi CSE Department Qatar University.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Internet Protocol (IP) Slide 1 Internet Protocol (IP)
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
CSCI 4550/8556 Computer Networks Comer, Chapter 19: Binding Protocol Addresses (ARP)
CS335 Networking & Network Administration Tuesday, May 11, 2010.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
Introduction to TCP/IP
CSCI 4550/8556 Computer Networks Comer, Chapter 20: IP Datagrams and Datagram Forwarding.
COS 420 Day 3.
Chapter 19 Binding Protocol Addresses (ARP) Chapter 20 IP Datagrams and Datagram Forwarding.
CS335 Networking & Network Administration Tuesday April 27, 2010.
Layering and the TCP/IP protocol Suite  The TCP/IP Protocol only contains 5 Layers in its networking Model  The Layers Are 1.Physical -> 1 in OSI 2.Network.
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
Classless and Subnet Address Extensions (CIDR)
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part XI Internetworking Part 2.4 (Datagram Encapsulation, Transmission, Fragmentation, Reassembly)
1 Chapter Internetworking Part 1 (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution.
CEN Network Fundamentals Chapter 19 Binding Protocol Addresses (ARP) To insert your company logo on this slide From the Insert Menu Select “Picture”
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
1 Internetworking: Concepts, Architecture, and Protocols.
FALL, 2005CSI Part 2.3 Internetworking & Addressing (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution Robert L. Probert, SITE,
Chapter 15 - Internetworking Motivation Universal service Internetworking Routers Internet architecture Routers in an organization A virtual network A.
Chapter 17 - Internetworking: Concepts, Architecture, and Protocols 1. Internetworking concepts 2. Router 3. protocol for internetworking 4. TCP/ IP layering.
Part 3: Internetworking Internet architecture, addressing, encapsulation, reliable transport and the TCP/IP protocol suite.
Chapter 18 IP: Internet Protocol Addresses
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
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
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Chapter 17 Internetworking: Concepts, Architecture, and Protocols
1 Java EE Programming Internetworking. 2 Motivation for Internetworking LAN technologies provide high speed communication across short distances WAN technologies.
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.
Internet Application Theory & Applications. Internet Application - Ibrahim Otieno SCI/ICT Building 2 nd Floor Rm.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Internet Protocol: Routing IP Datagrams Chapter 8.
1 IP Datagrams And Datagram Forwarding. 2 Motivation For IP Packets Because it can connect heterogeneous networks, a router cannot transmit a copy of.
Chapter 18 IP: Internet Protocol Addresses. Internet protocol software used to make the internet appear to be a single, seamless communication system.
Linux Operations and Administration Chapter Eight Network Communications.
CS470 Computer Networking Protocols Huiping Guo Department of Computer Science California State University, Los Angeles 4. Internetworking.
CS470 Computer Networking Protocols
1 Binding Protocol Addresses (ARP ). 2 Resolving Addresses Hardware only recognizes MAC addresses IP only uses IP addresses Consequence: software needed.
Spring Ch 17 Internetworking Concepts, Architecture, and Protocols Part III Internetworking.
1 Computer Networks Chapter 5. Network layer The network layer is concerned with getting packets from the source all the way to the destination. Getting.
The Concept of Universal Service
Chapter 9 Introduction To Data-Link Layer 9.# 1
IP: Addressing, ARP, Routing
COMPUTER NETWORKS CS610 Lecture-27 Hammad Khalid Khan.
Network Layer: IP Addressing
COMPUTER NETWORKS CS610 Lecture-28 Hammad Khalid Khan.
Scaling the Network: The Internet Protocol
CS4470 Computer Networking Protocols
Chapter 8 ARP(Address Resolution Protocol)
Objective: ARP.
CS4470 Computer Networking Protocols
Objective: Classful Internet Addressing
Net 323: NETWORK Protocols
CS 457 – Lecture 10 Internetworking and IP
Scaling the Network: The Internet Protocol
Ch 17 - Binding Protocol Addresses
COMPUTER NETWORKS CS610 Lecture-29 Hammad Khalid Khan.
Layering and the TCP/IP protocol Suite
Presentation transcript:

Internetworking & Address Resolution Part 2.3 Internetworking & Address Resolution Robert L. Probert, SITE, University of Ottawa FALL, 2003 CSI 4118

Motivation For Internetworking LANs Low cost Limited distance WANs High cost Unlimited distance FALL, 2003 CSI 4118

Heterogeneity is Inevitable No single networking technology is best for all needs FALL, 2003 CSI 4118

Universal Service Fundamental concept in networking Pioneered by telephone system Arbitrary pairs of computers can communicate Desirable Difficult in a heterogeneous world FALL, 2003 CSI 4118

Heterogeneity and Universal Service Incompatibilities among networks Electrical properties Signaling and data encoding Packet formats Addresses FALL, 2003 CSI 4118

The Bottom Line Although universal service is highly desirable, incompatibilities among network hardware and physical addressing prevent an organization from building a bridged network that includes arbitrary technologies FALL, 2003 CSI 4118

Internetworks Begin with heterogeneous network technologies Connect the physical networks Create software to make resulting system appear homogeneous Called an internetwork or internet FALL, 2003 CSI 4118

Connecting Heterogeneous Networks Computer system used Special-purpose Dedicated Works with LAN or WAN technologies Known as Internet router Internet gateway FALL, 2003 CSI 4118

Illustration of an Internet Router Cloud denotes arbitrary network technology One interface per network FALL, 2003 CSI 4118

Important Idea A router can interconnect networks that use different technologies, including different media and media access techniques, physical addressing schemes, or frame formats FALL, 2003 CSI 4118

Internet Architecture Multiple Networks Routers interconnecting networks Host computer connects to a network Single router has insufficient CPU power and memory I/O capability FALL, 2003 CSI 4118

Internetworking Goal: communication system Seamless Uniform General-purpose Universal Hides heterogeneity from user FALL, 2003 CSI 4118

The Internet Concept FALL, 2003 CSI 4118

To Hide Heterogeneity Create “virtual” network Invent Implement with Addressing scheme Naming scheme Implement with Protocol software Note: protocol software needed on both hosts and routers FALL, 2003 CSI 4118

Internet Protocols Known as TCP / IP Many protocols comprise a suite Designed to work together Divided into five conceptual layers FALL, 2003 CSI 4118

Layering Used with TCP/IP Note: TCP/IP layering replaces the old ISO model FALL, 2003 CSI 4118

TCP/IP Layers Layer 1: Physical Layer 2: Network interface Basic network hardware Layer 2: Network interface MAC frame format MAC addressing Interface between computer and network (NIC) Layer 3: Internet Facilities to send packets across internet composed of multiple routers FALL, 2003 CSI 4118

TCP/IP Layers (continued) Layer 4: Transport Transport from an application on one computer to application on another Layer 5: Application Everything else FALL, 2003 CSI 4118

Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines Internet addressing Internet packet format Internet routing FALL, 2003 CSI 4118

IP Addressing Abstraction Independent of hardware addressing Used by Higher-layer protocols Applications FALL, 2003 CSI 4118

IP Address Virtual Used for all communication 32-bit integer Only understood by software Used for all communication 32-bit integer Unique value for each host FALL, 2003 CSI 4118

IP Address Assignment An IP address does not identify a specific computer. Instead, each IP address identifies a connection between a computer and a network. A computer with multiple network interconnections (e.g., a router) must be assigned one IP address for each connection. FALL, 2003 CSI 4118

IP Address Details Divided into two parts Prefix identifies network Suffix identifies host Global authority assigns unique prefix to network Local administrator assigns unique suffix to host FALL, 2003 CSI 4118

Original Classes of Addresses Initial bits determine class Class determines boundary between prefix and suffix FALL, 2003 CSI 4118

Dotted Decimal Notation Shorthand for IP address Allows humans to avoid binary Represents each octet in decimal separated by dots NOT the same as names like www.somewhere.com FALL, 2003 CSI 4118

Example of Dotted Decimal Notation Four decimal values per 32-bit address Each decimal number Represents eight bits Is between 0 and 255 FALL, 2003 CSI 4118

Classful Addresses and Network Sizes Maximum network size determined by class of address Class A large Class B medium Class C small FALL, 2003 CSI 4118

Addressing Examples FALL, 2003 CSI 4118

Subnet and Classless Addressing Not part of original scheme Invented to prevent address exhaustion Allow boundary between prefix and suffix to occur on arbitrary bit boundary Require auxiliary information to identify boundary FALL, 2003 CSI 4118

Subnet Addressing Goal: extend address space Invented in 1980s Works within a site Technique Assign single network prefix to site Divide suffix into two parts: network at site and host Typical use: divide class B addresses FALL, 2003 CSI 4118

Address Mask Accompanies IP address 32 bit binary value Specifies prefix / suffix boundary I bits cover prefix 0 bits cover suffix Example: class B mask is 255.255.0.0 FALL, 2003 CSI 4118

Example of Subnet Addressing Single Class B number such as 128.10.0.0 assigned to site Site chooses subnet boundary such as 24 bits Routers and hosts configured with corresponding subnet mask M=255.255.255.0 Given destination address, D, extract prefix with “logical and” operation D & M FALL, 2003 CSI 4118

Classless Addressing Goal: extend address space Invented in 1990s Works throughout Internet Accommodates Original classful addresses Subnet addresses Other forms FALL, 2003 CSI 4118

Classless Addressing (continued) Technique Allow arbitrary prefix size Represent network address as pair (address, mask_size) Known as Classless Inter-Domain Routing (CIDR) FALL, 2003 CSI 4118

CIDR Uses slash notation Example 128.211.0.0/17 Means that the boundary between prefix and suffix occurs after the first 17 bits Each network can be as large or small as needed (power of two) FALL, 2003 CSI 4118

Special Addresses Network address not used in packets Loopback never leaves local computer FALL, 2003 CSI 4118

Illustration of Router Addresses Address prefix identifies network Need one router address per connection FALL, 2003 CSI 4118

Resolving Addresses Hardware only recognizes MAC addresses IP only uses IP addresses Consequence: software needed to perform translation Part of network interface Known as address resolution FALL, 2003 CSI 4118

Address Resolution Layer 2 protocol Given Find Technique A locally-connected network, N IP address C of computer on N Find Hardware address for C Technique Address Resolution Protocol FALL, 2003 CSI 4118

Address Resolution Protocol (ARP) Key bindings in table Table entry contains pair of addresses for one computer IP address Hardware address Build table automatically as needed FALL, 2003 CSI 4118

ARP Table Only contains entries for computers on local network IP network prefix in all entries identical FALL, 2003 CSI 4118

ARP Lookup Algorithm Look for target IP address, T, in ARP table If not found Send ARP request message to T Receive reply with T’s hardware address Add entry to table Return hardware address from table FALL, 2003 CSI 4118

Illustration of ARP Exchange W needs Y’s hardware address Request sent via broadcast Reply sent via unicast FALL, 2003 CSI 4118

ARP Message Format (For Ethernet) Length of hardware address fields depend on network type Ethernet uses 48-bit address FALL, 2003 CSI 4118

Transmission of ARP Message in a Frame ARP message sent in payload area of frame Called encapsulation FALL, 2003 CSI 4118

Frame Type Frame type identifies message as ARP Receiver examines frame type FALL, 2003 CSI 4118

Important Note Because ARP software is part of the network interface software, all higher-layer protocols and applications can use IP addresses exclusively, and remain completely unaware of hardware addresses FALL, 2003 CSI 4118

Motivation for IP Packets Because it can connect heterogeneous networks, a router cannot transmit a copy of a frame that arrives on one network across another. To accommodate heterogeneity, an internet must define a hardware-independent packet format. FALL, 2003 CSI 4118

Internet Packets Abstraction Created and understood only by software Contains sender and destination addresses Size depends on data being carried Called IP datagram FALL, 2003 CSI 4118

The Two Parts of an IP Datagram Header Contains destination address Fixed-size fields Payload Variable size up to 64K No minimum size FALL, 2003 CSI 4118

Datagram Header Three key fields Source IP address Destination IP address Type FALL, 2003 CSI 4118

IP Datagram Forwarding Performed by routers Similar to WAN forwarding Table-driven Entry specifies next hop Unlike WAN forwarding Uses IP addresses Next-hop is router or destination FALL, 2003 CSI 4118

Example of an IP Routing Table Table (b) is for center router in part (a) FALL, 2003 CSI 4118

Routing Table Size Because each destination in a routing table corresponds to a network, the number of entries in a routing table is proportional to the number of networks in an internet FALL, 2003 CSI 4118

Datagram Forwarding Given a datagram Extract destination address field, D Look up D in routing table Find next-hop address, N Send datagram to N FALL, 2003 CSI 4118

Key Concept The destination address in a datagram header always refers to the ultimate destination. When a router forwards the datagram to another router, the address of the next hop does not appear in the datagram header. FALL, 2003 CSI 4118

IP Semantics IP is connectionless Routes can change at any time Datagram contains identity of destination Each datagram sent / handled independently Routes can change at any time FALL, 2003 CSI 4118

IP Semantics (continued) IP allows datagrams to be Delayed Duplicated Delivered out-of-order Lost Called best-effort delivery Motivation: accommodates all possible networks FALL, 2003 CSI 4118

Summary Internetworking Internet concept Solves problem of heterogeneity Includes LANs and WANs Internet concept Virtual network Seamless Universal FALL, 2003 CSI 4118

Summary (continued) Internet architecture Router Multiple networks Interconnected by routers Router Special-purpose computer system Interconnects two or more networks Uses table to forward datagrams FALL, 2003 CSI 4118

Summary (continued) Address resolution Needed to map IP address to equivalent hardware address Part of network interface Uses table Automatically updates table entries Broadcasts requests FALL, 2003 CSI 4118

Summary (continued) Internet Protocol (IP) Fundamental piece of TCP / IP Defines Internet addressing Delivery semantics Internet packet format (IP datagram) FALL, 2003 CSI 4118