Multiple Encapsulation Methods Draft-iab-link-encaps-05.txt Bernard Aboba IETF 67 San Diego, CA.

Slides:



Advertisements
Similar presentations
Transmission of IP Packets over Ethernet over IEEE draft-riegel-16ng-ip-over-eth-over Max Riegel
Advertisements

1 ICS 156: Lecture 2 (part 2) Data link layer protocols Address resolution protocol Notes on lab 2.
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
ARP: Address Resolution Protocol
Understanding IPv6 Slide: 1 Appendix A Link-Layer Support for IPv6.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Ethernet Introduction to Networks.
ISO/OSI Model Layers Application: applications that use the network. This is were mail, browsers, ftp, etc reside Presentation: data formats, character.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
Semester 4 - Chapter 4 – PPP WAN connections are controlled by protocols In a LAN environment, in order to move data between any two nodes or routers two.
IP Address 0 network host 10 network host 110 networkhost 1110 multicast address A B C D class to to
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Ethernet, ARP.
CMPT 471 Networking II Address Resolution IPv6 Neighbor Discovery 1© Janice Regan, 2012.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Protocol Headers Pre DA SA 0800h … version H L 6 TCP Header Data FCS
TCP/IP Networking sections 13.2,3,4,5 Road map: TCP, provide connection-oriented service IP, route data packets from one machine to another (RFC 791) ICMP,
Chapter 4: Managing LAN Traffic
Chapter 5 outline 5.1 Introduction and services
1 Computer Communication & Networks Lecture 20 Network Layer: IP and Address Mapping (contd.) Waleed.
11-01-K.Steenhaut & J.Tiberghien - VUB 1 Telecommunications Concepts Chapter 4.2 IPv4 and Other Networks.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
Cisco 1 - Networking Basics Perrine. J Page 19/17/2015 Chapter 9 What transport layer protocol does TFTP use? 1.TCP 2.IP 3.UDP 4.CFTP.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 15 Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv6.
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.
資 管 Lee Appendix A1 Link-Layer Support for IPv6. 資 管 Lee Lesson Objectives Basic structure of IPv6 packets LAN media WAN media IPv6 over IPv4.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Ethernet Introduction to Networks.
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.
Connecting The Network Layer to Data Link Layer. ARP in the IP Layer The Address Resolution Protocol (ARP) The Address Resolution Protocol (ARP) Part.
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
Hyung-Min Lee ©Networking Lab., 2001 Chapter 8 ARP and RARP.
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Ethernet Network Fundamentals – Chapter 9.
Chapter 1 - Local Area Network Technologies. How IP Datagrams are Encapsulated IP datagrams are found at the OSI Network layer IP datagrams are sent to.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Chapter 7 ARP and RARP.
CS 4396 Computer Networks Lab
BAI513 - PROTOCOLS ARP BAIST – Network Management.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 8 Address Resolution Protocol.
1 Kyung Hee University Chapter 8 ARP(Address Resolution Protocol)
Copyright Kenneth M. Chipps Ph.D. Ethernet Frame Format Last Update
Neighbor Discovery. IPv6 Terminology Additional subnets Router Host Neighbors Host Intra-subnet router Switch LAN segment Link Subnet Network.
1 12-Jan-16 OSI network layer CCNA Exploration Semester 1 Chapter 5.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
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 Internetworking: IP Packet Switching Reading: (except Implementation; pp )
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.
+ Lecture#2: Ethernet Asma ALOsaimi. + Objectives In this chapter, you will learn to: Describe the operation of the Ethernet sublayers. Identify the major.
ADDRESS MAPPING ADDRESS MAPPING The delivery of a packet to a host or a router requires two levels of addressing: logical and physical. We need to be able.
Address Resolution Protocol Yasir Jan 20 th March 2008 Future Internet.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Introduction to Networks v6.0
IP: Addressing, ARP, Routing
Chapter 21 Address Mapping
Instructor Materials Chapter 5: Ethernet
Chapter 8 ARP(Address Resolution Protocol)
Multiple Encapsulation Methods
ARP and RARP Objectives Chapter 7 Upon completion you will be able to:
Net 323: NETWORK Protocols
IP - The Internet Protocol
Guide to TCP/IP, Third Edition
Chapter 7 ARP and RARP Prof. Choong Seon HONG.
Protocol layering and data
1 ADDRESS RESOLUTION PROTOCOL (ARP) & REVERSE ADDRESS RESOLUTION PROTOCOL ( RARP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University,
IP - The Internet Protocol
Ch 17 - Binding Protocol Addresses
Protocol layering and data
IP - The Internet Protocol
Presentation transcript:

Multiple Encapsulation Methods Draft-iab-link-encaps-05.txt Bernard Aboba IETF 67 San Diego, CA

Outline History Questions for 16ng

History Ethernet vs. IEEE 802 Encapsulation –IPv4 over Ethernet: RFC 894 –IPv4 over IEEE 802: RFC 1042 Ethernet Trailer Encapsulation: RFC 893 PPP –IPCP: RFC 1332, IPv6CP: RFC 2472 –Bridging Control Protocol: RFC 3518 ATM –MPOA: RFC 1483 –Classical IP over ATM: RFC 1577

PPP Possible to negotiate both layer 3 (IPCP, IPv6CP) and layer 2 (BCP) encapsulations In practice, this rarely happens –Hosts rarely implement BCP –Bridges typically do not also negotiate IPCP/IPv6CP

Implications of Mixed Environments (From RFC 1042) A host can potentially receive both Ethernet and IEEE frames –If it does, it must keep track of which link protocol was used with each host and send using the right encapsulation. Link layer broadcasts will not reach all hosts, just those who can receive the encapsulation used in the broadcast. To enable hosts reading and sending only one encapsulation to communicate with each other, an IP gateway is recommended. The MTU of Ethernet (1500) is different from the IEEE MTU (1492).

Recommendations from RFC 1122 It is not useful or even possible for a dual-format host to discover automatically which format to send, because of the link-layer broadcast issue. Every host: –MUST be able to send and receive using RFC 894 encapsulation (Ethernet) –SHOULD be able to receive RFC 1042 (IEEE 802) packets intermixed with RFC 894 packets –MAY be able to send packets using RFC 1042 encapsulation A host that implements sending both RFC 894 and 1042 encapsulation MUST provide a configuration switch to select which is sent, and this switch MUST default to RFC 894.

What We Learn From History Multiple encapsulations should be avoided wherever possible –After effects of DIX vs. IEEE 802 are still with us today –Mitigating approaches are not completely satisfactory Automated discovery of link encapsulation is complex and inefficient –Best done at the link layer –Requires keeping state for each destination (not a shopstopper) –Results in higher bandwidth overhead and latency plus implementation complexity IP gateways are not a panacea –IP gateways need to support separate virtual interface for each encapsulation. –Separate prefixes needed for each encapsulation so that hosts can avoid keeping state.

Questions for 16ng Roaming –What if an MS supporting only Ethernet CS roams to a network supporting only IPv4 or IPv6 CS? Interoperability –What if the Mobile Station (MS) and Base Station (BS) CS negotiate more than one way to send a given packet? Example: Ethernet CS + IPv4 CS –What if MS and BS do not have any CSes in common?

Feedback?

Background

Ethernet Header The 7 byte Preamble and 1 byte Start Frame Delimiter are not shown. Data field is at least 46 bytes, to bring the minimum frame size to 64 bytes. Ethernet Jumbo frames can be as large ~9000 bytes 802.1Q adds an additional 4 bytes of header (2 for EtherType=0x8100, 2 for Tag Control Information). –With 1500 bytes of data this brings the total frame size to 1522.

IEEE 802 Header Data and FCS omitted for brevity How is IEEE 802 Length distinguished from Ethernet Type? –If the value of the field is less than or equal to 1500, then it indicates the Length in bytes of the subsequent MAC Client Data field (IEEE 802 encapsulation) –If the value of the field is greater than or equal to 1536, then it indicates the EtherType (Ethernet encapsulation). IEEE and Ethernet have different MTUs! –IEEE MTU is 1492 (1518 – 18 (MAC header + FCS) – 8 (LLC + SNAP header), not including IP headers)

EtherTypes EtherTypeProtocol 0x x05DCIEEE Length Field 0x0600Xerox NS 0x0800Internet Protocol, Version 4 (IPv4) 0x0806Address Resolution Protocol (ARP) 0x1000Berkeley Trailer Negotiation 0x FBerkeley Trailer encaps/IP 0x8035Reverse Address Resolution Protocol (RARP) 0x809bAppleTalk (Ethertalk) 0x80f3AppleTalk Address Resolution Protocol (AARP) 0x8100IEEE 802.1Q-tagged frame 0x8137Novell IPX (alt) 0x8138Novell 0x86DDInternet Protocol, Version 6 (IPv6) 0x876B RFC 1144 TCP/IP Compression 0x8847MPLS unicast 0x8848MPLS multicast 0x8863PPPoE Discovery Stage 0x8864PPPoE Session Stage 0x88A2ATA over Ethernet 0xFFFF Reserved

Comparison of 1042 & 1122 Send & Receiving –1024: It is assumed that most computers will read and send using only one protocol –1122: Sending and receiving RFC 894 a MUST implement –1122: Receiving RFC 1042 a SHOULD implement, sending a MAY implement –1122: RFC 894 a MUST use by default Format discovery –1024: a host receiving both 894 & 1024 must keep track and send using the right encapsulation –1122: Automatic discovery is not useful or even possible 1122 guarantees that a host can receive RFC 894, so no need to keep track or send using the right encapsulation

Trailer Encapsulation (RFC 893) Enabled to minimize memory-to-memory copy operations performed by a receiving host –Done by moving variable length headers (e.g. IP + TCP) after the data segment –Enables reception on a page aligned boundary Packets using trailers utilize a distinct EtherType [RFC893]. –Type is calculated as 0x1000 plus the number of 512-byte pages of data (maximum of 16 pages or 8192 bytes) Packet formulation –L2 header as normal –Data minus IP and TCP header always a multiple of 512 bytes –Trailer: Original Type (2) + Header Length (2) + IP and TCP headers –Frame Check Sequence

Negotiation Potential for four encapsulations! –IEEE 802 w or w/o trailers –Ethernet w or w/o trailers Trailer negotiation –ARP exchange completed using the IP protocol type –Host that wants to speak trailers will send an additional “trailer ARP reply” Receiver can add the host to the list of machines that understand trailers (e.g. marking the ARP cache entry). –Receiving host replies to “trailer ARP reply” with a “trailer ARP reply” 4.2 BSD implementation –Did not implement trailer negotiation –Configured trailers at boot time, assumed that all hosts either did or did not implement it.

RFC 1122 on Trailers “The trailer protocol for link-layer encapsulation MAY be used, but only when it has been verified that both systems (host or gateway) involved in the link-layer communication implement trailers. If the system does not dynamically negotiate use of the trailer protocol on a per-destination basis, the default configuration MUST disable the protocol.”