home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 1000s / rfc1088.txt < prev    next >
Text File  |  1989-02-16  |  6KB  |  171 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                  L. McLaughlin III
  8. Request for Comments: 1088                                           TWG
  9.                                                            February 1989
  10.  
  11.  
  12.  A Standard for the Transmission of IP Datagrams over NetBIOS Networks
  13.  
  14. Status of this Memo
  15.  
  16.    This document specifies a standard method of encapsulating the
  17.    Internet Protocol [1] (IP) datagrams on NetBIOS [2] networks.
  18.    Distribution of this memo is unlimited.
  19.  
  20. Introduction
  21.  
  22.    The goal of this specification is to allow compatible and
  23.    interoperable implementations for transmitting IP datagrams over
  24.    NetBIOS networks.
  25.  
  26.    NetBIOS is a standard which specifies a means of creating virtual
  27.    circuits and of transmitting and receiving point-to-point, multicast,
  28.    and broadcast datagrams.  This specification uses only the datagram
  29.    services.
  30.  
  31.    Previous versions of this memo specified the use of the NetBIOS
  32.    broadcast datagram services instead of the NetBIOS group name
  33.    services to implement IP broadcasting.  These versions are now
  34.    obsolete.
  35.  
  36. Description
  37.  
  38.    NetBIOS networks may be used to support IP networks and subnets [3]
  39.    of any class.  By means of encapsulating IP datagrams within NetBIOS
  40.    datagrams and assigning IP numbers to the hosts on a NetBIOS network,
  41.    IP-based applications are supported on these hosts.  The addition of
  42.    a router capable of encapsulating IP packets within ordinary data-
  43.    link protocols (such as 802.3 [4]) as well as within NetBIOS
  44.    datagrams allows these NetBIOS hosts to communicate with the Internet
  45.    at large.
  46.  
  47. Address Mappings
  48.  
  49.    In general, NetBIOS names may be any series of 16 bytes, however, a
  50.    few values are reserved or used by common networking packages.
  51.    NetBIOS names for the IP applications on each host are chosen on the
  52.    basis of the internet number of that host.  Since NetBIOS names are a
  53.    mapping of IP addresses, no physical address query mechanism (e.g.,
  54.    ARP [5]) is required.
  55.  
  56.  
  57.  
  58. McLaughlin                                                      [Page 1]
  59.  
  60. RFC 1088                IP over NetBIOS networks           February 1989
  61.  
  62.  
  63.    For these internet protocol applications, IP.XX.XX.XX.XX is the
  64.    NetBIOS name for any IP over NetBIOS host where XX represents the
  65.    ascii hexadecimal representation of that byte of the internet
  66.    address.
  67.  
  68.    This addressing scheme allows for the multiplexing of standard
  69.    datagram protocols over NetBIOS as well as easy visual confirmation
  70.    of the correctness of a given packet's address.
  71.  
  72. Broadcast and Multicast Addresses
  73.  
  74.    Broadcast Internet addresses are represented by the NetBIOS group
  75.    name IP.FF.FF.FF.FF.  Currently, no attempt is made to provide
  76.    support of IP multicast addresses using NetBIOS group names.
  77.  
  78. Maximum Transmission Unit
  79.  
  80.    The maximum data size of a NetBIOS datagram, and therefore the
  81.    Maximum Transmission Unit (MTU) for IP over NetBIOS networks, is 512
  82.    bytes.  Therefore, any hosts communicating with a host on a NetBIOS
  83.    network may be required to reassemble fragmented datagrams.
  84.  
  85. Implementation
  86.  
  87.    To support IP on a NetBIOS host for any given IP address the
  88.    initialization code must:
  89.  
  90.        1) Add IP.XX.XX.XX.XX to the host's NetBIOS name table.
  91.  
  92.        2) Add IP.FF.FF.FF.FF to the host's NetBIOS group name table.
  93.  
  94.        3) Submit a receive datagram request for the reception of NetBIOS
  95.           datagrams destined for IP.XX.XX.XX.XX.
  96.  
  97.        4) Submit a receive datagram request for the reception of NetBIOS
  98.           datagrams destined for IP.FF.FF.FF.FF.
  99.  
  100.    When a NetBIOS datagram to either address is received, it is
  101.    processed by the protocol stack and another receive datagram request
  102.    is submitted.
  103.  
  104.    When an IP datagram is sent, it is considered to be NetBIOS datagram
  105.    data and sent by a send datagram request to either IP.XX.XX.XX.XX or
  106.    IP.FF.FF.FF.FF.
  107.  
  108.    Optionally, the IP software may desire to make adapter status queries
  109.    of the NetBIOS network.  As support for SNMP becomes a requirement
  110.    for IP hosts, these adapter status queries may become mandatory.
  111.  
  112.  
  113.  
  114. McLaughlin                                                      [Page 2]
  115.  
  116. RFC 1088                IP over NetBIOS networks           February 1989
  117.  
  118.  
  119.    Finally, when the IP support for a given NetBIOS host is
  120.    discontinued, a cancel command request should be submitted for every
  121.    pending receive datagram, and a delete name request should be
  122.    submitted for both the IP.XX.XX.XX.XX and IP.FF.FF.FF.FF address
  123.    added during initialization.
  124.  
  125. Acknowledgements
  126.  
  127.    This document would not have been possible without the efforts of
  128.    John Bartas, James Davidson, and Dan Ladermann in the early design
  129.    and implementation of IP over NetBIOS.
  130.  
  131. References
  132.  
  133.      [1]  Postel, J., "Internet Protocol", RFC-791, September 1981.
  134.  
  135.      [2]  IBM PC Network Technical Reference, Document Number 6322916,
  136.           September 1984.
  137.  
  138.      [3]  Mogul, J., and J. Postel, "Internet Standard Subnetting
  139.           Procedure", RFC-950, August 1985.
  140.  
  141.      [4]  Postel, J., and J. Reynolds, "A Standard for the Transmission
  142.           of IP datagrams over IEEE 802 Networks", RFC-1042,
  143.           February 1988.
  144.  
  145.      [5]  Plummer, D., "An Ethernet Address Resolution Protocol",
  146.           RFC-826, November 1982.
  147.  
  148. Author's Address:
  149.  
  150.    Leo J. McLaughlin III
  151.    The Wollongong Group
  152.    1129 San antonio Road
  153.    Palo Alto, CA 94303
  154.  
  155.    Phone: (415) 962-7100
  156.  
  157.    EMail: ljm@TWG.COM
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170. McLaughlin                                                      [Page 3]
  171.