RFC 1103 UNKNOWN CORE · LINK LAYER

IP over FDDI: Proposed standard for the transmission of IP datagrams over FDDI Networks

How to send IP packets and address resolution over fiber-optic token rings

On rfc-editor.org ↗
PUBLISHED
June 1989
AUTHORS
D. Katz
STREAM
Legacy
OBSOLETED BY
RFC 1188 — IP over FDDI
FDDI FRAME SIZE
9000 symbols maximum
MAXIMUM DATA MTU
4470 octets
LLC/SNAP HEADER SIZE
8 octets
ETHERTYPE FOR IP
2048
ETHERTYPE FOR ARP
2054
SNAP SAP VALUE
170 (0xAA)
DOI
10.17487/RFC1103

RFC text

Contents
Original text · RFC Editor View on rfc-editor.org ↗
Network Working Group                                            D. Katz
Request for Comments:  1103                                 Merit/NSFNET
                                                               June 1989

              A Proposed Standard for the Transmission of
                    IP Datagrams over FDDI Networks


Status of this Memo

   This RFC specifies a method of encapsulating the Internet Protocol
   (IP) [1] datagrams and Address Resolution Protocol (ARP) [2] requests
   and replies on Fiber Distributed Data Interface (FDDI) Networks.
   This RFC specifies a proposed protocol standard for the Internet
   community.  Comments are welcome.  Distribution of this memo is
   unlimited.

Acknowledgment

   This memo draws heavily in both concept and text from RFC 1042 [3],
   written by Jon Postel and Joyce K. Reynolds of USC/Information
   Sciences Institute.

Conventions

   The following language conventions are used in the items of
   specification in this document:

      "Must" or "Mandatory"--the item is an absolute requirement of the
      specification.

      "Should" or "Recommended"--the item should generally be followed
      for all but exceptional circumstances.

      "May" or "Optional"--the item is truly optional and may be
      followed or ignored according to the needs of the implementor.

Introduction

   The goal of this specification is to allow compatible and
   interoperable implementations for transmitting IP datagrams and ARP
   requests and replies.

   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)
   [4], Physical Layer Protocol (PHY) [5], Physical Layer Medium
   Dependent (PMD) [6], and Station Management (SMT) [7].  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 [11].  The resulting stack of
   services appears as follows:

           +-------------+
           |   IP/ARP    |
           +-------------+
           |  802.2 LLC  |
           +-------------+
           |  FDDI MAC   |
           +-------------+
           |  FDDI PHY   |
           +-------------+
           |  FDDI PMD   |
           +-------------+

   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.

Packet Format

   IP datagrams and ARP requests and replies sent on FDDI networks must
   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
   [12]).

   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 header set to
   the assigned global SAP value for SNAP [11].  The 24-bit Organization
   Code in the SNAP must be zero, and the remaining 16 bits are the
   EtherType from Assigned Numbers [12] (IP = 2048, ARP = 2054).

     ...--------+--------+--------+
                MAC Header        |                           FDDI MAC
     ...--------+--------+--------+

     +--------+--------+--------+
     | DSAP=K1| SSAP=K1| Control|                            802.2 LLC
     +--------+--------+--------+

     +--------+--------+---------+--------+--------+
     |Protocol Id or Org Code =K2|    EtherType    |        802.2 SNAP
     +--------+--------+---------+--------+--------+

     The total length of the LLC Header and the SNAP header is 8
     octets.

     The K1 value is 170 (decimal).

     The K2 value is 0 (zero).

     The control value is 3 (Unnumbered Information).

Address Resolution

   The mapping of 32-bit Internet addresses to 16-bit or 48-bit FDDI
   addresses must be done via the dynamic discovery procedure of the
   Address Resolution Protocol (ARP) [2].

   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 [2].  These fields are:

         hrd   16 - bits     The Hardware Type Code
         pro   16 - bits     The Protocol Type Code
         hln    8 - bits     Octets in each hardware address
         pln    8 - bits     Octets in each protocol address
         op    16 - bits     Operation Code

   The hardware type code assigned for IEEE 802 networks is 6 [12].
   FDDI networks, although not IEEE 802 networks per se, are
   semantically equivalent and use the same type code.

   The protocol type code for IP is 2048 [12].

   The hardware address length is 2 for 16-bit FDDI addresses, or 6 for
   48-bit FDDI addresses.

   The protocol address length (for IP) is 4.

   The operation code is 1 for request and 2 for reply.

Broadcast Address

   The broadcast Internet address (the address on that network with a
   host part of all binary ones) must be mapped to the broadcast FDDI
   address (of all binary ones) (see [13]).

Trailer Formats

   Some versions of Unix 4.x bsd use a different encapsulation method in
   order to get better network performance with the VAX virtual memory
   architecture.  Consenting systems on the same FDDI network may use
   this format between themselves.  Details of the trailer encapsulation
   method may be found in [14].  However, all hosts must be able to
   communicate using the standard (non-trailer) method.

Byte Order

   As described in Appendix B of the Internet Protocol specification
   [1], the IP datagram is transmitted over FDDI networks as a series of
   8-bit bytes.  This byte transmission order has been called "big-
   endian" [15].

MAC Layer Details

   Packet Size

      The FDDI MAC specification [4] defines a maximum frame size of
      9000 symbols (4500 octets) for all frame fields, including four
      symbols (two octets) of preamble.  This gives the following MAC
      layer overhead:

                Field                    Size in Octets

                Preamble                     2
                Start Delimiter              1
                Frame Control                1
                Destination Address          6 (2)
                Source Address               6 (2)
                FCS                          4
                End Delimiter/Frame Status   2

                Total                        22 (14)
                Remaining for Data           4478 (4486)

      Subtracting the 8 byte LLC/SNAP header, this gives a maximum
      packet size (MTU) of 4470 (4478) octets.  For compatibility
      purposes, the maximum packet size used with IP datagrams or ARP
      requests and replies must be consistent on a particular network.

      The overhead calculations (above) assume a standard Frame Status
      field consisting of three symbols.  Additional Implementor Defined
      frame status information, although permitted by the FDDI MAC
      specification, must not be used with IP datagrams because it
      affects the maximum packet size.

      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 [16].

      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 [16] for
      further information.

      There is no minimum packet size restriction on FDDI networks.

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.  For use with IP and ARP, all communicating
   stations on a LAN must use a consistent address size.
   Implementations must discard any IP or ARP packets received with an
   unimplemented or inactive address size.  16-bit and 48-bit
   implementations may coexist on the same FDDI network; however, if
   they wish to interwork they must be considered separate IP networks
   and linked with an IP router capable of supporting 16-and 48-bit
   addresses simultaneously.

   Group (multicast) addresses are defined by the FDDI MAC specification
   but are not necessarily supported by existing hardware.  Therefore,
   this feature must not be used by IP and ARP.

   The FDDI MAC specification defines two classes of frames,
   Asynchronous and Synchronous.  Asynchronous frames are further
   controlled by a priority mechanism and two classes of token,
   Restricted and Unrestricted.  Only the use of Unrestricted tokens and
   Asynchronous frames are required by the standard for FDDI
   interoperability.  The priority mechanism is currently implemented
   locally by the transmitting station and the Priority field in
   Asynchronous frames is ignored by other stations.  This field will
   likely be interpreted by Transparent Bridges once they are defined.
   There is no default value for priority called out in the MAC
   standard.

   Therefore, all IP and ARP frames must be transmitted as Asynchronous
   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.

   After packet transmission, FDDI provides Frame Copied (C) and Address
   Recognized (A) indicators.  There are four possible combinations of
   the indicators with the following semantics:

            (C)      (A)
            Reset    Reset   The frame was not received by any station.
            Reset    Set     The addressed station is congested.
            Set      Reset   Reserved.
            Set      Set     The addressed station received the frame.

   Implementations may use these indicators to provide some amount of
   error detection and correction:

      If the Frame Copied bit is reset but the Address Recognized bit is
      set, receiver congestion has occurred.  It is recommended, though
      not mandatory, that hosts retransmit the offending packet a small
      number of times (4) or until congestion no longer occurs.

      If the both the Address Recognized indicator and the Frame Copied
      indicator are reset, an implementation has three options: (1)
      ignore the error and throw the packet away, (2) return an ICMP
      destination unreachable message to the source, or (3) delete the
      ARP entry which was used to send this packet and send a new ARP
      request to the destination address.  The latter option is the
      preferred approach since it will allow graceful recovery from
      first hop bridge and router failures and changed hardware
      addresses.

      As of this writing there is a proposal within ANSI to set the
      Frame Copied indicator and reset the Address Recognized indicator
      when a frame is forwarded by a Transparent Bridge.  For future
      compatibility, implementations should interpret this combination
      of indicators as if the frame were successfully delivered to the
      destination (i.e., do nothing).

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.  This requires supporting Unnumbered
   Information (UI) Commands, eXchange IDentification (XID) Commands and
   Responses, and TEST link (TEST) Commands and Responses.

   When an XID or TEST command is received, a response must be returned
   with Destination and Source addresses, and DSAP and SSAP, swapped.

   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.

   The XID command or 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 or 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.

   Command frames are identified by having the high order bit of the
   SSAP address reset to zero.  Response frames have the high order bit
   of the SSAP address set to one.

   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

   The IEEE specifies numbers in bit transmission order, or bit-wise
   little-endian order.  The Internet protocols are documented in byte-
   wise big-endian order.  This may cause some confusion about the
   proper values to use for numbers.  Here are the conversions for some
   numbers of interest.

       Number        IEEE    IEEE        Internet    Internet
                     HEX     Binary      Binary      Decimal

       UI Op Code    C0      11000000    00000011    3
       SAP for SNAP  55      01010101    10101010    170
       XID           F5      11110101    10101111    175
       XID           FD      11111101    10111111    191
       TEST          C7      11000111    11100011    227
       TEST          CF      11001111    11110011    243
       Info          818000                          129.1.0

References

  [1]  Postel, J., "Internet Protocol", RFC-791, USC/Information
       Sciences Institute, September 1981.

  [2]  Plummer, D., "An Ethernet Address Resolution Protocol - or -
       Converting Network Protocol Addresses to 48.bit Ethernet Address
       for Transmission on Ethernet Hardware", RFC-826, MIT, November
       1982.

  [3]  Postel J., and J. Reynolds, "A Standard for the Transmission of
       IP Datagrams over IEEE 802 Networks", RFC1042, USC/Information
       Sciences Institute, February, 1988.

  [4]  ISO, "Fiber Distributed Data Interface (FDDI) - Media Access
       Control", ISO 9314-2, 1988.  See also ANSI X3.139-1987.

  [5]  ISO, "Fiber Distributed Data Interface (FDDI) - Token Ring
       Physical Layer Protocol", ISO 9314-1, 1988.  See also ANSI
       X3.148-1988.

  [6]  ISO, "Fiber Distributed Data Interface (FDDI) - Physical Layer
       Medium Dependent", ISO DIS 9314-3, 1988.  See also ANSI X3.166-
       198x.

  [7]  ANSI, "FDDI Station Management", ANSI X3T9.5/84-49 Rev 4.0, 1988.

  [8]  IEEE, "IEEE Standards for Local Area Networks: Carrier Sense
       Multiple Access with Collision Detection (CSMA/CD) Access Method
       and Physical Layer Specifications", IEEE, New York, New York,
       1985.

  [9]  IEEE, "IEEE Standards for Local Area Networks: Token-Passing Bus
       Access Method and Physical Layer Specification", IEEE, New York,
       New York, 1985.

  [10] IEEE, "IEEE Standards for Local Area Networks: Token Ring Access
       Method and Physical Layer Specifications", IEEE, New York, New
       York, 1985.

  [11] IEEE, "IEEE Standards for Local Area Networks: Logical Link
       Control", IEEE, New York, New York, 1985.

  [12] Reynolds, J.K., and J. Postel, "Assigned Numbers", RFC-1010,
       USC/Information Sciences Institute, May 1987.

  [13] Braden, R., and J. Postel, "Requirements for Internet Gateways",
       RFC-1009, USC/Information Sciences Institute, June 1987.

  [14] Leffler, S., and M. Karels, "Trailer Encapsulations", RFC-893,
       University of California at Berkeley, April 1984.

  [15] Cohen, D., "On Holy Wars and a Plea for Peace", Computer, IEEE,
       October 1981.

  [16] Postel, J., "The TCP Maximum Segment Size Option and Related
       Topics", RFC-879, USC/Information Sciences Institute, November
       1983.

Author's Address

   Dave Katz Merit/NSFNET 1075 Beal Ann Arbor, MI 48109-2112

   Phone: 1-800-66-MERIT

   Email: Dave_Katz@um.cc.umich.edu

AI ELI5

On this page
PROBLEMFDDI networks are high-speed token-ring networks using fiber optics, but they need a standard way to carry IP datagrams and ARP resolution over them.
MECHANISMIP datagrams and ARP messages are wrapped in IEEE 802.2 LLC and SNAP headers before being sent as FDDI frames. Each frame includes FDDI MAC and physical layer framing, and address resolution is performed using standard ARP.
SUPERSEDED BY RFC 1188This standard enabled interoperable IP networking over FDDI. It was replaced by RFC 1188, which provided updated specifications.

§1Introduction to FDDI Networks

RFC 1103 specifies how to transmit Internet Protocol (IP) datagrams and Address Resolution Protocol (ARP) requests and replies over Fiber Distributed Data Interface (FDDI) networks. FDDI is a family of standards for high-speed Local Area Networks that operates at the physical and media access control layers of the Data Link Layer.

FDDI networks form a token-passing ring topology with fiber-optic cables, providing speeds much higher than earlier technologies like Ethernet. The specification defines standards for the Media Access Control (MAC) layer, Physical layer protocol (PHY), Physical layer medium dependent (PMD), and Station Management (SMT).

The goal of this specification is to allow compatible and interoperable implementations for transmitting IP datagrams and ARP messages over FDDI, using the existing IEEE 802.2 Logical Link Control (LLC) service for data link operations. The stack of services is: IP/ARP, IEEE 802.2 LLC, FDDI MAC, FDDI PHY, and FDDI PMD.

FDDI is a very fast network that uses glass fiber cables in a ring shape. This memo shows how to make Internet packets work on FDDI by wrapping them in special headers.

Protocol stack for IP over FDDI
  1. ApplicationPrograms using IP
  2. IP/ARPInternet Protocol and Address Resolution
  3. IEEE 802.2 LLCLogical Link Control service
  4. FDDI MACMedia Access Control for FDDI
  5. FDDI PHYPhysical layer protocol
  6. FDDI PMDPhysical medium (fiber optics)

§2Packet Encapsulation and Formats

IP datagrams and ARP messages sent on FDDI networks must 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 header must use an Organization Code of zero, with the remaining 16 bits containing the EtherType code (2048 for IP, 2054 for ARP).

All frames must be transmitted in standard 802.2 LLC Type 1 Unnumbered Information format. The DSAP (Destination Service Access Point) and SSAP (Source Service Access Point) fields of the 802.2 header must both be set to the assigned global SAP value for SNAP, which is 170 decimal (0xAA in hexadecimal, or 10101010 in binary). The LLC control field value is 3 (Unnumbered Information), and the Protocol ID/Organization Code is 0.

The total length of the combined LLC Header and SNAP header is 8 octets. This structure allows FDDI to carry Ethernet-compatible frames, with the EtherType field indicating whether the payload is IP or ARP.

Internet packets get wrapped in special headers that label them with a code number. IP packets get 2048, ARP packets get 2054. All packets follow the same wrapping rules.

Frame encapsulation on FDDI with LLC/SNAP headers
FDDI frame with IP or ARP
FieldNameSizeValueDescription
MAC-HEADERFDDI MAC Header8 bytesDestination and source addresses with frame control
DSAPDSAP1 byte170170 (0xAA) for SNAP
SSAPSSAP1 byte170170 (0xAA) for SNAP
CONTROLControl1 byte33 (0x03) for Unnumbered Information
ORG-CODEOrganization Code3 bytes00 for standard EtherTypes
ETHER-TYPEEtherType2 bytes2048 for IP, 2054 for ARP

§3Address Resolution and Hardware Parameters

The mapping of 32-bit Internet addresses to FDDI hardware addresses must be done via the standard Address Resolution Protocol (ARP). Each host's implementation must know its own Internet address and respond to ARP requests appropriately. It must also use ARP to translate Internet addresses to FDDI addresses when sending to other hosts.

For ARP on FDDI networks, the protocol uses hardware type code 6 (assigned for IEEE 802 networks, which FDDI networks use for ARP purposes even though FDDI is not strictly IEEE 802). The protocol type code for IP is 2048. FDDI addresses can be either 16-bit or 48-bit; the hardware address length in ARP is 2 for 16-bit addresses or 6 for 48-bit addresses. The protocol address length for IP is always 4 octets. ARP operation codes are 1 for request and 2 for reply. The broadcast Internet address (with all host bits set to one) must be mapped to the broadcast FDDI address (all bits set to one).

To find the glass cable address for an Internet address, computers ask each other using ARP, just like on Ethernet. FDDI addresses can be either 2 or 6 bytes long.

§4Packet Size, MTU, and MAC Layer Details

The FDDI MAC specification defines a maximum frame size of 9000 symbols (4500 octets) for all frame fields, including preamble and delimiters. The MAC layer overhead includes a 2-octet preamble, 1-octet start delimiter, 1-octet frame control, 6-octet destination address (or 2-octet for 16-bit addressing), 6-octet source address (or 2-octet), 4-octet frame check sequence (FCS), and 2-octet end delimiter/frame status field. This leaves approximately 4470 octets (or 4478 with 16-bit addressing) available for data after subtracting the 8-octet LLC/SNAP header, giving a maximum packet size (MTU) of 4470 octets.

Gateway implementations must be prepared to accept full-length packets and fragment them when necessary. Host implementations should accept full-length packets but must not send datagrams longer than 576 octets unless they have explicit knowledge that the destination can accept them. FDDI networks may have larger MTUs than the default 576-octet Internet maximum, so hosts should be aware this could lead to fragmentation at downstream routers.

FDDI MAC also defines Frame Copied (C) and Address Recognized (A) indicators that provide information about successful delivery. If the Address Recognized bit is set but Frame Copied is reset, the destination is congested. If both are reset, the frame was not received; implementations should either ignore the error, send an ICMP message, or delete the ARP entry and try again.

FDDI frames can be up to 4470 bytes of actual data, much bigger than Ethernet. But Internet hosts usually send smaller packets unless they know the other end can take them.

§5MAC Layer Requirements and Address Sizes

FDDI supports both 16-bit and 48-bit station addresses, but the MAC specification does not require that 16-bit and 48-bit address stations fully interwork. However, all 16-bit stations must have full 48-bit functionality, and both types must receive frames sent to either size broadcast address. For IP and ARP, all communicating stations on a LAN must use consistent address sizes. Implementations must discard any IP or ARP packets received with an unimplemented or inactive address size. If 16-bit and 48-bit implementations need to coexist and interwork, they must be treated as separate IP networks and linked with an IP router that supports both address sizes.

FDDI defines asynchronous and synchronous frame classes. Only asynchronous frames and unrestricted tokens are required for basic FDDI interoperability. All IP and ARP frames must be transmitted as asynchronous frames using unrestricted tokens. The priority field in asynchronous frames is a matter of local convention, and implementations should make it tunable for future use. Group (multicast) addresses are defined by the FDDI MAC specification but are not necessarily supported by all hardware; therefore, multicast must not be used for IP and ARP.

FDDI can use short 16-bit addresses or longer 48-bit addresses, but all computers on the same network must agree on which to use. If you need to mix them, you need a router between them.

§6IEEE 802.2 LLC and Related Standards

All FDDI implementations must support IEEE 802.2 standard Class I service for compliance with the 802.2 standard, even if not strictly required for IP and ARP. This requires supporting Unnumbered Information (UI) Commands, eXchange IDentification (XID) Commands and Responses, and TEST link (TEST) Commands and Responses.

When an XID or TEST command is received, a response must be returned with Destination and Source addresses, and DSAP and SSAP, swapped. The Final bit in the response must be copied from the Poll bit in the command. XID commands have an LLC control field value of 175 (decimal) if the Poll/Final bit is off or 191 if it is on. TEST commands have a control field value of 227 if the Poll/Final bit is off or 243 if it is on. Command frames have the high-order bit of the SSAP reset to zero; response frames have it set to one. XID response frames must include an 802.2 XID Information field of 129.1.0 indicating Class I connectionless service. TEST responses must echo the information field from the corresponding TEST command.

FDDI must support some extra control messages defined by the IEEE standards, like ping commands and identification requests.

§7References