Newest Version of IPoverSMDS RFC

+-----------------------------------------+-----------------+ <jcl@co-asia.bsi.bellcore.com> Thu, 29 November 1990 20:45 UTC

Received: from nri.reston.va.us by NRI.NRI.Reston.VA.US id aa13434; 29 Nov 90 15:45 EST
Received: from sabre.bellcore.com by NRI.NRI.Reston.VA.US id aa13382; 29 Nov 90 15:39 EST
Received: by sabre.bellcore.com (5.57/Ultrix2.4-C) id AA15807; Thu, 29 Nov 90 15:32:51 EST
Received: by asia (4.1/4.7) id AA28070; Thu, 29 Nov 90 15:32:44 EST
X-Station-Sent-From: asia
Message-Id: <9011292032.AA28070@asia>
To: SMDS List <smds@NRI.Reston.VA.US>
Cc: clapp@maui.cs.ucla.edu, mdavies@NRI.Reston.VA.US
Subject: Newest Version of IPoverSMDS RFC
Date: Thu, 29 Nov 1990 15:32:43 -0500
From: +-----------------------------------------+-----------------+ <jcl@co-asia.bsi.bellcore.com>

Enclosed is version 3 of the IP over SMDS draft RFC.

Most of the changes from version 2 were refinement of
format and figures. Some changes that should be noted are:

	o An ARP hardware type code for SMDS has been defined. The value is
		Internet decimal 14 (0E hexadecimal).
	o In Figures 3 and 4, DSAP and SSAP LLC values were show as 1A
		and should have been AA.
	o In Figure 4, the protocol type code for ARP was 0800 should
		have been 0806.


Thanks to Philippe Prindeville and others who provided useful
comments for this version.

+-----------------------------------------+-----------------+
|Joe C Lawrence. (jcl@sabre.bellcore.com) |  Don't forget   |
|(201) 758-4146   Bellcore, Red Bank, NJ. | to type upall   |
+-----------------------------------------+-----------------+
PS. Megan, could you make this availible in the online drafts.
--------------------------------------------------------------------------------

Internet Draft        IP and ARP over SMDS      November 20, 1990



                A Proposed Standard for the Transmission of
                           IP Datagrams over SMDS

                             November 20, 1990

                         IP over SMDS Working Group

                              Dave Piscitello
                              Joseph Lawrence
                        Bell Communications Research
                          331 Newman Springs Road
                            Red Bank, NJ  07701

                          dave@sabre.bellcore.com
                           jcl@sabre.bellcore.com





Status of this Memo

     This document specifies a method of encapsulating the Internet Protocol
     (IP) [1] datagrams and Address Resolution Protocol (ARP) [2] requests
     and replies over the SMDS service [3].  This draft document will be 
     submitted to the RFC editor as a protocol specification.  Distribution 
     of this memo is unlimited.  Please send comments to dave@sabre.bellcore.com 
     or jcl@sabre.bellcore.com


Abstract

     This memo describes an initial use of IP and ARP in an SMDS environment
     configured as a logical IP subnetwork, LIS (described below).  The
     encapsulation method used is described, as well as various service-
     specific issues.  This memo does not preclude subsequent treatment of
     SMDS in configurations other than LIS; specifically, public or inter-
     company, inter-enterprise configurations may be treated differently and
     will be described in future documents.  This document considers only
     directly connected IP end-stations or routers; issues raised by MAC
     level bridging are beyond the scope of this paper.









Piscitello, Lawrence                                     [Page 1]

Internet Draft        IP and ARP over SMDS      November 20, 1990



Acknowledgment

     This memo draws heavily in both concept and text from [4], written by
     Jon Postel and Joyce Reynolds of ISI and [5], written by David Katz of
     Merit, Inc.  The authors would also like to acknowledge the
     contributions of the IP Over SMDS working group of the Internet
     Engineering Task Force.


Conventions

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

    o Must, Shall, or Mandatory -- the item is an absolute requirement of
      the specification.

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

    o 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 characteristics of SMDS and the SMDS Interface Protocol (SIP) are
     presented in [3], [6], and in [7].  Briefly, SMDS is a connectionless,
     public, packet-switched data service.  The operation and features of
     SMDS are similar to those found in high-speed data networks such as
     LANs:

        o SMDS provides a datagram packet transfer, where each data unit is
          handled and switched separately without the prior establishment of
          a network connection.

        o SMDS exhibits high throughput and low delay, and provides the
          transparent transport and delivery of up to 9188 octets of user
          information in a single transmission.

        o No explicit flow control mechanisms are provided; instead, the
          rate of information transfer on the access paths is controlled
          both in the subscriber-to-network direction and in the network-



Piscitello, Lawrence                                     [Page 2]

Internet Draft        IP and ARP over SMDS      November 20, 1990



          to-subscriber direction through the use of an access class
          enforcement mechanism.

        o Both individually and group-addressed (Multicast) packets can be
          transferred.

        o In addition to these LAN-like features, a set of addressing-
          related service features (source address validation, source and
          destination address screening) are provided to enable a subscriber
          or set of subscribers to create a logical private network over
          SMDS.

     The SMDS Interface Protocol is based on the IEEE P802.6 Draft Standard,
     Distributed Queue Dual Bus (DQDB) Connectionless MAC protocol [8].  The
     service offered through SMDS corresponds to the IEEE 802 MAC sublayer.
     The remainder of the Data Link Service is provided by the IEEE 802.2
     Logical Link Control (LLC) service [9].  The resulting stack of
     services is illustrated in Figure 1:

                           +--------------------+
                           |      IP/ARP        |
                           +--------------------+
                           |IEEE 802.2 LLC/SNAP |
                           +--------------------+
                           | SIP LEVEL 3 (MAC)  |
                           +--------------------+
                           | SIP LEVELS 1 & 2   |
                           +--------------------+

                Figure 1.  Protocol stack for IP over SMDS


     This memo describes an initial use of IP and ARP in an SMDS environment
     configured as a logical IP subnetwork (described below).  It does not
     preclude subsequent treatment of SMDS in configurations other than
     logical IP subnetworks; specifically, public or inter-company, inter-
     enterprise configurations may be treated differently and will be
     described in future documents.  This document does not address issues
     related to transparent data link layer interoperability.


Logical IP Subnetwork Configuration

     This section describes the scenario for an SMDS that is configured with
     multiple logical IP subnetworks, LIS (described below).  The scenario
     considers only directly connected IP end-stations or routers; issues
     raised by MAC level bridging are beyond the scope of this paper.



Piscitello, Lawrence                                     [Page 3]

Internet Draft        IP and ARP over SMDS      November 20, 1990



     In the LIS scenario, each separate administrative entity configures its
     hosts within a closed logical IP subnetwork. Each LIS operates and
     communicates independently of other LISs over the same network
     providing SMDS.  Hosts connected to SMDS communicate directly to other
     hosts within the same LIS. Communication to hosts outside of a LIS is
     provided via an IP router.  This router would simply be a station
     attached to SMDS that has been configured to be a member of both
     logical IP subnetworks.  This configuration results in a number of
     disjoint LISs operating over the same SMDS network.  It is recognized
     that with this configuration, hosts of differing IP networks would
     communicate via an intermediate router even though a direct path over
     SMDS may be possible.

     It is envisioned that the service will evolve to provide a more public
     interconnection, allowing machines directly connected to SMDS to
     communicate without an intermediate router.  However, the issues raised
     by such a large public interconnection, such as scalability of address
     resolution or propagation of routing updates, are beyond the scope of
     this paper.  We anticipate that future RFCs will address these issues.

     The following is a list of the requirements for a LIS configuration:

        o All members have the same IP network/subnet number.

        o All stations within a LIS are accessed directly over SMDS.

        o All stations outside of the LIS are accessed via a router.

        o For each LIS a single SMDS group address has been configured that
          identifies all members of the LIS. Any packet transmitted with
          this address is delivered by SMDS to all members of the LIS.

     The following list identifies a set of SMDS specific parameters that
     must be implemented in each IP station which would connect to SMDS.
     The parameter values will be determined at SMDS subscription time and
     will be different for each LIS. Thus these parameters must be user
     configurable.

        o SMDS Hardware Address (smds$ha). The 60 bit SMDS Individual
          address of the IP station as determined at subscription time. Each
          host must be configured to accept datagrams destined for this
          address.

        o SMDS LIS Group Address(smds$lis-ga). The 60 bit SMDS Group address
          that has been configured at subscription time to identify the SMDS
          Subscriber Network Interfaces (SNI) of all members of the LIS
          connected to SMDS. All members of the LIS must be prepared to



Piscitello, Lawrence                                     [Page 4]

Internet Draft        IP and ARP over SMDS      November 20, 1990



          accept datagrams addressed to smds$lis-ga.

        o SMDS Arp Request Address (smds$arp-req). The 60 bit SMDS address
          (individual or group) to which arp requests are to be sent. In the
          initial LIS configuration this value is set to smds$lis-ga.

     Routers that wish to provide interconnection of differing LISs must be
     able to support multiple sets of these parameters and be able to
     associate each set of parameters with a specific IP network/subnet
     number.  It is strongly recommended that routers providing LIS
     functionality support the ability to interconnect differing LISs.

     The following list identifies LIS specific parameters that must be
     configured in the network supporting SMDS. Each LIS administrator must
     request the configuration of these parameters at subscription time. The
     administrator of each LIS must update these parameters as each new
     station is added to the LIS.

        o SMDS LIS Group Address(smds$lis-ga). An SMDS Group address must be
          configured at subscription time to identify the SMDS Subscriber
          Network Interfaces (SNI) of all members of the LIS connected to
          SMDS.

        o SMDS Address Screening Tables (Source and Destination). The use of
          SMDS screening tables is not necessary for the operation of IP
          over SMDS. If the SMDS screening tables are to be used, both
          source and destination tables for each SNI must be configured to
          allow, at minimum, both the direct communication between all hosts
          in the same LIS and the use of the SMDS LIS Group Address.


Packet Format

     IP datagrams and ARP requests and replies sent over SMDS shall be
     encapsulated within the IEEE 802.2 LLC Type 1 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).











Piscitello, Lawrence                                     [Page 5]

Internet Draft        IP and ARP over SMDS      November 20, 1990



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

                    Figure 2.  Data Link Encapsulation

        o The value of HLPI in the SIP L3 Header is 1.

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

        o The value of DSAP and SSAP in the LLC header is Internet decimal
          170 (AA hexadecimal).

        o The Ctrl (Control) value in the LLC header is 3 (Indicates Type
          One Unnumbered Information).

        o The value of PID in the SNAP header is zero (000000 hexadecimal).

        o The EtherType for IP is Internet decimal 2048 (0800 hexadecimal).
          The EtherType for ARP is Internet decimal 2054 (0806 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 (Internet 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 (Internet decimal 170) [10].  The 24-bit
     PID/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 hexadecimal format.








Piscitello, Lawrence                                     [Page 6]

Internet Draft        IP and ARP over SMDS      November 20, 1990



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

                   Figure 3.  IP Data Link Encapsulation



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

                  Figure 4.  ARP Data Link Encapsulation


Address Resolution

     The dynamic mapping of unknown 32-bit Internet addresses to 60-bit SMDS
     addresses shall be done via the dynamic discovery procedure of the
     Address Resolution Protocol (ARP) [2].

     Internet addresses are assigned independent of SMDS addresses.  Each
     host's implementation must know its own Internet address and SMDS
     address and respond to Address Resolution requests appropriately.
     Hosts  must also use ARP to translate Internet addresses to SMDS
     addresses when needed.

     The ARP protocol has several fields that parameterize its use in any
     specific context [2].  These fields are:

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

        o The hardware type code assigned to SMDS addresses is Internet
          decimal 14 (0E hexadecimal) [11].




Piscitello, Lawrence                                     [Page 7]

Internet Draft        IP and ARP over SMDS      November 20, 1990



        o The protocol type code for IP is Internet decimal 2048 (0800
          hexadecimal) [11].

        o The hardware address length for SMDS is 8.

        o The protocol address length for IP is 4.

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

     SMDS addresses are 60 bits plus a 4 bit Address Type.  The Address Type
     subfield occupies the 4 most significant bits of the destination and
     source address fields of the SIP L3_PDU.  It contains the value 1100 to
     indicate an individual address and the value 1110 for a 60-bit group
     address.  The 60 bit SMDS hardware addresses in ARP packets (ar$sha,
     ar$tha) must be carried SMDS native address format with the most
     significant bit of the Address Type sub-field as the high order bit of
     the first octet.  Although outside the scope of this document, it is
     recommended that SMDS 60 bit addresses be represented in this format in
     all Network Layer protocols.

     Traditionally, ARP requests are broadcast to all directly connected
     stations. For SMDS, the ARP request packet is transmitted to the
     smds$arp-req hardware address.  In the LIS configuration, the
     smds$arp-req address is set to smds$lis-ga, (the SMDS group address
     that identifies all members of the LIS).  It is conceivable that in a
     larger scale, public configuration, the smds$arp-req address would be
     configured to the address of some ARP-server(s) instead of the group
     address that identifies the entire LIS.


IP Broadcast Address

     There is no facility for complete hardware broadcast addressing over
     SMDS.  As discussed in the "LIS Configuration" section, a 60-bit SMDS
     group address (smds$lis-ga) shall be configured to include all stations
     in the same LIS.  The broadcast Internet address (the address on that
     network with a host part of all binary ones) must be mapped to
     smds$lis-ga (see also [12]).


IP Multicast Support

     A method of supporting IP multicasting is specified in [13].  It would
     be desirable to fully utilize the SMDS group address capabilities to
     support IP multicasting. However, the method in [13] requires a Network
     Service Interface which provides multicast-like ability to provide
     dynamic access to the local network service interface operations:



Piscitello, Lawrence                                     [Page 8]

Internet Draft        IP and ARP over SMDS      November 20, 1990



        o JoinLocalGroup ( group-address)

        o LeaveLocalGroup (group-address)

     The SMDS group address ability does not currently support dynamic
     subscription and removal from group address lists. Therefore, it is
     recommended that in the LIS configuration, if IP multicasting is to be
     supported, the method of IP multicasting described for pure broadcast
     media, such as the Experimental Ethernet, be used. For this method, all
     Multicast IP addresses are mapped to the same SMDS address which the
     broadcast Internet address is mapped for a given LIS.  Thus all
     Multicast IP addresses are mapped to smds$lis-ga. Filtering of
     multicast packets must be performed in the destination host.


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.  Trailers shall not be used over SMDS.


Byte Order

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


MAC Sublayer Details


Packet Size.

     SMDS defines a maximum service data unit size of 9188 information
     octets. This leaves 9180 octets for user data after the LLC/SNAP header
     is taken into account.  Therefore, the MTU for IP stations operating
     over SMDS networks shall be 9180 octets.

     Router 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 larger 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 [15].  In



Piscitello, Lawrence                                     [Page 9]

Internet Draft        IP and ARP over SMDS      November 20, 1990



     addition, a host may use a MTU path discovery protocol [16], [17] to
     help select an appropriate datagram size other than 576.

     Datagrams transferred over SMDS may be longer than the general Internet
     default maximum packet size of 576 octets.  Hosts connected to SMDS
     should keep this in mind when sending datagrams to hosts that are not
     on the same IP network/subnet.  It may be appropriate to send smaller
     datagrams to avoid unnecessary fragmentation at intermediate routers.
     Please see [15] for further information.

     There is no minimum packet size restriction defined for SMDS.


Other MAC Sublayer Issues

     SMDS requires that the 60-bit address format be used in both source and
     destination address fields of the SIP L3_PDU.


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 IEEE 802.2.  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.  Both [4] and [5] describe the minimum
     functionality necessary for a conformant station.  Implementors should
     also consult IEEE Std. 802.2 [18] for details.





















Piscitello, Lawrence                                    [Page 10]

Internet Draft        IP and ARP over SMDS      November 20, 1990




                                 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. "Generic Systems Requirements in support of Switched Multi-
    megabit Data Service", Technical Advisory TA-TSY-000772, Bell
    Communications Research, Inc., Issue 3, October, 1989.

 4. Postel, J., and Reynolds, J., "A Standard for the
    Transmission of IP Datagrams over IEEE 802 Networks", RFC-
    1042, USC/Information Sciences Institute, February, 1988.

 5. Katz, D., "A Proposed Standard for the Transmission of IP
    Datagrams over FDDI Networks", RFC-1103, Merit/NSFNET.

 6. F. R. Dix, M. Kelly, and R. W. Klessig, "Access to a Public
    Switched Multi-Megabit Data Service Offering", ACM SIGCOMM
    CCR, July 1990.

 7. Hemrick, C. and L. Lang, "Introduction to Switched Multi-
    megabit Data Service (SMDS), an Early Broadband Service",
    publication pending in the Proceedings of the XIII
    International Switching Symposium (ISS 90), May 27, 1990 -
    June 1, 1990.

 8. Institute of Electrical & Electronic Engineers, Inc. IEEE
    P802.6/D14, Proposed Standard Distributed Queue Dual Bus
    (DQDB) Subnetwork of a Metropolitan Area Network (MAN), July
    1990.

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

10. IEEE, "Draft Standard P802.1A--Overview and Architecture",
    1989.

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



Piscitello, Lawrence                                    [Page 11]

Internet Draft        IP and ARP over SMDS      November 20, 1990





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

13. Deering, S., "Host Extensions for IP Multicasting", RFC-1112,
    Stanford University, August, 1989.

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

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

16. Mogul, J., et al, "IP MTU Discovery Options", RFC-1063,
    USC/Information Sciences Institute, July 1988.

17. Mogul, J., Deering, S.,"Path MTU Discovery",Internet-Draft,
    Stanford University, August 1990.

18. IEEE,"ANSI/IEEE Std 802.2-1985, ISO Draft International
    Standard 8802/2", IEEE, New York, New York, 1985


























Piscitello, Lawrence                                    [Page 12]