Multiple Encapsulation Methods

Slides:



Advertisements
Similar presentations
ARP AND RARP ROUTED AND ROUTING Tyler Bish. ARP There are a variety of ways that devices can determine the MAC addresses they need to add to the encapsulated.
Advertisements

1 ICS 156: Lecture 2 (part 2) Data link layer protocols Address resolution protocol Notes on lab 2.
Neighbor Discovery for IPv6 Mangesh Kaushikkar. Overview Introduction Terminology Protocol Overview Message Formats Conceptual Model of a Host.
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
2: Comparing IPv4 and IPv6 Rick Graziani Cabrillo College
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
Multiple Encapsulation Methods Draft-iab-link-encaps-05.txt Bernard Aboba IETF 67 San Diego, CA.
ISO/OSI Model Layers Application: applications that use the network. This is were mail, browsers, ftp, etc reside Presentation: data formats, character.
 As defined in RFC 826 ARP consists of the following messages ■ ARP Request ■ ARP Reply.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
IP Address 0 network host 10 network host 110 networkhost 1110 multicast address A B C D class to to
Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 1.
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,
1 Computer Communication & Networks Lecture 20 Network Layer: IP and Address Mapping (contd.) Waleed.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 15 Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv6.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
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.
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.
Chapter 81 Internet Protocol (IP) Our greatest glory is not in never failing, but in rising up every time we fail. - Ralph Waldo Emerson.
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.
Media Access Control (MAC) addresses in the network access layer ▫ Associated w/ network interface card (NIC) ▫ 48 bits or 64 bits IP addresses for the.
Chapter 7 ARP and RARP.
BAI513 - PROTOCOLS ARP BAIST – Network Management.
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.
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.
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 28-Sep-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI network layer CCNA Exploration Semester 1 Chapter 5.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI network layer CCNA Exploration Semester 1 – Chapter 5.
Computer Communication & Networks
LESSON Networking Fundamentals Understand IPv4.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Introduction to Networks v6.0
IP: Addressing, ARP, Routing
MAC Address Tables on Connected Switches
Chapter 21 Address Mapping
Instructor Materials Chapter 5: Ethernet
Scaling the Network: The Internet Protocol
Chapter 8 ARP(Address Resolution Protocol)
Objective: ARP.
Ct1403 Lecture#2: DATA LINK LAYER
The Open System Interconnection (OSI) Model & Network Protocols.
Net 323: NETWORK Protocols
Extending IP to Low-Power, Wireless Personal Area Networks
IP - The Internet Protocol
ARP: Address Resolution Protocol
Guide to TCP/IP, Third Edition
Chapter 7 ARP and RARP Prof. Choong Seon HONG.
IP - The Internet Protocol
Protocol layering and data
1 ADDRESS RESOLUTION PROTOCOL (ARP) & REVERSE ADDRESS RESOLUTION PROTOCOL ( RARP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University,
ARP: Address Resolution Protocol
IP - The Internet Protocol
Building A Network: Cost Effective Resource Sharing
Scaling the Network: The Internet Protocol
Ch 17 - Binding Protocol Addresses
Protocol layering and data
Computer Networks ARP and RARP
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 Trailer Encapsulation: RFC 893

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 802.3 and Ethernet have different MTUs! IEEE 802.3 MTU is 1492 (1518 – 18 (MAC header + FCS) – 8 (LLC + SNAP header), not including IP headers)

EtherTypes http://standards.ieee.org/regauth/ethertype/eth.txt http://www.iana.org/assignments/ethernet-numbers EtherType Protocol 0x0000 - 0x05DC IEEE 802.3 Length Field 0x0600 Xerox NS 0x0800 Internet Protocol, Version 4 (IPv4) 0x0806 Address Resolution Protocol (ARP) 0x1000 Berkeley Trailer Negotiation 0x1001-100F Berkeley Trailer encaps/IP 0x8035 Reverse Address Resolution Protocol (RARP) 0x809b AppleTalk (Ethertalk) 0x80f3 AppleTalk Address Resolution Protocol (AARP) 0x8100 IEEE 802.1Q-tagged frame 0x8137 Novell IPX (alt) 0x8138 Novell 0x86DD Internet Protocol, Version 6 (IPv6) 0x876B RFC 1144 TCP/IP Compression 0x8847 MPLS unicast 0x8848 MPLS multicast 0x8863 PPPoE Discovery Stage 0x8864 PPPoE Session Stage 0x88A2 ATA over Ethernet 0xFFFF Reserved

Implications of Mixed Environments (From RFC 1042) A host can potentially receive both Ethernet and IEEE 802.3 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 802.3 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.

Comparison of 1042 & 1122 Send & Receiving Format discovery 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! Trailer negotiation 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.”

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 Interoperability 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?