The Fiber Distributed Data Interface (FDDI) specifications define a family of standards for Local Area Networks (LANs) that provides the Physical Layer and Media Access Control Sublayer of the Data Link Layer as defined by the ISO Open System Interconnection Reference Model (ISO/OSI). Documents are in various stages of progression toward International Standardization for Media Access Control (MAC) , Physical Layer Protocol (PHY) , Physical Layer Medium Dependent (PMD) , and Station Management (SMT) . The family of FDDI standards corresponds to the IEEE 802 MAC layer standards [8, 9, 10].
The remainder of the Data Link Service is provided by the IEEE 802.2 Logical Link Control (LLC) service . The resulting stack of services appears as follows:
This memo describes the use of IP and ARP in this environment. At this time, it is not necessary that the use of IP and ARP be consistent between FDDI and IEEE 802 networks, but it is the intent of this memo not to preclude Data Link Layer interoperability at such time as the standards define it.
The FDDI standards define both single and dual MAC stations. This document describes the use of IP and ARP on single MAC stations (single-attach or dual-attach) only. Operation on dual MAC stations will be described in a forthcoming document.
IP datagrams and ARP requests and replies sent on FDDI networks shall be encapsulated within the 802.2 LLC and Sub-Network Access Protocol (SNAP)  data link layers and the FDDI MAC and physical layers. The SNAP must be used with an Organization Code indicating that the SNAP header contains the EtherType code (as listed in Assigned Numbers ).
802.2 LLC Type 1 communication (which must be implemented by all conforming 802.2 stations) is used exclusively. All frames must be transmitted in standard 802.2 LLC Type 1 Unnumbered Information format, with the DSAP and the SSAP fields of the 802.2 headers set to the assigned global SAP value for SNAP . The 24-bit Organization Code in the SNAP must be zero, and the remaining 16 bits are the EtherType from Assigned Numbers  (IP = 2048, ARP = 2054).
The mapping of 32-bit Internet addresses to 48-bit FDDI addresses shall be done via the dynamic discovery procedure of the Address Resolution Protocol (ARP) .
Internet addresses are assigned arbitrarily on Internet networks. Each host’s implementation must know its own Internet address and respond to Address Resolution requests appropriately. It must also use ARP to translate Internet addresses to FDDI addresses when needed.
The ARP protocol has several fields that parameterize its use in any specific context . These fields are:
In order to not preclude interoperability in a bridged environment, the hardware addresses in ARP packets (ar$sha, ar$tha) must be carried in “canonical” bit order, with the Group bit positioned as the low order bit of the first octet. As FDDI addresses are normally expressed with the Group bit in the high order bit position, the addresses must be bit-reversed within each octet.
Although outside the scope of this document, it is recommended that MAC addresses be represented in canonical order in all Network Layer protocols carried within the information field of an FDDI frame.
A method of supporting IP multicasting is specified in . This method shall be used in FDDI networks if IP multicasting is to be supported. The use of this method may require the ability to copy frames addressed to any one of an arbitrary number of multicast (group) addresses.
An IP multicast address is mapped to an FDDI group address by placing the low order 23 bits of the IP address into the low order 23 bits of the FDDI group address 01-00-5E-00-00-00 (in “canonical” order). [See 13, page 20.]
MAC Layer Details
The FDDI MAC specification  defines a maximum frame size of 9000 symbols (4500 octets) for all frame fields, including four symbols (two octets) of the preamble. This leaves roughly 4470 octets for data after the LLC/SNAP header is taken into account.
However, in order to allow future extensions to the MAC header and frame status fields, it is desirable to reserve additional space for MAC overhead.
Therefore, the MTU of FDDI networks shall be 4352 octets. This provides for 4096 octets of data and 256 octets of headers at the network layer and above. Implementations must not send packets larger than the MTU.
Gateway implementations must be prepared to accept packets as large as the MTU and fragment them when necessary. Gateway implementations should be able to accept packets as large as can be carried within a maximum size FDDI frame and fragment them.
Host implementations should be prepared to accept packets as large as the MTU; however, hosts must not send datagrams longer than 576 octets unless they have explicit knowledge that the destination is prepared to accept them. Host implementations may accept packets as large as can be carried within a maximum size FDDI frame. A host may communicate its size preference in TCP- based applications via the TCP Maximum Segment Size option .
Datagrams on FDDI networks may be longer than the general Internet default maximum packet size of 576 octets. Hosts connected to an FDDI network should keep this in mind when sending datagrams to hosts that are not on the same local network. It may be appropriate to send smaller datagrams to avoid unnecessary fragmentation at intermediate gateways. Please see  for further information.
There is no minimum packet size restriction on FDDI networks.
In order to not preclude interoperability with Ethernet in a bridged environment, FDDI implementations must be prepared to receive (and ignore) trailing pad octets.
Other MAC Layer Issues
The FDDI MAC specification does not require that 16-bit and 48-bit address stations be able to interwork fully. It does, however, require that 16-bit stations have full 48-bit functionality and that both types of stations be able to receive frames sent to either size broadcast address. In order to avoid interoperability problems, only 48-bit addresses shall be used with IP and ARP.
The FDDI MAC specification defines two classes of LLC frames, Asynchronous and Synchronous. Asynchronous frames are further controlled by a priority mechanism and two classes of a token, Restricted and Unrestricted. Only the use of Unrestricted tokens and Asynchronous frames are required by the standard for FDDI interoperability.
All IP and ARP frames shall be transmitted as Asynchronous LLC frames using Unrestricted tokens, and the Priority value is a matter of local convention. Implementations should make the priority a tunable parameter for future use. It is recommended that implementations provide for the reception of IP and ARP packets in Synchronous frames, as well as Restricted Asynchronous frames.
After packet transmission, FDDI provides Frame Copied (C) and Address Recognized (A) indicators. The use of these indicators is a local implementation decision. Implementations may choose to perform link-level retransmission, ARP cache entry invalidation, etc., based on the values of these indicators and other information. The semantics of these indicators, especially in the presence of bridges, are not well defined as of this writing. Implementors are urged to follow the work of ANSI ASC X3T9.5 in regard to this issue in order to avoid interoperability problems.
IEEE 802.2 Details
While not necessary for supporting IP and ARP, all implementations must support IEEE 802.2 standard Class I service in order to be compliant with 802.2. Described below is the minimum functionality necessary for a conformant station. Some of the functions are not related directly to the support of the SNAP SAP (e.g., responding to XID and TEST commands directed to the null or global SAP addresses), but are part of a general LLC implementation. Implementors should consult IEEE Std. 802.2  for details.
802.2 Class I LLC requires the support of Unnumbered Information (UI) Commands, eXchange IDentification (XID) Commands and Responses, and TEST link (TEST) Commands and Responses. Stations need not be able to transmit XID and TEST commands but must be able to transmit responses.
Command frames are identified by having the low order bit of the SSAP address reset to zero. Response frames have the low order bit of the SSAP address set to one.
The UI command has an LLC control field value of 3.
The XID command/response has an LLC control field value of 175 (decimal) if the Poll/Final bit is off or 191 (decimal) if the Poll/Final bit is on.
The TEST command/response has an LLC control field value of 227 (decimal) if the Poll/Final bit is off or 243 (decimal) if the Poll/Final bit is on.
Elements of Procedure
UI responses and UI commands with the Poll bit set shall be ignored. UI commands having other than the SNAP SAP in the DSAP or SSAP fields shall not be processed as IP or ARP packets.
When an XID or TEST command is received, an appropriate response must be returned. XID and TEST commands must be responded to only if the DSAP is the SNAP SAP (170 decimal), the Null SAP (0 decimal), or the Global SAP (255 decimal). XID and TEST commands received with other DSAP values must not be responded to unless the station supports the addressed service. Responses to XID and TEST frames shall be constructed as follows:
Destination MAC: Copied from Source MAC of the command
When responding to an XID or a TEST command, the value of the Final bit in the response must be copied from the value of the Poll bit in the command.
XID response frames must include an 802.2 XID Information field of 129.1.0 indicating Class I (connectionless) service.
TEST response frames must echo the information field received in the corresponding TEST command frame.
Appendix on Numbers
SAP for SNAP