Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Comparison of Connectionless Network Layer Protocols Or

Slides:



Advertisements
Similar presentations
Introduction to IPv6 Presented by: Minal Mishra. Agenda IP Network Addressing IP Network Addressing Classful IP addressing Classful IP addressing Techniques.
Advertisements

CPSC Network Layer4-1 IP addresses: how to get one? Q: How does a host get IP address? r hard-coded by system admin in a file m Windows: control-panel->network->configuration-
Transitioning to IPv6 April 15,2005 Presented By: Richard Moore PBS Enterprise Technology.
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
1 IPv6. 2 Problem: 32-bit address space will be completely allocated by Solution: Design a new IP with a larger address space, called the IP version.
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-1 IPv6 Operations Defining and Configuring Neighbor Discovery.
Computer Networks21-1 Chapter 21. Network Layer: Address Mapping, Error Reporting, and Multicasting 21.1 Address Mapping 21.2 ICMP 21.3 IGMP 21.4 ICMPv6.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 25 Introduction to Computer Networks.
2: Comparing IPv4 and IPv6 Rick Graziani Cabrillo College
TCP/IP TCP/IP architecture
CSE331: Introduction to Networks and Security Lecture 8 Fall 2002.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
8-1 Last time □ Network layer ♦ Introduction forwarding vs. routing ♦ Virtual circuit vs. datagram details connection setup, teardown VC# switching forwarding.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 5-1 Internet Protocol (IP): Packet Format, Fragmentation, Options Shivkumar Kalyanaraman Rensselaer.
An Engineering Approach to Computer Networking
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Rensselaer Polytechnic Institute © Shivkumar Kalvanaraman & © Biplab Sikdar 1 ECSE-4670: Computer Communication Networks (CCN) Network Layer Shivkumar.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6961:Internet Protocols Quiz 1: Solutions Time: 60 min (strictly enforced) Points: 50 YOUR.
BOOTP and DHCP Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
Extending Networks. Three Levels of Extension Physical Layer –Repeaters Link Layer –Bridges –Switches Network –Routers: “Connecting networks”
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-1 Internetworking: addressing, forwarding, resolution, fragmentation Shivkumar Kalyanaraman Rensselaer.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Protocol (IP): Addressing and Forwarding Shivkumar Kalyanaraman Rensselaer Polytechnic.
IP Address 0 network host 10 network host 110 networkhost 1110 multicast address A B C D class to to
CS 6401 IPv6 Outline Background Structure Deployment.
1 IPv6 Address Management Rajiv Kumar. 2 Lecture Overview Introduction to IP Address Management Rationale for IPv6 IPv6 Addressing IPv6 Policies & Procedures.
1 Chapter Overview IP (v4) Address IPv6. 2 IPv4 Addresses Internet Protocol (IP) is the only network layer protocol with its own addressing system and.
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),
CEN 5501C - Computer Networks - Spring UF/CISE - Newman1 Computer Networks Chapter 9 – Network Layer Addresses.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_a
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #03 SOLUTIONS Shivkumar Kalyanaraman: GOOGLE: “Shiv.
© 2002, Cisco Systems, Inc. All rights reserved..
1 Internet Protocol. 2 Connectionless Network Layers Destination, source, hop count Maybe other stuff –fragmentation –options (e.g., source routing) –error.
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
IP : Internet Protocol Addresses Rsc.Asst.Kamil Serhan Bilman
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
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.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internet Protocols. Address Resolution IP Addresses are not recognized by hardware. If we know the IP address of a host, how do we find out the hardware.
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
Data Communications (SEE5523) - Chap.8a1/24 SET5534 Data Communication and Switching System Chapter 8 IP Addressing Alias Mohd FKE, UTM
Submitted to: Submitted by: Mrs. Kavita Taneja Jasleen kaur (lect.) Hitaishi verma MMICT & BM MCA 4 th sem.
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
Network Layer/IP Protocols 1. Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2.
Scaling the Network: Subnetting and Protocols
Introduction to Networks
Scaling the Network: Subnetting and Other Protocols
Scaling the Network Chapters 3-4 Part 2
IP: Addressing, ARP, Routing
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
Network Layer, and Logical Addresses
CIS 116 IPv6 Fundamentals 2 – Primer Rick Graziani Cabrillo College
Next Generation: Internet Protocol, Version 6 (IPv6) RFC 2460
PART IV Network Layer.
ECSE-6600: Internet Protocols
CS 457 – Lecture 10 Internetworking and IP
Chapter 26 IPv6 Addressing
Internetworking Outline Best Effort Service Model
Internet Protocol, Version 6 (IPv6)
Scaling the Network: Subnetting and Other Protocols
ECSE-4670: Computer Communication Networks (CCN)
Networking Essentials For Firewall-1 Administrators
An Engineering Approach to Computer Networking
Presentation transcript:

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Comparison of Connectionless Network Layer Protocols Or Shivkumar Kalyanaraman Rensselaer Polytechnic Institute Based in part upon slides of I. Stoica (UCB)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 2 Forwarding Models q Connection-oriented: q ATM, X.25, frame-relay… q Connection-less: q IP, IPv6 q CLNP q IPX, IPX+ q Decnet q Appletalk q Major differences in addressing and related issues: allocation, configuration, resolution, hierarchy… q Minor differences in formats/encoding, TTL/hop count, fragmentation etc

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 3 Addressing Differences q Node or interface: q IP, IPX, IPv6, Appletalk address interfaces q CLNP, Decnet: addresses for nodes. Nodes w/ multiple interfaces in same area can have single address q Hierarchy: fixed or variable boundaries q Locator (network ID) + Host ID q IP, IPX, CLNP: arbitrary number of levels q Classful IP: fixed boundaries q Owning vs Renting addresses: q Original IP model: own address q DHCP, Provider-based addressing, IPv6 address lifetime: rent addresses q Rent => renumbering overhead. NAT helps q Configuration ease: facilitates stateless, easy address resolution/neighbor discovery?

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 4 Recall: 7 Things to (auto-) configure… q 1. End systems need Layer 3 address, names, masks q 2. Router finds Layer 3 addresses of end systems q 3. Router finds Layer 2 addresses of end systems q 4. End systems find a (default) router, name server q 5. End nodes on the same LAN discover that they can send directly to each other q 6. End systems find the best router for exit traffic q 7. End systems communicate on a router-less LAN q Typically end systems only know their hardware (IEEE 802) address…

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 5 Address structures: IP q 4 bytes, subnet/CIDR mask for flexible boundaries, arbitrary levels. Original: classful; Current: classless q ARP for address resolution. Small IP address => cannot derive Ethernet address from IP address q BOOTP/DHCP (stateful configuration). No stateless auto- configuration features q Addresses centrally assigned; then moved to provider- based + private/NAT model in mid-90s NetworkHost Flexible boundary: decided by mask. CIDR/supernet-mask used by provider for netID Subnet mask for intra-AS assignment 32 bits (4bytes)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 6 IP Configuration q 1. End systems: Layer 3 address, names, masks: DHCP q 2. Router finds Layer 3 addresses of end systems: Same network ID (I.e. IP prefix) q 3. Router finds Layer 2 addresses of end systems: ARP q 4. End systems find a default router, name server: DHCP q 5. End nodes on the same LAN discover that they can send directly to each other: Same network ID + ARP q 6. End systems find the best router for exit traffic: ICMP Router Redirect q 7. End systems communicate on a router-less LAN: need a DHCP server at least. Same prefix => same LAN; ARP q Bottom-line: server necessary for IP auto-configuration on LAN. Server-less not possible.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 7 Address Structure: IPX, IPX+ q Internetworking Packet Exchange (IPX) q IPX: 10 bytes. IPX+: 16 bytes => larger than IP q Simple structure: q IPX: 4B NetID + 6B Node ID. q IPX+: Adds 6B Domain ID q 6 byte NodeID = IEEE link address => no ARP needed! Address resolution w/o traffic overhead or delays q Plug-n-play: Node boots with LAN address, broadcasts to ask for net ID NetworkHost 4bytes 6bytes Fixed boundary!

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 8 IPX q No registry => many little IPX nets, non-unique assignments q Internal network number: servers deplete netIDs to get better routes. Adds configuration overhead. Lousy feature. => R S C x y net #57 net #29 “net” 91 Internal network number example for IPX

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 9 IPX+ q IPX+: Adds “domain number” in an expanded header q Intra-domain routers need not be upgraded q NetID FFFC reserved to reach domain boundary q Boundary routers then uses expanded header

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 10 IPX, IPX+ Auto-configuration q 1. End systems acquire link prefix: snoop/solicit for router advts. L3 address = prefix + IEEE address q 2. Router finds L3 addr of end systems: Same network ID q 3. Router finds L2 addr of end systems: nodeID in addr! q 4. End systems find a default router: solicit for advt q 5. End nodes on the same LAN send directly to each other: Same network ID=> direct; nodeID gives LAN addr q 6. End systems find the best router for exit traffic: End node asks for best router before transmission. (weak!) q 7. End systems communicate on a router-less LAN: Same prefix => same LAN; nodeID = LAN addr; default prefix = 0 also works q IPX has the simplest server-less auto-configuration solution.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 11 CLNS Addressing: NSAP Format System IDNSELAFI Variable length Area address 6 bytes1 byte bytes q NSAP format has 3 main components q Area ID: globally defined locator q System ID: maps to IEEE 802 LAN address usually q N-Selector (NSEL): like UDP ports q Variable length with 20-byte maximum q Pkt format needs an address length field! Area IDID NSEL

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 12 Address Structure: CLNP… q Between areas, Level 2 routing operates. Many levels of hierarchy possible, just like IP-CIDR. q Longest prefix match like IP q Area larger than single link, all nodes in the area share the same area prefix. q Within an area, cannot tell which link (subnet) a node is on, because address is a node-address q Advantage: a node can move within area and retain address q I.e., no hierarchy in ID field => flat, no topological significance q Originally ID: 6 bytes, maps to IEEE address like IPX. But ISO allows this to be variable length too (0-8 bytes) q Level 1 routing operates here based upon exact match q Bridging in IP provides similar function to level 1 routing q Unlike IP cannot use netID or prefix match to decide if destination directly connected => need ES-IS protocol q Can do cool things like embedding X.25 DTE addresses in area part, and inferring phone-numbers from CLNP addreses!

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 13 CLNP Auto-configuration: ES-IS Protocol q 1,4. End-node acquire L3 address, and find default router by listening/querying for an hello from routers (IS-Hello). q Address = area prefix from router + IEEE address q 2,3. Router finds end-node’s L3 & L2 address by having end-nodes advertise a ES-hello as part of ES-IS. q Unlike IP it cannot look at area-ID and assume direct connectivity q 5,6. End-nodes cannot figure out if they are directly connected. q So routers send a redirect after forwarding first packet. q Redirects are also used to get best exit router. q Router, Destination, Neighbor caches like IPv6 q 7. Routerless LAN: if no router, data packet (not a special ARP-like message) is multicast. q Destination replies with LAN address.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 14 Address structure: Appletalk q Address: 3 bytes long: 2 bytes net ID, 1 byte host q LAN can have a range of net IDs q Similar to subnet mask, but more flexible. Ranges can start and end on any number, not a power of 2 q Direct connectivity: Don’t do AND operation with mask => check if address in range q Hosts snoop on received packets to learn best exit router for destinations: no redirects. q Appletalk does no fragmentation/reassembly Network Host 2 bytes 1 Byte Fixed boundary!

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 15 Appletalk Auto-configuration q 1. End-node acquires L3 address: q Discover router and netID range by snooping for RIP-like messages or by broadcasting a query for one. q Host ID: Randomly choose an address in range! (cool!) q Send message to address hoping not to get a reply! q 2. Router finds L3 address of end-node: same net-ID q 3. Router finds L2 address of end-node: ARP q 4. End-nodes find router: solicit/listen for router traffic q 5. End-nodes send directly to each other: in range => direct q 6. Best router discovery: snoop on received traffic q 7. Router-less LAN: same range => direct. Else default range. q Miscl: Zone concept to limit name resolution broadcasts q Routers on LAN learn range from seed router in LAN q Cutest solution to auto-configuration, and done with short address space!

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 16 DECnet Phase IV q Was meant as a transition protocol, but CLNP delayed q 2-byte addresses: 6-bits area, 10-bits node q Shortest L3 address among all L3 protocols seen… q Bold auto-configuration hack: q Directly compute 6-byte IEEE address from 2-byte DECnet address!! q DEC OUI + 0-byte = AA (aka HIORD) q Program ethernet chips to ignore hardware address and listen to HIORD+DECnet address instead!! q Like CLNP, address refers to node (not I/f) within area q Intra-LAN bit in header to inform receivers of direct connectivity q Else one hop through router even for direct case

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 17 DECnet auto-configuration q 1. End nodes get L3 address: manually configured (ugh!) q 2. Router finds L3 address of end-node: ES-hellos like in CLNP q 3. Router finds L2 address of end-node: HIORD+L3 address! Bold! q 4. End-nodes find a router: router (IS) hellos like CLNP q 5. End-nodes send directly: intra-LAN bit in rcvd packets q 6. Best-exit router: Learn from rcvd traffic like Appletalk q 7. Router-less LAN: No problem! HIORD + L3 address! q Bold solution, with smallest address size. q Penalty: end-nodes need manual configuration.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 18 Comparison of Address Formats Boundary depends on mask IP 2 bytes total 6 bits area 10 bits node IPX DECnet Ph IV Appletalk CLNP IPv6

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 19 (Auto-) configuration Techniques q Manually configure hosts and routers {DECnet} q Manually configure routers only {IP, IPv6, IPX, Appletalk (seed router), CLNP} q DHCP server {IP, IPv6 (optional)} q ARP {IP, Appletalk} q IEEE address embedded in host-ID {IPX,CLNP,IPv6 (EUI)} q LAN addr = HIORD + L3 addr {DECnet} q ES-Hellos and IS-Hellos {CLNP, DECnet} q Snoop on RIP traffic for router info {Appletalk, IPX} q Best-exit inferred from rcvd traffic {DECnet, Appletalk} q Redirects for best-router only (IP, IPv6, IPX) q Redirects for best-router and direct end-node (CLNP) q Intra-LAN flag for direct end-node (DECnet)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 20 Packet Formats IPIPv6 Similarity: Same core methods

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 21 Packet Formats CLNP DECnet, Phase IV Similarity: Address refers to node

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 22 Packet Formats (Contd) IPX, IPX+ Appletalk Similarity: Address = interface Cool auto-configuration

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 23 Header Design Issues q Non-adjacent address components (IPX, IPX+, Appletalk) q TTL: q time (CLNP) vs hop count (IP, IPv6) q Counts up (IPX,vs counts down (IP, CLNP) q UDP-like port space in L3 header vs L4 header q Small diffs in fragmentation/reassembly (IP, IPv6, CLNP) q Don’t care about fragmentation/reassembly (Appletalk, DECnet) q ICMP functions requested (CLNP, DECnet) q ICMP separate protocol (IP, IPv6) q No error reporting (IPX, Appletalk) q Fixed vs Variable length header/fields q Header checksum (CLNP different algorithm)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 24 Summary q Addressing and auto-configuration are primary differences in connectionless protocols q Minor differences in other aspects of header design and forwarding-plane operation