Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
51
Добавлен:
11.04.2015
Размер:
22.9 Mб
Скачать

Appendix A

Link-Layer Support for IPv6

This appendix describes the link-layer encapsulation for Internet Protocol version 6 (IPv6) packets for common local area network (LAN) and wide area network (WAN) technologies and describes how IPv6 packets are encapsulated when sent across an IPv4 infrastructure.

Basic Structure of IPv6 Packets

On LAN and WAN media, IPv6 packets exist as link-layer frames. Figure A-1 shows the basic structure of IPv6 packets sent over LAN and WAN media.

Link Layer

IPv6

Payload

Link Layer

Header

Header

Trailer

 

 

 

 

 

IPv6 Packet

Link Layer Frame

Figure A-1 Basic structure of IPv6 packets sent on LAN and WAN media

The structure of IPv6 packets sent on LAN and WAN media consists of the following:

A link-layer header and trailer The encapsulation placed on the IPv6 packet at the link layer is composed of a link-layer header and trailer.

An IPv6 header This is the new IPv6 header. For more information, see Chapter 4, “The IPv6 Header.”

Payload The payload of the IPv6 packet includes zero or more IPv6 extension headers and the upper-layer protocol data unit (PDU). For more information, see Chapter 4.

LAN Media

To successfully troubleshoot IPv6 problems on a LAN, it is important to understand LAN encapsulations. Commonly used LAN technologies include Ethernet and IEEE 802.11. Older and less commonly used LAN technologies include Token Ring and Fiber Distributed Data Interface (FDDI). In some technologies (such as Ethernet), multiple encapsulations might exist. In each of these technologies, the IPv6 packet needs to be delimited, addressed, and identified as an IPv6 packet.

IPv6 in Windows Server 2008 and Windows Vista supports IPv6 packets over the following LAN media:

Ethernet (RFC 2464)

Token Ring (RFC 2470)

381

382Understanding IPv6, Second Edition

FDDI (RFC 2467)

IEEE 802.11

The IPv6 protocol for Windows Server 2008 and Windows Vista also supports the sending and receiving of IPv6 packets over any LAN interface that registers itself with the Network Device Interface Specification (NDIS) layer as an 802.3 media type. This media type includes Ethernet, phone line, power line, and other technologies.

Ethernet: Ethernet II

When sent over an Ethernet network, IPv6 packets use either Ethernet II or IEEE 802.3 SubNetwork Access Protocol (SNAP) encapsulation. IPv6 encapsulation for Ethernet links is described in RFC 2464. Figure A-2 shows Ethernet II encapsulation of IPv6 packets.

Preamble

 

Destination Address

 

Source Address

 

EtherType

= 0x86DD

IPv6 Packet

46–1,500 bytes

 

• • •

 

Frame Check Sequence

Figure A-2 Ethernet II encapsulation of IPv6 packets

The fields in the Ethernet header and trailer are the following:

Preamble The Preamble field is used to synchronize the receiver and indicate the start of the Ethernet frame. The size of this field is 64 bits.

Destination Address The Destination Address field contains the media access control (MAC) address of the destination Ethernet node. The size of this field is 48 bits.

Source Address The Source Address field contains the MAC address of the sending Ethernet node. The size of this field is 48 bits.

EtherType The EtherType field indicates the upper-layer protocol of the Ethernet payload. The size of this field is 16 bits. The EtherType field is set to 0x86DD for IPv6 packets. In contrast, the EtherType field is set to 0x800 for IPv4 packets.

Frame Check Sequence The value of this field is a checksum that is used to check for bit-level errors in the Ethernet frame. The checksum value is computed by the sending Ethernet node and verified by the receiving Ethernet node. The size of this field is

32 bits.

IPv6 packets sent using Ethernet II encapsulation have a maximum size of 1500 bytes and a minimum size of 46 bytes. IPv6 packets under 46 bytes in length are padded to

Appendix A Link-Layer Support for IPv6

383

46 bytes to preserve the Ethernet minimum frame size of 64 bytes (not including the Preamble field).

Network Monitor Capture

Here is an example of Ethernet II encapsulation as displayed by Network Monitor 3.1 (capture AppA_01 in the \NetworkMonitorCaptures folder on the companion CD-ROM):

Frame:

-Ethernet: Etype = IPv6

+DestinationAddress: 3333FF 52F9D8

+SourceAddress: 00B0D0234733 EthernetType: IPv6, 34525(0x86dd)

+Ipv6: Next Protocol = ICMPv6, Payload Length = 32

+Icmpv6: Multicast Listener Report

Notice that Network Monitor 3.1 does not display the Preamble and Frame Check Sequence fields.

Ethernet: IEEE 802.3 SNAP

The IEEE 802.3 SNAP encapsulation uses a SNAP header to encapsulate the IPv6 packet so that it can be sent on an IEEE 802.3-compliant network. IEEE 802.3 SNAP encapsulation consists of an IEEE 802.3 header, an IEEE 802.2 Logical Link Control (LLC) header, a SNAP header, and an IEEE 802.3 trailer. Figure A-3 shows Ethernet IEEE 802.3 SNAP encapsulation of IPv6 packets.

Preamble

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Start Delimiter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Destination Address

 

 

 

 

 

 

 

 

 

 

IEEE 802.3 Header

 

 

 

 

 

 

 

 

 

 

Source Address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Length

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DSAP

 

= 0xAA

 

 

 

 

 

 

 

 

 

 

 

SSAP

 

= 0xAA

 

 

 

 

IEEE 802.2 LLC Header

 

 

 

 

 

Control

 

= 0x3

 

 

 

 

 

 

 

 

 

 

 

Organization Code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

= 0x0

 

 

 

 

SNAP Header

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EtherType

 

 

= 0x86DD

 

 

 

 

 

IPv6 Packet

 

 

 

 

38–1,492 bytes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• • •

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Frame Check Sequence

 

 

 

 

 

 

 

 

 

 

IEEE 802.3 Trailer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure A-3 Ethernet IEEE 802.3 SNAP encapsulation of IPv6 packets

384 Understanding IPv6, Second Edition

The fields in the IEEE 802.3 SNAP encapsulation are the following:

Preamble The Preamble field is used to synchronize the receiver. The size of this field is 56 bits.

Start Delimiter The Start Delimiter field indicates the start of the Ethernet frame. The size of this field is 8 bits.

Destination Address The Destination Address field contains the MAC address of the destination Ethernet node. The size of this field is 48 bits.

Source Address The Source Address field contains the MAC address of the sending Ethernet node. The size of this field is 48 bits.

Length The Length field specifies the number of bytes in the IEEE 802.3 payload. This includes the IEEE 802.2 header and the SNAP header. The size of this field is 16 bits.

Destination Service Access Point (DSAP) The DSAP field indicates the upper-layer protocol of the payload for the destination. For SNAP-encapsulated payloads, the DSAP is set to the defined value of 0xAA. The size of this field is 8 bits.

Source Service Access Point (SSAP) The SSAP field indicates the upper-layer protocol of the payload for the sender. For SNAP-encapsulated payloads, the SSAP is set to the defined value of 0xAA. The size of this field is 8 bits.

Control For SNAP-encapsulated payloads, the Control field is set to the defined value of 0x3, indicating that the 802.2 frame is an unnumbered frame. The size of this field is 8 bits.

Organization Code The Organization Code field indicates the ID of the organization that defines the values in the 16-bit field that follows the Organization Code field. For SNAP encapsulation, the Organization Code field is set to 0, indicating the Internet Engineering Task Force (IETF), which administers the values of the EtherType field. The size of this field is 24 bits.

EtherType The EtherType field indicates the upper-layer protocol of the payload. The size of this field is 16 bits. The EtherType field is set to 0x86DD for IPv6 packets.

Frame Check Sequence The value of this field is a checksum that is used to check for bit-level errors in the Ethernet frame. The checksum value is computed by the sending Ethernet node and verified by the receiving Ethernet node. The size of this field is

32 bits.

IPv6 packets sent using an IEEE 802.3 SNAP frame have a maximum size of 1492 bytes and a minimum size of 38 bytes. IPv6 packets under 38 bytes in length are padded to 38 bytes to preserve the Ethernet minimum frame size of 64 bytes (not including the Preamble and Start Delimiter fields).

Соседние файлы в папке Lecture 2_10