IEEE 802.2
IEEE 802.2
Jump to navigation
Jump to search
IEEE 802.2 is the original name of the ISO/IEC 8802-2 standard which defines logical link control (LLC) as the upper portion of the data link layer of the OSI Model.[1] 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 still remains an integral part of the family of IEEE 802 standards for local and 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 mode services (mandatory)
Connection mode services (optional)- Acknowledged connectionless mode services (optional)
Conversely, the LLC uses the services of the media access control (MAC), which is dependent on the specific transmission medium (Ethernet, Token Ring, 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 to multiplex 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 (in connection mode) or acknowledgements (in acknowledged connectionless mode).
Contents
1 Operational modes
2 LLC header
2.1 LSAP values
2.2 IPv4, IPX, and 802.2 LLC
2.3 Control Field
3 References
4 External links
Operational modes[edit]
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.
Each device conforming 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:
LLC Class | Supported Service Types | ||
---|---|---|---|
1 | 2 | 3 | |
I | X | ||
II | X | X | |
III | X | X | |
IV | X | X | X |
LLC header[edit]
Any 802.2 LLC PDU has the following format:
802.2 LLC Header | 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:
802.2 LLC Header | SNAP extension | Upper layer data | |||
---|---|---|---|---|---|
DSAP | SSAP | Control | OUI | Protocol ID | |
8 bits | 8 bits | 8 or 16 bits | 24 bits | 16 bits | multiple of 8 bits |
The 802.2 header includes two eight-bit address fields, called service access points (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[edit]
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. and
- 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 (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.
Value | Meaning | |
---|---|---|
Dec | Hex | |
0 | 00 | Null LSAP[2][3] |
2 | 02 | Individual LLC Sublayer Mgt[2][3] |
4 | 04 | SNA Path Control (individual)[2][3] |
6 | 06 | Reserved for DoD IP[2] |
14 | 0E | ProWay-LAN[2][3] |
24 | 18 | Texas Instruments[3] |
66 | 42 | IEEE 802.1 Bridge Spanning Tree Protocol[3] |
78 | 4E | EIA-RS 511[2][3] |
94 | 5E | ISI IP[2] |
126 | 7E | ISO 8208 (X.25 over IEEE 802.2 Type LLC)[3] |
128 | 80 | Xerox Network Systems (XNS)[3] |
130 | 82 | BACnet/Ethernet[4] |
134 | 86 | Nestar[3] |
142 | 8E | ProWay-LAN (IEC 955)[2][3] |
152 | 98 | ARPANET Address Resolution Protocol (ARP)[3] |
166 | A6 | RDE (route determination entity) |
170 | AA | SNAP Extension Used[2][3] |
188 | BC | Banyan Vines[3] |
224 | E0 | Novell NetWare[3] |
240 | F0 | IBM NetBIOS[3] |
244 | F4 | IBM LAN Management (individual)[3] |
248 | F8 | IBM Remote Program Load (RPL)[3] |
250 | FA | Ungermann-Bass[3] |
254 | FE | OSI protocols ISO CLNS IS 8473[3][5] |
Value | Meaning | |
---|---|---|
Dec | Hex | |
3 | 03 | Group LLC Sublayer Mgt[2][3] |
5 | 05 | SNA Path Control (group)[3] |
245 | F5 | IBM LAN Management (group)[3] |
255 | FF | Global DSAP (broadcast to all)[2][3] |
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[edit]
Although IPv4 has been assigned an LSAP value of 6 (0x6) and 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 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.[6]
The IPX protocol used by Novell NetWare networks supports an additional Ethernet frame type, 802.3 raw, ultimately supporting four frame types on Ethernet (802.3 raw, 802.2 LLC, 802.2 SNAP, and Ethernet II) and two frame types on 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[edit]
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.
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[edit]
^ IEEE Standard for Information technology—Telecommunications and information exchange between systems—Local and metropolitan area networks—Specific requirements. Part 2: Logical Link Control. New York: The Institute of Electrical and Electronics Engineers. May 7, 2008. ISBN 1-55937-959-6..mw-parser-output cite.citation{font-style:inherit}.mw-parser-output q{quotes:"""""""'""'"}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-lock-limited a,.mw-parser-output .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}
^ abcdefghijk RFC-1700
^ abcdefghijklmnopqrstuvwx Miller, Philip; Cummins, Michael (2000). LAN Technologies Explained. Digital Press. p. 506. ISBN 1-55558-234-6.
^ The BACnet Standard—Standard 135-2012, Ashrae.
^ Final Text of DIS 8473, Protocol for Providing the Connectionless-mode Network Service, RFC (994), IETF.
^ LKML, 2011-07-27.
External links[edit]
802.2 (online ed.), IEEE.
This article is based on material taken from the Free On-line Dictionary of Computing prior to 1 November 2008 and incorporated under the "relicensing" terms of the GFDL, version 1.3 or later.
Categories:
- IEEE 802
- Link protocols
- Logical link control
(window.RLQ=window.RLQ||).push(function(){mw.config.set({"wgPageParseReport":{"limitreport":{"cputime":"0.244","walltime":"0.291","ppvisitednodes":{"value":696,"limit":1000000},"ppgeneratednodes":{"value":0,"limit":1500000},"postexpandincludesize":{"value":36169,"limit":2097152},"templateargumentsize":{"value":106,"limit":2097152},"expansiondepth":{"value":7,"limit":40},"expensivefunctioncount":{"value":0,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":19793,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 172.709 1 -total"," 83.73% 144.602 1 Template:Reflist"," 60.37% 104.263 2 Template:Cite_book"," 12.04% 20.789 1 Template:IEEE_standards"," 11.24% 19.414 4 Template:Citation"," 10.81% 18.674 2 Template:Navbox"," 1.62% 2.803 1 Template:Column-width"," 1.50% 2.599 1 Template:Main_other"," 1.45% 2.499 1 Template:FOLDOC"]},"scribunto":{"limitreport-timeusage":{"value":"0.085","limit":"10.000"},"limitreport-memusage":{"value":2524955,"limit":52428800}},"cachereport":{"origin":"mw1268","timestamp":"20181230115954","ttl":1900800,"transientcontent":false}}});});{"@context":"https://schema.org","@type":"Article","name":"IEEE 802.2","url":"https://en.wikipedia.org/wiki/IEEE_802.2","sameAs":"http://www.wikidata.org/entity/Q965758","mainEntity":"http://www.wikidata.org/entity/Q965758","author":{"@type":"Organization","name":"Contributors to Wikimedia projects"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https://www.wikimedia.org/static/images/wmf-hor-googpub.png"}},"datePublished":"2001-11-05T16:45:22Z","dateModified":"2018-11-13T14:23:55Z","headline":"IEEE standard"}(window.RLQ=window.RLQ||).push(function(){mw.config.set({"wgBackendResponseTime":127,"wgHostname":"mw1273"});});