IEEE 802.2

IEEE 802.2

IEEE 802.2 is the IEEE 802 standard defining Logical Link Control (LLC), which is the upper portion of the data link layer of the OSI Model. The LLC sublayer presents a uniform interface to the user of the data link service, usually the network layer. Beneath the LLC sublayer is the Media Access Control (MAC) sublayer, which is dependent on the particular medium being used (Ethernet, token ring, FDDI, 802.11, etc.).

The IEEE standard adds this sublayer which adds the standard 8-bit DSAP (Destination Service Access Point) and SSAP (Source Service Access Point) labels to a given packet regardless of network type. There is also an 8 or 16 bit control field for use in auxiliary functions such as flow control. There is room for 64 globally assigned SAP numbers, and the IEEE does not assign them lightly. IP does not have an assigned SAP number, because only “international standards” could be given globally assigned SAP numbers. Protocols which are not international standards can use a SAP number from the locally administered SAP number space. The Subnetwork Access Protocol (SNAP) allows EtherType values to be used to specify the protocol being transported atop IEEE 802.2, and also allows vendors to define their own protocol value spaces.

Contents

Operational modes

IEEE 802.2 provides two connectionless and one connection-oriented operational modes:

  • Type 1 is an unacknowledged connectionless mode for a datagram service. It allows for sending frames
    • to a single destination (point-to-point or unicast transfer),
    • to multiple destinations on the same network (multicast),
    • or to all stations of the network (broadcast).

The use of multicasts and broadcasts reduce network traffic when the same information needs to be propagated to all stations of the network. However the Type 1 service provides no guarantees regarding the order of the received frames compared to the order in which they have been sent; the sender does not even get an acknowledgment that the frames have been received.

  • Type 2 is a connection-oriented operational mode. Sequence numbering ensures that the frames received are guaranteed to be in the order they have been sent, and no frames are lost.
  • Type 3 is an acknowledged connectionless service. It supports point-to-point communication only.

LLC header

The 802.2 header includes two eight-bit address fields, called service access points or SAPs in OSI terminology; they are the destination SAP (DSAP), and the source SAP (SSAP). The low-order bit of the DSAP indicates whether it contains an individual or a group address. If the low-order bit is 0, the remaining 7 bits of the DSAP specify an individual address, which refers to a single local service access point (LSAP) to which the packet should be delivered. If the low-order bit is 1, the remaining 7 bits of the DSAP specify a group address, which refers to a group of LSAPs to which the packet should be delivered. The low-order bit of the SSAP indicates whether the packet is a command or response packet; if it's 0, the packet is a command packet, and if it's 1, the packet is a response packet. The remaining 7 bits of the SSAP specify the LSAP from which the packet was transmitted.

Some protocols, or families of protocols, have one or more SAPs assigned to them; for example, IPv4 has a SAP value of hex 06. Those protocols operate directly on top of 802.2 LLC, which provides both datagram and connection-oriented network services.

The Subnetwork Access Protocol (SNAP) can be used with IEEE 802.2; it allows EtherType values to be used with all IEEE 802 protocols, as well as supporting private protocol ID spaces. When both the DSAP and the SSAP are set to the hexadecimal value 0xAA (or 0xAB, if the low-order bit of the field is set), the SNAP service is requested.

Most IEEE 802 protocols, as well as FDDI, always use 802.2. IEEE 802.3 is an exception; Ethernet originally used Ethernet II framing, with a 2-octet type field containing an EtherType value, and no 802.2 header, but the original IEEE 802.3 specification used a framing wherein the 2-octet field following the 6-octet destination and source MAC addresses contained a frame length, with an 802.2 LLC header following the length field. In IEEE 802.3x-1997, the IEEE Ethernet standard was changed to explicitly allow the use of the 16-bit field after the MAC addresses to be used as a length field or a type field.

There exists an Internet standard, RFC 1042, for encapsulating IP version 4 traffic in IEEE 802.2 frames with LLC/SNAP headers. It is almost never implemented on Ethernet[citation needed], although it is used on FDDI and on token ring, IEEE 802.11, and other IEEE 802 networks.

IP traffic can not be encapsulated in IEEE 802.2 LLC frames without SNAP because, although there is an LLC protocol type for IP, there is no LLC protocol type for ARP.[citation needed] IP Version 6 can also be transmitted over Ethernet using IEEE 802.2 with LLC/SNAP, but, again, that's almost never used (although LLC/SNAP encapsulation of IPv6 is used on IEEE 802 networks).

Following the destination and source SAP fields is a control field. IEEE 802.2 was conceptually derived from HDLC, and has the same three types of PDUs:

  • Unnumbered format PDUs, or U-format PDUs, with an 8-bit control field, which are intended for connectionless applications;
  • Information transfer format PDUs, or I-format PDUs, with a 16-bit control and sequence numbering field, which are intended to be used in connection-oriented applications;
  • Supervisory format PDUs, or S-format PDUs, with a 16-bit control field, which are intended to be used for supervisory functions at the LLC (Logical Link Control) layer.

Of these three formats, only the U-format is commonly used. The format of a PDU frame is identified by the lower two bits of the first byte of the control field.

References

External links

This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • IEEE 802.11 — is a set of standards for wireless local area network (WLAN) computer communication, developed by the IEEE LAN/MAN Standards Committee (IEEE 802) in the 5 GHz and 2.4 GHz public spectrum bands.General descriptionThe 802.11 family includes over… …   Wikipedia

  • IEEE 802.11 — (auch: Wireless LAN (WLAN), Wi Fi) bezeichnet eine IEEE Norm für Kommunikation in Funknetzwerken. Herausgeber ist das Institute of Electrical and Electronics Engineers (IEEE). Die erste Version des Standards wurde 1997 verabschiedet. Sie… …   Deutsch Wikipedia

  • IEEE 802.3 — est une norme pour les réseaux informatiques édictée par l Institute of Electrical and Electronics Engineers (IEEE). Cette norme est généralement connue sous le nom d Ethernet. C est aussi un sous comité du comité IEEE 802 comprenant plusieurs… …   Wikipédia en Français

  • Ieee 802 — est un comité de l IEEE qui décrit une famille de normes relatives aux réseaux locaux (LAN) et métropolitains (MAN) basés sur la transmission de données numériques par le biais de liaisons filaires ou sans fil. Plus spécifiquement, les normes… …   Wikipédia en Français

  • Ieee 802.3 — est une norme pour les réseaux informatiques édictée par l Institute of Electrical and Electronics Engineers (IEEE). Cette norme est généralement connue sous le nom d Ethernet. C est aussi un sous comité du comité IEEE 802 comprenant plusieurs… …   Wikipédia en Français

  • IEEE 802 — группа стандартов семейства IEEE, касающихся локальных вычислительных сетей (LAN) и сетей мегаполисов (MAN). В частности, стандарты IEEE 802 ограничены сетями с пакетами переменной длины. Число 802 являлось следующим свободным номером для… …   Википедия

  • IEEE 802.15 — is the 15th working group of the IEEE 802 which specializes in Wireless PAN (Personal Area Network) standards. It includes six task groups (numbered from 1 to 6):Task group 1 (WPAN/Bluetooth)IEEE 802.15.1 2002 has derived a Wireless Personal Area …   Wikipedia

  • IEEE 802 — est un comité de l IEEE qui décrit une famille de normes relatives aux réseaux locaux (LAN) et métropolitains (MAN) basés sur la transmission de données numériques par le biais de liaisons filaires ou sans fil. Plus spécifiquement, les normes… …   Wikipédia en Français

  • IEEE 802 — refers to a family of IEEE standards dealing with local area networks and metropolitan area networks.More specifically, the IEEE 802 standards are restricted to networks carrying variable size packets. (By contrast, in cell based networks data is …   Wikipedia

  • IEEE 802.15.4a — (formally called IEEE 802.15.4a 2007) is an amendment to IEEE 802.15.4 (formally called IEEE 802.15.4 20060 specifying that additional physical layers (PHYs) be added to the original standard.OverviewIEEE 802.15.4 2006 specified four different… …   Wikipedia

  • Ieee 802.11 — Exemple d équipement fabriqué sur les recommandations de la norme IEEE 802.11. Ici, un routeur avec switch 4 ports intégré de la marque Linksys. IEEE 802.11 est un terme qui désigne un ensemble de normes concernant les réseaux sans fil qui ont… …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”