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

Appendix A Link-Layer Support for IPv6

395

To identify the X.25 payload being encapsulated, X.25 packets use the Network Layer Protocol Identifier (NLPID) field. The size of this field is 8 bits. For IPv6 packets, the NLPID is set to 0x8E. For IPv4 packets, the NLPID is set to 0xCC.

IPv6 packets sent over X.25 links have a default MTU size of 1280 bytes, unless negotiated higher by the sender and receiver. Most X.25 networks have a maximum X.25 packet size of 256 or 512 bytes. In this case, X.25 fragmentation is used to send the 1280-byte IPv6 packets across the X.25 network.

Frame Relay

Frame Relay was originally conceived as a protocol for use over ISDN interfaces. Because Frame Relay could be applied outside the realm of ISDN, it was developed as an independent protocol. Frame Relay is a Data Link layer protocol that is much faster than X.25 because it is more streamlined and does not provide error correction and flow control.

Within the Frame Relay PDN, Frame Relay switching implements statistical multiplexing instead of time division multiplexing. With statistical multiplexing, circuits can be used from devices that are not currently using their allocated circuits. This makes real-time networks that are “bursty” in nature ideal candidates for Frame Relay.

The Local Management Interface (LMI) manages the link. LMI is responsible for establishing a link and monitoring PVCs. Because modern digital links are less susceptible to errors, Frame Relay employs only a checksum to detect a corrupted frame and does not include an error-correction mechanism. Frame Relay also relies on upper protocols for flow control over the link.

IPv6 packets sent over a Frame Relay network are encapsulated in a header and trailer that are also derived from the ISO HDLC protocol and have a similar structure to the PPP encapsulation. IPv6 packet behavior and encapsulation for Frame Relay links are described in RFCs 2491 and 2590. Figure A-10 shows Frame Relay encapsulation of IPv6 packets.

Flag = 0x7E

Address

Control = 0x3

NLPID = 0x8E

IPv6 Packet

• • •

Frame Check Sequence

Flag = 0x7E

Figure A-10 Frame Relay encapsulation of IPv6 packets

396 Understanding IPv6, Second Edition

The fields in the Frame Relay header and trailer are the following:

Flag The Flag field indicates the start and end of the Frame Relay frame and is fixed at 0x7E. The size of this field is 8 bits.

Address The Address field contains both the Data Link Connection Identifier (DLCI) that identifies the virtual circuit over which the frame is sent and congestion flags. Frame Relay standards allow for an Address field of variable size, but most implementations use a size of 16 bits.

Control The Control field is set to 0x3 to indicate a UI frame. The size of this field is 8 bits.

Frame Check Sequence The Frame Check Sequence (FCS) field stores a checksum value that is used to check for bit-level errors in the Frame Relay frame. The size of this field is 16 bits.

Like X.25, Frame Relay uses the NLPID field to identify the encapsulated payload. For IPv6 packets, the NLPID is set to 0x8E. For IPv4 packets, the NLPID is set to 0xCC.

MTUs for Frame Relay links vary according to the Frame Relay provider. As specified in RFC 2590, Frame Relay links have a maximum frame size of at least 1600 bytes. Therefore, the default IPv6 MTU for Frame Relay links that use a 16-bit Address field is 1592.

ATM: Null Encapsulation

ATM technology is based on the development of Broadband Integrated Services Digital Network (B-ISDN) for the high-speed transfer of voice, video, and data through PDNs. ATM is a connection-oriented nonguaranteed delivery service. ATM scales very well to LANs and WANs and can be used in a private network as well as a public data network.

ATM is different from Frame Relay in that, instead of sending messages that have frames of variable size, all messages are segmented and sent as equally sized cells. Each cell consists of a 5-byte header and a 48-byte payload. By making all messages the same size, switching is optimized and the need to buffer messages of varying sizes is eliminated. With these improvements, ATM is capable of reaching speeds from 64 kilobits per seconds (Kbps) to 76 gigabits per second (Gbps), depending upon the underlying physical layer.

Because it is an asynchronous mechanism, ATM differs from synchronous transfer mode methods, in which time-division multiplexing (TDM) techniques are employed to pre-assign devices to time slots. TDM is inefficient relative to ATM because with TDM the station can transmit only at a specified time, even though all the other time slots are empty. With ATM, a station can send cells whenever necessary.

Appendix A Link-Layer Support for IPv6

397

Relative to IPv6, ATM functions as a link layer. ATM itself has its own set of layers that define the following:

How ATM cells are sent over several different physical mediums, such as SONET and Digital Service (DS)-3.

How connections are established and cells are passed through the ATM network.

How the data of higher-level protocols, such as IPv4 and IPv6, are segmented and reassembled using 48-byte segments suitable for transmission over an ATM network. This layer is known as the ATM Adaptation layer.

IPv6 packets sent over an ATM network have an MTU of 9180 bytes and are encapsulated by using ATM Adaptation Layer 5 (AAL5). AAL5 encapsulation consists of an AAL5 trailer added to the end of the IPv6 packet. The resulting data block (called the AAL5 PDU) is then segmented into 48-byte segments that become the payloads for 53-byte ATM cells.

IPv6 encapsulation for ATM links is described in RFC 2492. Figure A-11 shows ATM null encapsulation of IPv6 packets.

IPv6 Packet

Up to 9,180 bytes

 

• • •

 

Padding User to User Indication Common Part Indicator Length of Payload Frame Check Sequence

0–47 bytes

• • •

AAL5 Trailer

Figure A-11 ATM null encapsulation of IPv6 packets

The fields in the AAL5 trailer are the following:

Padding The Padding field is added to the IPv6 packet so that the AAL5 PDU is an integral number of 48-byte segments. The size of this field varies from 0 to 47 bytes.

User to User Indication The User to User Indication field is used to transfer information between AAL5 nodes. The size of this field is 8 bits.

Common Part Indicator The Common Part Indicator field is used for alignment purposes so that the unpadded portion of the AAL5 trailer is on an 8-byte boundary. The size of this field is 8 bits.

Length of Payload The Length of Payload field specifies the length in bytes of the IPv6 packet so that the receiver can discard the Padding field. The size of this field is 16 bits.

Frame Check Sequence The Frame Check Sequence field stores a checksum value that is used to check for bit-level errors in the AAL5 PDU. The size of this field is 32 bits. AAL5 uses the same CRC-32 algorithm as 802.x networks such as Ethernet and Token Ring.

398 Understanding IPv6, Second Edition

Before being sent on the ATM network, the AAL5 PDU is segmented by the ATM Segmentation and Reassembly (SAR) sublayer into 48-byte units. These units become the ATM payloads for a stream of ATM cells. When the last 48-byte segment is sent, a bit in the Payload Type field of the ATM header is set to 1 to indicate the last cell in the AAL5 PDU.

When the last cell is received, the receiver uses the Frame Check Sequence field to check the validity of the bits in the AAL5 PDU. The receiver then uses the Length of Payload field to discard any padding. The AAL5 trailer is stripped, and the originally transmitted IPv6 packet is then passed to the IPv6 protocol for processing. If a single ATM cell for the AAL5 PDU is dropped from the network, the entire IPv6 packet must be resent.

ATM: SNAP Encapsulation

The ATM null encapsulation can be used when only the IPv6 protocol is operating over a given ATM virtual circuit. Multiple protocols operating over the same ATM virtual circuit require a protocol identifier so that the receiver can determine the protocol being sent and pass the resulting data to the appropriate protocol parsing or routing routine. This capability is especially important for multiprotocol routers.

To add a protocol identifier to the AAL5 PDU, an IEEE 802.x SNAP header is added. It contains the EtherType (set to 0x86DD) that identifies the payload as an IPv6 packet. As part of the virtual channel connection (VCC) negotiation process between two ATM endpoints, an agreement is reached on whether a single protocol is to be used (in which case the SNAP header is not required) or multiple protocols are to be used (in which case a SNAP header is required).

Figure A-12 shows ATM SNAP encapsulation of IPv6 packets.

DSAP

 

 

= 0xAA

 

 

 

 

IEEE 802.2 LLC Header

 

 

 

 

 

SSAP

 

 

= 0xAA

 

 

 

 

 

 

 

 

 

Control

 

= 0x3

 

 

 

 

 

 

 

 

 

 

 

Organization Code

 

 

 

 

 

 

 

 

 

 

 

= 0x0

 

 

 

 

 

EtherType

 

 

 

 

 

 

 

 

SNAP Header

 

 

 

= 0x86DD

 

 

 

 

 

IPv6 Packet

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Up to 9,180 bytes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

• • •

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Padding

 

 

 

 

• • •

0–47 bytes

 

 

 

 

 

 

 

User to User Indication

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Common Part Indicator

 

 

 

 

 

 

 

 

 

AAL5 Trailer

 

 

 

 

 

 

 

 

Length of Payload

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Frame Check Sequence

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure A-12 ATM SNAP encapsulation of IPv6 packets

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