Skip to main content

Packet Format

Service SHALL be encapsulated within the IEEE 802.2 LLC and IEEE 802.1A Sub-Network Access Protocol (SNAP) [10] Data Link layers and the 3-level SIP. The SNAP MUST be used with an Organizationally Unique Identifier Code indicating that the SNAP header contains the EtherType code as listed in Assigned Numbers [11] (see Figure 2). Note that values specified in this document follow Internet conventions: multi-byte fields are described in big-endian order and bits within bytes are described as most significant first [11].

                                                       +-------+
|IP/ARP | IP/ARP
+----+----+----+----+----+-------+
| Org Code |Ethertype| | SNAP
+----+----+----+----+----+----+----+----+-------+
|DSAP|SSAP|Ctrl| | LLC
+-----+----+-+-+----+----+----+----+----+----+----+----+-------+
|SIP..|HLPI|...| | SIP L3
+-----+----+-+-+----+----+----+----+----+----+----+----+-------+

Figure 2: Data Link Encapsulation

  • The value of HLPI in the SIP L3 Header is 1.
  • The total length of the LLC Header and the SNAP header is 8 octets.
  • The value of DSAP and SSAP in the LLC header is 170 (decimal), AA (Internet hexadecimal).
  • The Ctrl (Control) value in the LLC header is 3 (Indicates Type One Unnumbered Information).
  • The Org Code in the SNAP header is zero (000000 Internet hexadecimal).
  • The EtherType for IP is 2048 (decimal), 0800 (Internet hexadecimal). The EtherType for ARP is 2054 (decimal), 0806 (Internet hexadecimal).

IEEE 802.2 LLC Type One Unnumbered Information (UI) communication (which must be implemented by all conforming IEEE 802.2 stations) is used exclusively. The Higher Layer Protocol Id (HLPI) field in the SIP L3_PDU header MUST be set to the IEEE 802.6 assigned Protocol Id value for LLC (decimal 1) [8]. All frames MUST be transmitted in standard IEEE 802.2 LLC Type 1 Unnumbered Information format, with the DSAP and the SSAP fields of the IEEE 802.2 header set to the assigned global SAP value for SNAP (decimal 170) [10]. The 24-bit Org Code (Organizationally Unique Identifier Code) in the SNAP MUST be set to a value of zero, and the remaining 16 bits are set to the EtherType value from Assigned Numbers [11] (2048 for IP, 2054 for ARP).

The data link encapsulation for IP packets is shown in Figure 3 and for ARP in Figure 4. All values shown are in Internet hexadecimal format.

     +--------------+---------------------------------------+-------+
| SIP | LLC / SNAP | IP |
| | | |
|SIP..|HLPI|...|DSAP|SSAP|Ctrl| Org Code |Ethertype| |
+-----+----+-+-+----+----+----+----+----+----+----+----+-------+
|SIP..| 01 |...| AA | AA | 03 | 000000 | 0800 | IP... |
+-----+----+-+-+----+----+----+----+----+----+----+----+-------+

Figure 3: IP Data Link Encapsulation and Values

     +--------------+---------------------------------------+-------+
| SIP | LLC / SNAP | ARP |
| | | |
|SIP..|HLPI|...|DSAP|SSAP|Ctrl| Org Code |Ethertype| |
+-----+----+-+-+----+----+----+----+----+----+----+----+-------+
|SIP..| 01 |...| AA | AA | 03 | 000000 | 0806 | ARP...|
+-----+----+-+-+----+----+----+----+----+----+----+----+-------+

Figure 4: ARP Data Link Encapsulation and Values