Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
IEEE 802.2
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|IEEE standard}} '''IEEE 802.2''' is the original name of the '''ISO/IEC 8802-2''' [[technical standard|standard]] which defines [[logical link control]] (LLC) as the upper portion of the [[data link layer]] of the [[OSI Model]].<ref>{{Cite book | title = IEEE Standard for Information technology—Telecommunications and information exchange between systems—Local and metropolitan area networks—Specific requirements | volume = Part 2: Logical Link Control | isbn = 1-55937-959-6 | publisher = The Institute of Electrical and Electronics Engineers | place = New York | date = May 7, 2008}}</ref> The original standard developed by the [[Institute of Electrical and Electronics Engineers]] (IEEE) in collaboration with the [[American National Standards Institute]] (ANSI) was adopted by the [[International Organization for Standardization]] (ISO) in 1998, but it remains an integral part of the family of [[IEEE 802]] standards for [[Local area network|local]] and [[Metropolitan area network|metropolitan]] networks. LLC is a software component that provides a uniform interface to the user of the data link service, usually the [[network layer]]. LLC may offer three types of services: * unacknowledged [[connectionless communication|connectionless mode]] services (mandatory); * [[connection-oriented communication|connection mode]] services (optional); * acknowledged [[connectionless communication|connectionless mode]] services (optional). The LLC uses the services of the [[media access control]] (MAC), which is dependent on the specific transmission medium ([[Ethernet]], [[Token Ring]], [[Fiber Distributed Data Interface|FDDI]], [[802.11]], etc.). Using LLC is compulsory for all [[IEEE 802]] networks with the exception of [[Ethernet]]. It is also used in [[Fiber Distributed Data Interface]] (FDDI) which is not part of the [[IEEE 802]] family. The IEEE 802.2 sublayer adds some control information to the message created by the upper layer and passed to the LLC for transmission to another node on the same data link. The resulting packet is generally referred to as ''LLC [[protocol data unit]] (PDU)'' and the additional information added by the LLC sublayer is the ''LLC HEADER''. The LLC Header consist of ''DSAP'' (''Destination [[Service Access Point]]''), ''SSAP'' (''Source [[Service Access Point]]'') and the ''Control'' field. The two 8-bit fields DSAP and SSAP allow multiplexing of various upper layer protocols above LLC. However, many protocols use the [[Subnetwork Access Protocol]] (SNAP) extension which allows using [[EtherType]] values to specify the protocol being transported atop IEEE 802.2. It also allows vendors to define their own protocol value spaces. The 8 or 16 bit [[HDLC]]-style Control field serves to distinguish communication mode, to specify a specific operation and to facilitate connection control and [[flow control (data)|flow control]] (in connection mode) or [[acknowledgement (data networks)|acknowledgements]] (in acknowledged connectionless mode). ==Operational modes== IEEE 802.2 provides two [[connectionless mode transmission|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 (network topology)|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 reduces 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 mode transmission|connectionless]] service. It supports point-to-point communication only. Each device conforming to the IEEE 802.2 standard must support service type 1. Each network node is assigned an '''LLC Class''' according to which service types it supports: {| class="wikitable" !rowspan="2"| LLC<br/>Class !colspan="3"| Supported Service Types |- !style="text-align:center;"| 1 !style="text-align:center;"| 2 !style="text-align:center;"| 3 |- |style="text-align:center;"| I |style="text-align:center;"| X || || |- |style="text-align:center;"| II |style="text-align:center;"| X |style="text-align:center;"| X || |- |style="text-align:center;"| III |style="text-align:center;"| X || |style="text-align:center;"| X |- |style="text-align:center;"| IV |style="text-align:center;"| X |style="text-align:center;"| X |style="text-align:center;"| X |} ==LLC header== Any 802.2 LLC PDU has the following format: {| class="wikitable" |- !colspan="3"|802.2 LLC Header !rowspan="2"|Information |- !DSAP address !SSAP address !Control |- |8 bits |8 bits |8 or 16 bits |multiple of 8 bits |} When [[Subnetwork Access Protocol]] (SNAP) extension is used, it is located at the start of the Information field: {| class="wikitable" !colspan="3"|802.2 LLC Header !colspan="2"|SNAP extension !rowspan="2"|Upper layer data |- !DSAP !SSAP !Control !OUI !Protocol ID |- |8 bits |8 bits |8 or 16 bits |24 bits |style="text-align:center;"|16 bits |multiple of 8 bits |} The 802.2 header includes two eight-bit address fields, called '''[[service access point]]s''' (SAP) or collectively LSAP in the OSI terminology: *SSAP (Source SAP) is an 8-bit long field that represents the logical address of the network layer entity that has created the message. * DSAP (Destination SAP) is an 8-bit long field that represents the logical addresses of the network layer entity intended to receive the message. ===LSAP values=== Although the LSAP fields are 8 bits long, the low-order bit is reserved for special purposes, leaving only 128 values available for most purposes. 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. * If it's 1, the packet is a response packet. The remaining 7 bits of the SSAP specify the LSAP (always an individual address) from which the packet was transmitted. LSAP numbers are globally assigned by the IEEE to uniquely identify well established international standards. {| class="wikitable" |+ Individual LSAP addresses |- !colspan="2"| Value !rowspan="2"| Meaning |- ! Dec !! Hex |- | 0 || 00 || Null LSAP<ref name="rfc1700">{{cite IETF| title = Assigned Numbers | rfc = 1700 | sectionname = IEEE 802 NUMBERS OF INTEREST | page = 165 | last1 = Postel | first1 = J. | author-link1 = Jon Postel| last2 = Reynolds | first2 = J. | author-link2 = Joyce K. Reynolds | date = October 1994}}</ref><ref name= "LAN_tech">{{cite book | title = LAN Technologies Explained | surname1 = Miller | given1 = Philip | surname2 = Cummins | given2 = Michael | isbn = 1-55558-234-6 | publisher = Digital Press | year = 2000 | page = [https://archive.org/details/lantechnologiese0000mill/page/506 506] | url = https://archive.org/details/lantechnologiese0000mill/page/506 }}</ref> |- | 2 || 02 || Individual [[Logical link control|LLC Sublayer]] Mgt<ref name="rfc1700" /><ref name="LAN_tech" /> |- | 4 || 04 || [[Systems Network Architecture|SNA]] Path Control (individual)<ref name="rfc1700" /><ref name="LAN_tech" /> |- | 6 || 06 || Reserved for DoD [[Internet Protocol|IP]]<ref name="rfc1700" /> |- | 14 || 0E || ProWay-LAN<ref name="rfc1700" /><ref name="LAN_tech" /> |- | 24 || 18 || [[Texas Instruments]]<ref name="LAN_tech" /> |- | 66 || 42 || IEEE 802.1 Bridge Spanning Tree Protocol<ref name="LAN_tech" /> |- | 78 || 4E || EIA-RS 511<ref name="rfc1700" /><ref name="LAN_tech" /> |- | 94 || 5E || ISI IP<ref name="rfc1700" /> |- | 126 || 7E || ISO 8208 ([[X.25]] over IEEE 802.2 Type LLC)<ref name="LAN_tech" /> |- | 128 || 80 || Xerox Network Systems (XNS)<ref name="LAN_tech" /> |- | 130 || 82 || BACnet/Ethernet<ref>{{Citation | url = https://www.ashrae.org/resources--publications/bookstore/standard-135 | title = The BACnet Standard—Standard 135-2012 | publisher = Ashrae}}.</ref> |- | 134 || 86 || Nestar<ref name="LAN_tech" /> |- | 142 || 8E || ProWay-LAN (IEC 955)<ref name="rfc1700" /><ref name="LAN_tech" /> |- | 152 || 98 || ARPANET Address Resolution Protocol (ARP)<ref name="LAN_tech" /> |- | 166 || A6 || RDE (route determination entity) |- | 170 || AA || [[Subnetwork Access Protocol|SNAP]] Extension Used<ref name="rfc1700" /><ref name="LAN_tech" /> |- | 188 || BC || [[Banyan VINES]]<ref name="LAN_tech" /> |- | 224 || E0 || [[Novell NetWare]]<ref name="LAN_tech" /> |- | 240 || F0 || [[IBM]] [[NetBIOS]]<ref name="LAN_tech" /> |- | 244 || F4 || [[IBM]] LAN Management (individual)<ref name="LAN_tech" /> |- | 248 || F8 || [[IBM]] Remote Program Load (RPL)<ref name="LAN_tech" /> |- | 250 || FA || Ungermann-Bass<ref name="LAN_tech" /> |- | 254 || FE || OSI [[Connectionless-mode Network Service]]:<ref name="LAN_tech" /> CLNP,<ref>{{Citation | url = https://datatracker.ietf.org/doc/html/rfc994 | publisher = IETF | series = RFC | number = 994 | title = Final Text of DIS 8473, Protocol for Providing the Connectionless-mode Network Service}}.</ref> ISIS,<ref>{{Cite web|title=ISO/IEC 10589:2002|url=https://www.iso.org/cms/render/live/en/sites/isoorg/contents/data/standard/03/09/30932.html|access-date=2020-12-18|website=ISO|language=en}}</ref> ESIS<ref>{{Cite web|title=ISO 9542:1988|url=https://www.iso.org/cms/render/live/en/sites/isoorg/contents/data/standard/01/72/17285.html|access-date=2020-12-18|website=ISO|language=en}}</ref> |} {| class="wikitable" |+ Group DSAP addresses (not valid for SSAP) |- !colspan="2"| Value !rowspan="2"| Meaning |- ! Dec !! Hex |- | 3 || 03 || Group [[Logical link control|LLC Sublayer]] Mgt<ref name="rfc1700" /><ref name="LAN_tech" /> |- | 5 || 05 || [[Systems Network Architecture|SNA]] Path Control (group)<ref name="LAN_tech" /> |- | 245 || F5 || [[IBM]] LAN Management (group)<ref name="LAN_tech" /> |- | 255 || FF || Global DSAP (broadcast to all)<ref name="rfc1700" /><ref name="LAN_tech" /> |} The protocols or families of protocols which have assigned one or more SAPs may operate directly on top of 802.2 LLC. Other protocols may use the [[Subnetwork Access Protocol]] (SNAP) with IEEE 802.2 which is indicated by the hexadecimal value 0xAA (or 0xAB, if the source of a response) in SSAP and DSAP. The SNAP extension allows using [[EtherType]] values or private protocol ID spaces in all [[IEEE 802]] networks. It can be used both in datagram and in connection-oriented network services. [[Ethernet]] ([[IEEE 802.3]]) networks are an exception; the IEEE 802.3x-1997 standard explicitly allowed using of the [[Ethernet II framing]], where the 16-bit field after the MAC addresses does not carry the length of the frame followed by the IEEE 802.2 LLC header, but the [[EtherType]] value followed by the upper layer data. With this framing only datagram services are supported on the [[data link layer]]. === IPv4, IPX, and 802.2 LLC === Although [[IPv4]] has been assigned an LSAP value of 6 (0x06) and [[Address Resolution Protocol|ARP]] has been assigned an LSAP value of 152 (0x98), IPv4 is almost never directly encapsulated in 802.2 LLC frames without SNAP headers. Instead, the [[Internet standard]] RFC 1042 is usually used for encapsulating IPv4 traffic in 802.2 LLC frames with SNAP headers on [[Fiber Distributed Data Interface|FDDI]] and on [[IEEE 802]] networks other than [[Ethernet]]. Ethernet networks typically use [[Ethernet II]] framing with [[EtherType]] 0x800 for IP and 0x806 for ARP.<ref>{{Citation | title = LKML | date = 2011-07-27 | url = https://lkml.org/lkml/2011/7/27/169}}.</ref> The [[Internetwork Packet Exchange|IPX]] protocol used by Novell [[NetWare]] networks supports an additional [[Ethernet]] frame type, [[Ethernet frame#Novell raw IEEE 802.3|802.3 raw]], ultimately supporting four frame types on Ethernet (802.3 raw, [[Ethernet frame#IEEE 802.2 LLC|802.2 LLC]], [[Ethernet frame#IEEE 802.2 SNAP|802.2 SNAP]], and [[Ethernet frame#Ethernet II|Ethernet II]]) and two frame types on [[Fiber Distributed Data Interface|FDDI]] and other (non-Ethernet) IEEE 802 networks (802.2 LLC and 802.2 SNAP). It is possible to use diverse framings on a single network. It is possible to do it even for the same upper layer protocol, but in such a case the nodes using unlike framings cannot directly communicate with each other. ===Control Field=== Following the destination and source SAP fields is a [[HDLC#Control Field|control field]]. IEEE 802.2 was conceptually derived from [[HDLC]], and has the same three types of [[Protocol data unit|PDU]]s: * 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. To carry data in the most-often used unacknowledged connectionless mode the U-format is used. It is identified by the value '11' in lower two bits of the single-byte control field. ==References== {{Reflist}} ==External links== * {{Citation | url = http://standards.ieee.org/getieee802/802.2.html | archive-url = https://web.archive.org/web/20010708175552/http://standards.ieee.org/getieee802/802.2.html | url-status = dead | archive-date = July 8, 2001 | publisher = IEEE | title = 802.2 | edition = online}}. {{IEEE standards}} {{DEFAULTSORT:Ieee 802.2}} [[Category:IEEE 802|IEEE 802.02]] [[Category:Link protocols]] [[Category:Logical link control]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Citation
(
edit
)
Template:Cite IETF
(
edit
)
Template:Cite book
(
edit
)
Template:Cite web
(
edit
)
Template:IEEE standards
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)