Content deleted Content added
more specific link |
→Use: {{Ref RFC}} |
||
(23 intermediate revisions by 17 users not shown) | |||
Line 1:
{{refimprove|date=January 2018}}
The '''Subnetwork Access Protocol''' ('''SNAP''') is a mechanism for multiplexing, on networks using [[IEEE 802.2 LLC]], more protocols than can be distinguished by the
The SNAP and [[IEEE 802.2#
==Background==
The
The most common reference to SAP, including a Source Service Access Point (SSAP) and a Destination Service Access Point (DSAP) refers to the boundary between the Data Link Layer and the Network Layer. It is common to think of SAP only in terms of its use at Layer 2, specifically in its [[Logical Link Control]] (LLC) sub-layer as defined in the IEEE 802.2 standards. Link Service Access Point (LSAP) includes both Destination Service Access Point (DSAP) and Source Service Access Point (SSAP). It enables a MAC station to communicate with upper layers via different protocols.<br />
Standard Network layer protocols have been assigned reserved LLC addresses, as recorded in ISO/IEC TR 11802-1. One half of the LLC address space is reserved for such assignment. Other protocols are accommodated in two ways. One way is by local assignment of LSAPs, for which the other half of the LLC address space is available.
The second way is
==Use==
The SNAP is an extension of the 802.2 LLC specified in the IEEE 802 Overview and Architecture document.<ref>{{citation |url=http://standards.ieee.org/about/get/802/802.html |archive-url=https://web.archive.org/web/20101129155708/http://standards.ieee.org/about/get/802/802.html |url-status=dead |archive-date=November 29, 2010 |title=IEEE 802 Overview and Architecture |publisher=[[IEEE]] |accessdate=2014-08-02}}</ref> The 5-octet SNAP header follows the 802.2 LLC header if the destination SAP (DSAP) and the source SAP (SSAP) contain hexadecimal values of AA or AB:
{| class="wikitable"
Line 33:
|}
The SNAP header consists of a 3-octet [[IEEE]] [[organizationally unique identifier]] (OUI) followed by a 2-octet protocol ID.
SNAP is usually used with [[IEEE 802.2#Control_Field|Unnumbered Information]] 802.2 [[protocol data unit]]s (PDUs), with a control field value of 3, and the LSAP values are usually hexadecimal AA, so the 802.2 LLC header for a SNAP packet is usually AA AA 03; however, SNAP can be used with other PDU types as well.
Line 39:
On [[Ethernet]], the 8 octets occupied by the LLC and SNAP headers reduce the size of the available payload for protocols such as the [[Internet Protocol]] to 1492 bytes, compared to the use of the [[Ethernet II framing]]; therefore, for protocols that have EtherType values, packets are usually transmitted with Ethernet II headers rather than with LLC and SNAP headers. On other network types, the LLC and SNAP headers are required in order to multiplex different protocols on the link layer, as the MAC layer doesn't itself have an EtherType field, so there's no alternative framing that would have a larger available payload.
One might ask, "why is a separate sub-network header necessary?". The answer is that it was to augment a decision
==References==
|