IEEE 802.2/802.3 Compatible Method
Frame Format
IP datagrams are transmitted in standard 802.2/802.3 LLC Type 1 Unnumbered Information format with the DSAP and SSAP fields of the 802.2 header set to 96, the IEEE assigned global SAP value for IP [8]. The data field contains the IP header followed immediately by the IP data.
IEEE 802.3 packets have minimum size restrictions based on network bandwidth. When necessary, the data field should be padded (with octets of zero) to meet the 802.3 minimum frame size requirements. This padding is not part of the IP packet and is not included in the total length field of the IP header.
IEEE 802.3 packets have maximum size restrictions based on the network bandwidth. Implementations are encouraged to support full-length packets.
Gateway implementations MUST be prepared to accept full-length packets and fragment them when necessary.
Host implementations should be prepared to accept full-length packets, however hosts MUST NOT send datagrams longer than 576 octets unless they have explicit knowledge that the destination is prepared to accept them. A host may communicate its size preference in TCP based applications via the TCP Maximum Segment Size option [9].
Note: Datagrams on 802.3 networks may be longer than the general Internet default maximum packet size of 576 octets. Hosts connected to an 802.3 network should keep this in mind when sending datagrams to hosts not on the same 802.3 network. It may be appropriate to send smaller datagrams to avoid unnecessary fragmentation at intermediate gateways. Please see [9] for further information on this point.
Address Mappings
The mapping of 32-bit Internet addresses to 16-bit or 48-bit 802.3 addresses can be done in several ways. A static table could be used, or a dynamic discovery procedure could be used.
Static Table
Each host could be provided with a table of all other hosts on the local network with both their 802.3 and Internet addresses.
Dynamic Discovery
Mappings between 32-bit Internet addresses and 802.3 addresses could be accomplished through a protocol similar to the Ethernet Address Resolution Protocol (ARP) [10]. Internet addresses are assigned arbitrarily on some Internet networks. Each host's implementation must know its own Internet address and respond to 802.3 Address Resolution packets appropriately. It should also use ARP to translate Internet addresses to 802.3 addresses when needed.
Broadcast Address
The broadcast Internet address (the address on that network with a host part of all binary ones) should be mapped to the broadcast 802.3 address (of all binary ones).
The use of the ARP dynamic discovery procedure is strongly recommended.
Trailer Formats
Some versions of Unix 4.2bsd use a different encapsulation method in order to get better network performance with the VAX virtual memory architecture. Consenting systems on the same 802.3 network may use this format between themselves. Details of the trailer encapsulation method may be found in [11].
Byte Order
As described in Appendix B of the Internet Protocol specification [1], the IP datagram is transmitted over 802.2/802.3 networks as a series of 8-bit bytes.