Content deleted Content added
m {{wikify}}, Category:Network protocols |
Undid revision 1230187928 by WOSlinker (talk): Only the first instance should be linked, per MOS:DUPLINK. |
||
(85 intermediate revisions by 39 users not shown) | |||
Line 1:
{{No footnotes|date=July 2021}}
'''ATM Adaptation Layer 5''' ('''AAL5''') is an [[ATM adaptation layer]] used to send variable-length [[Packet (information technology)|packets]] up to 65,535 [[Octet (computing)|octets]] in size across an [[Asynchronous Transfer Mode]] (ATM) network.
Unlike most network frames that place control information in the header, AAL5 places control information in an 8-octet trailer at the end of the packet. The AAL5 trailer contains a 16-bit length field, a 32-bit cyclic redundancy check ''(CRC)'' used as a frame checksum, and two 8-bit fields labeled ''UU'' and ''CPI'' that are currently unused.▼
▲Unlike most network frames,
Each AAL5 packet must be divided into cells for transport across an ATM network, and then must be recombined to form a packet before being delivered to the receiving host. If the packet, including the 8-octet trailer, is an exact multiple of 48 octets, AAL5 allows the final cell to contain between 0 and 40 octets of data, followed by zero padding, followed by the 8-bit trailer. In other words, AAL5 places the trailer in the last 8 octets of the final cell, where it can be found and extracted without knowing the length of the packet.▼
▲Each AAL5 packet
==
When
By separating the functions of segmentation and reassembly from cell transport, AAL5 follows the
==Packet type and multiplexing==
The AAL5 trailer does not include a ''type'' field. Thus, an AAL5 frame does not identify its content. This means that either the two hosts at the ends of a virtual circuit must agree ''a priori'' that the circuit will be used for one specific [[protocol (computing)|protocol]] (e.g. the circuit will only be used to send IP datagrams), or the two hosts at the ends of a virtual circuit must agree ''a priori'' that some octets of the data area will be reserved for use as a type field to distinguish packets containing one protocol's data from packets containing another protocol's data.
{{IETF RFC|2684}}, [[Multiprotocol Encapsulation over ATM]], describes two encapsulation mechanisms for network traffic, one of which implements the former scheme and one of which implements the latter scheme.
The former scheme, in which the
We said that IP uses AAL5 to transfer datagrams across an ATM network. Before data can be sent, a virtual circuit (PVC or SVC) must be in place to the destination computer and both ends must agree to use AAL5 on the circuit. To transfer a datagram, the sender passes it to AAL5 along with the VPI/VCI identifying the circuit. AAL5 generates a trailer, divides the datagram into cells, and transfers the cells across the network. At the receiving end, AAL5 reassembles the cells, checks the CRC to verify that no bits were lost of corrupted, extracts the datagram, and passes it to IP.▼
The latter scheme, in which
RFC <nowiki/> 2684 specifies that hosts can choose between the two methods of using AAL5. Both the sender and receiver must agree on how the circuit will be used. The agreement may involve manual configuration.
==
▲
== References ==
* {{cite tech report |title=B-ISDN ATM Adaptation Layer specification: Type 5 AAL |url=http://www.itu.int/rec/dologin_pub.asp?lang=e&id=T-REC-I.363.5-199608-I!!PDF-E&type=items |format=PDF |institution=[[ITU-T]] |number=I.363.5 |date=August 1996 |access-date=2023-04-17 }}
▲The former scheme, in which the computers agree on the high-level protocol for a given circuit, has the advantage of not requiring additional information in a packet. For example, if the computers agree to transfer IP, a sender can pass each datagram directly to AAL5 to transfer, nothing needs to be sent besides the datagram and the AAL5 trailer. The chief disadvantage of such a scheme lies in duplication of virtual circuits: a computer must create a separate virtual circuit for each high-level protocol. Because most carriers charge for each virtual circuit, customers try to avoid using multiple circuits because it adds unncessary cost.
▲The latter scheme, in which two computers use a single virtual circuit for multiple protocols, has the advantage of allowing all traffic over the same circuit, but the disadvantage of requiring each packet to contain octets that identify the protocol type. The scheme also has the disadvantage that packets from all protocols travel with the same delay and priority.
[[Category:Asynchronous Transfer Mode]]
[[Category:Network protocols]]
|