home *** CD-ROM | disk | FTP | other *** search
/ Internet Core Protocols / Oreilly-InternetCoreProtocols.iso / RFCs / rfc2625.txt < prev    next >
Encoding:
Text File  |  1999-10-14  |  138.0 KB  |  3,532 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                       M. Rajagopal
  8. Request for Comments: 2625                                    R. Bhagwat
  9. Category: Standards Track                                     W. Rickard
  10.                                                         Gadzoox Networks
  11.                                                                June 1999
  12.  
  13.  
  14.                      IP and ARP over Fibre Channel
  15.  
  16. Status of this Memo
  17.  
  18.    This document specifies an Internet standards track protocol for the
  19.    Internet community, and requests discussion and suggestions for
  20.    improvements.  Please refer to the current edition of the "Internet
  21.    Official Protocol Standards" (STD 1) for the standardization state
  22.    and status of this protocol.  Distribution of this memo is unlimited.
  23.  
  24. Copyright Notice
  25.  
  26.    Copyright (C) The Internet Society (1999).  All Rights Reserved.
  27.  
  28. Abstract
  29.  
  30.    Fibre Channel (FC) is a high speed serial interface technology that
  31.    supports several higher layer protocols including Small Computer
  32.    System Interface (SCSI) and Internet Protocol(IP). Until now, SCSI
  33.    has been the only widely used protocol over FC. Existing FC standards
  34.    [3] do not adequately specify how IP packets may be transported over
  35.    FC and how IP addresses are resolved to FC addresses. The purpose of
  36.    this document is to specify a way of encapsulating IP and Address
  37.    Resolution Protocol(ARP) over Fibre Channel and also to describe a
  38.    mechanism(s) for IP address resolution.
  39.  
  40. Table of Contents
  41.  
  42.    1. Introduction ...............................................  3
  43.    2. Problem Statement ..........................................  5
  44.    3. IP and ARP Encapsulation ...................................  5
  45.       3.1 FC Frame Format ........................................  5
  46.       3.2 MTU ....................................................  7
  47.           3.2.1 IP MTU ...........................................  7
  48.           3.2.2 Maximally Minimum IPv4 packet ....................  8
  49.           3.2.3 ARP MTU ..........................................  8
  50.           3.2.4 FC Data Field containing FARP Packet .............  9
  51.       3.3 FC Port and Node Network Addresses .....................  9
  52.       3.4 FC Sequence Payload Format ............................. 10
  53.       3.5 Bit and Byte Ordering .................................. 12
  54.    4. ARP ........................................................ 12
  55.  
  56.  
  57.  
  58. Rajagopal, et al.           Standards Track                     [Page 1]
  59.  
  60. RFC 2625             IP and ARP over Fibre Channel             June 1999
  61.  
  62.  
  63.       4.1 Address Resolution  .................................... 12
  64.       4.2 ARP Packet Format ...................................... 13
  65.       4.3 ARP Layer Mapping and Operation ........................ 15
  66.       4.4 ARP Broadcast in a Point-to-Point Topology ............. 16
  67.       4.5 ARP Broadcast in a Private Loop Topology ............... 16
  68.       4.6 ARP Broadcast in a Public Loop Topology ................ 16
  69.       4.7 ARP Operation in a Fabric Topology ..................... 17
  70.    5. FARP ....................................................... 18
  71.       5.1 Scope .................................................. 18
  72.       5.2 FARP Overview .......................................... 18
  73.       5.3 FARP Command Format .................................... 20
  74.       5.4 Match Address Code Points .............................. 22
  75.       5.5 Responder Flags ........................................ 23
  76.       5.6 FARP Support Requirements .............................. 24
  77.    6. Exchange Management ........................................ 25
  78.       6.1 Exchange Origination ................................... 25
  79.       6.2 Exchange Termination ................................... 25
  80.    7. Summary of Supported Features .............................. 25
  81.       7.1 FC-4 Header ............................................ 25
  82.       7.2 R_CTL .................................................. 26
  83.       7.3 F_CTL .................................................. 27
  84.       7.4 Sequences .............................................. 28
  85.       7.5 Exchanges .............................................. 29
  86.       7.6 ARP  and InARP ......................................... 30
  87.       7.7 Extended Link Services (ELS) ........................... 31
  88.       7.8 Login Parameters ....................................... 31
  89.           7.8.1 Common Service Parameters  - FLOGI ............... 32
  90.           7.8.2 Common Services Parameters - PLOGI ............... 32
  91.           7.8.3 Class Service Parameters - PLOGI ................. 32
  92.    8. Security Considerations .................................... 32
  93.       8.1 IP and ARP Related ..................................... 32
  94.       8.2 FC Related ............................................. 32
  95.    9. Acknowledgements ........................................... 33
  96.    10. References ................................................ 33
  97.    11. Authors' Addresses ........................................ 35
  98.    Appendix A: Additional Matching Mechanisms in FARP ............ 36
  99.    Appendix B: InARP ............................................. 40
  100.       B.1 General Discussion ..................................... 40
  101.       B.2 InARP Protocol Operation ............................... 40
  102.       B.3 InARP Packet Format .................................... 40
  103.       B.4 InARP Support Requirements ............................. 41
  104.    Appendix C: Some Informal Mechanisms for FC Layer Mappings .... 42
  105.       C.1 Login on cached Mapping Information .................... 42
  106.       C.2 Login on ARP parsing ................................... 42
  107.       C.3 Login to Everyone ...................................... 43
  108.       C.4 Static Table ........................................... 43
  109.    Appendix D: FC Layer Address Validation........................ 44
  110.       D.1 General Discussion ..................................... 44
  111.  
  112.  
  113.  
  114. Rajagopal, et al.           Standards Track                     [Page 2]
  115.  
  116. RFC 2625             IP and ARP over Fibre Channel             June 1999
  117.  
  118.  
  119.       D.2 FC Layer Address Validation in a Point-to-Point Topology 45
  120.       D.3 FC Layer Address Validation in a Private Loop Topology . 45
  121.       D.4 FC Layer Address Validation in a Public Loop Topology .. 45
  122.       D.5 FC layer Address Validation in a Fabric Topology ....... 46
  123.    Appendix E: Fibre channel Overview ............................ 47
  124.       E.1 Brief Tutorial ......................................... 47
  125.       E.2 Exchange, Information Unit, Sequence, and Frame ........ 48
  126.       E.3 Fibre Channel Header Fields ............................ 49
  127.       E.4 Code Points for FC Frame ............................... 52
  128.            E.4.1 Code Points with IP and ARP Packet .............. 52
  129.            E.4.2 Code Points with FARP Command ................... 54
  130.    Appendix F: Fibre Channel Protocol Considerations.............. 58
  131.       F.1 Reliability in Class 3 ................................. 58
  132.       F.2 Continuously Increasing SEQ_CNT ........................ 58
  133.    Appendix G: Acronyms and Glossary of FC Terms ................. 60
  134.    Full Copyright Statement ...................................... 63
  135.  
  136. 1. Introduction
  137.  
  138.    Fibre Channel (FC) is a gigabit speed networking technology primarily
  139.    used for Storage Area Networking (SAN). FC is standardized under
  140.    American National Standard for Information Systems of the National
  141.    Committee for Information Technology Standards (NCITS) and has
  142.    specified a number of documents describing its protocols, operations,
  143.    and services.
  144.  
  145.    Need:
  146.  
  147.    Currently, Fibre Channel is predominantly used for communication
  148.    between storage devices and servers using the SCSI protocol, with
  149.    most  of the servers still communicating with each other over LANs.
  150.    Although, there exists a Fibre Channel Standard [3] that has
  151.    architecturally defined support for IP encapsulation and address
  152.    resolution, it is inadequately specified. ([3] prohibits broadcasts,
  153.    thus loops are not covered; [10] has no support for Class 3).
  154.  
  155.    This has lead to a nonstandard way of using IP over FC in the past.
  156.    Once such a standard method is completely specified, servers can
  157.    directly communicate with each other using IP over FC, possibly
  158.    boosting performance in Server host-to-host communications.  This
  159.    technique will be especially useful in a Clustering Application.
  160.  
  161.    Objective and Scope:
  162.  
  163.    The major objective of this specification is to promote interoperable
  164.    implementations of IPv4 over FC. This specification describes a
  165.    method for encapsulating IPv4 and Address Resolution Protocol (ARP)
  166.    packets over FC. This specification accommodates any FC topology
  167.  
  168.  
  169.  
  170. Rajagopal, et al.           Standards Track                     [Page 3]
  171.  
  172. RFC 2625             IP and ARP over Fibre Channel             June 1999
  173.  
  174.  
  175.    (loop, fabric, or point-to-point) and any FC class of service (1, 2
  176.    or 3).  This specification also describes a FC Address Resolution
  177.    Protocol(FARP) for associating World Wide Port Names (MAC addresses)
  178.    and FC Port identifiers.
  179.  
  180.    A secondary objective of this specification is to describe other
  181.    optional address resolution mechanisms:
  182.  
  183.       - Other FARP mechanisms that directly build IPv4 address and FC
  184.         Port Identifier (Port_ID) associations.
  185.       - Inverse ARP (InARP) that allows learning the IP address of a
  186.         remote node given its World Wide Port Name (WW_PN) and Port_ID.
  187.  
  188.    "Multicasting" in Fibre Channel is defined as an optional service
  189.    [11] for FC Classes 3 and 6 only, with no definition for Classes 1
  190.    and 2. Currently, there are no vendor implementations of this service
  191.    for either Class of service. Broadcast service available within Fibre
  192.    Channel can be used to do multicasting, although less efficiently.
  193.    Presently, there appears to be no IP applications over Fibre Channel
  194.    that require support for IP multicasting. This specification
  195.    therefore does not support IP Multicasting.
  196.  
  197.    Organization:
  198.  
  199.    Section 2 states the problem that is solved in this  specification.
  200.    Section 3 describes the techniques used for encapsulating  IP and ARP
  201.    packets in a FC sequence. Section 4 discusses the ARP protocol(IP
  202.    address to WW_PN). Section 5 discusses the FARP protocol used in FC
  203.    Layer mappings (WW_PN to Port_ID).  Section 6 describes the
  204.    "Exchange" Management in FC. Section 7 is a summary section and
  205.    provides a quick reference to FC header settings, FC Link Service
  206.    Commands, supported features in ARP, FARP, InARP, FC Sequences, FC
  207.    Exchanges, and FC Login Parameters.  Section 8 discusses security.
  208.    Section 9 acknowledges the technical contributors of this document.
  209.    Section 10 provides a list of references, and Section 11 provides the
  210.    authors' addresses.
  211.  
  212.    Appendix A discusses other optional FARP mechanisms. Appendix B
  213.    discusses the Inverse ARP protocol(WW_PN to IP address) as an
  214.    alternate and optional way of building MAC and IP address
  215.    associations. Appendix C lists some informal mechanisms for FC Layer
  216.    Mappings.  Appendix D provides a discussion on validation of the FC-
  217.    layer mappings for the different FC topologies.  Appendix E provides
  218.    a brief overview of the FC Protocols and Networks.  Appendix F
  219.    addresses reliability in Class 3 and Sequence Count FC Protocol
  220.    issues.  Appendix G provides a list of acronyms and a glossary of FC
  221.    Terms used in this specification.
  222.  
  223.  
  224.  
  225.  
  226. Rajagopal, et al.           Standards Track                     [Page 4]
  227.  
  228. RFC 2625             IP and ARP over Fibre Channel             June 1999
  229.  
  230.  
  231.    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
  232.    "SHOULD", SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
  233.    document are to be interpreted as described in RFC 2119 [19].
  234.  
  235. 2. Problem Statement
  236.  
  237.    This specification addresses two problems:
  238.  
  239.         - A format definition and encapsulation mechanism for IPv4
  240.           and ARP packets over FC
  241.         - Mechanisms for Address Resolution
  242.  
  243.    As noted earlier, the existing FC Standard [3] ([10]) is inadequate
  244.    to solve the above problems. A solution to both problems was first
  245.    proposed by the Fibre Channel Association (FCA)[1]. FCA is an
  246.    industry consortium of FC vendor companies and not a Standards Body.
  247.    This specification is based on the proposed solution in [1] and
  248.    builds on it.
  249.  
  250.    Address Resolution is concerned with resolving IP addresses to WW_PN
  251.    (MAC address) and WW_PN to FC Port Identifiers (Port_ID). ARP
  252.    provides a solution to the first resolution problem and FARP the
  253.    second.
  254.  
  255.    An optional FARP mechanism resolves IP address directly to FC
  256.    Port_IDs. This is useful in some upper layer applications.
  257.  
  258.    InARP is another optional mechanism that resolves WW_PN and Port_ID
  259.    to an IP address.  InARP is useful when a node after performing a
  260.    PLOGI with another node, knows its WW_PN and Port_ID, but not its IP
  261.    address.
  262.  
  263. 3. IP and ARP Encapsulation
  264.  
  265. 3.1 FC Frame Format
  266.  
  267.    All FC frames have a standard format much like LAN 802.x protocols.
  268.    (See Appendix E and F).  However, the exact size of each frame varies
  269.    depending on the size of the variable fields.  The size of the
  270.    variable field ranges from 0 to 2112-bytes as shown in the FC Frame
  271.    Format in Fig. 1.
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282. Rajagopal, et al.           Standards Track                     [Page 5]
  283.  
  284. RFC 2625             IP and ARP over Fibre Channel             June 1999
  285.  
  286.  
  287.          +------+--------+-----------+----//-------+------+------+
  288.          | SOF  |Frame   |Optional   |  Frame      | CRC  |  EOF |
  289.          | (4B) |Header  |Header     | Payload     | (4B) | (4B) |
  290.          |      |(24B)   |<----------------------->|      |      |
  291.          |      |        | Data Field = (0-2112B)  |      |      |
  292.          +------+--------+-----------+----//-------+------+------+
  293.                           Fig. 1 FC Frame Format
  294.  
  295.    The Start of Frame (SOF) and End of Frame (EOF) are both 4-bytes long
  296.    and act as frame delimiters.
  297.  
  298.    The CRC is 4-bytes long and uses the same 32-bit polynomial used in
  299.    FDDI and is specified in ANSI X3.139 Fiber Distributed Data
  300.    Interface.
  301.  
  302.    The Frame Header is 24-bytes long and has several fields that are
  303.    associated with the identification and control of the payload. Some
  304.    of the values and options for this field that are relevant to the IP
  305.    and ARP payloads are discussed in Section 7.
  306.  
  307.    Current FC Standards allow up to 3 Optional Header fields [11]:
  308.  
  309.      - Network_Header (16-bytes)
  310.      - Association_Header (32-bytes)
  311.      - Device_Header (up to 64-bytes).
  312.  
  313.    The IP and ARP FC Sequences SHALL carry only the Network_Header field
  314.    which is 16-bytes long. Other types of optional headers SHALL NOT be
  315.    used.  The Network_Header is REQUIRED in all ARP packets and in the
  316.    first frame of a logical sequence carrying an IP payload as described
  317.    below.
  318.  
  319.    An application level payload such as IP is called an Information Unit
  320.    at the FC-4 Level. Lower FC levels map this to a FC Sequence.  (See
  321.    Appendix E.2 for a description of Sequences and Information Units.)
  322.    Typically, a Sequence consists of more than one frame. Larger user
  323.    data is segmented and reassembled using two methods: Sequence Count
  324.    and Relative Offset [18]. With the use of Sequence Count, data blocks
  325.    are sent using frames with increasing sequence counts (modulo 65536)
  326.    and it is quite straightforward to detect the first frame that
  327.    contains the Network_Header.  When Relative Offset is used, as frames
  328.    arrive, some computation is required to detect the first frame that
  329.    contains the Network_Header. Sequence Count and Relative Offset field
  330.    control information, is carried in the FC Header.
  331.  
  332.    In FC, the physical temporal ordering of the frames as it arrives at
  333.    a destination can be different from that of the order sent because of
  334.    traversing through a FC Network.
  335.  
  336.  
  337.  
  338. Rajagopal, et al.           Standards Track                     [Page 6]
  339.  
  340. RFC 2625             IP and ARP over Fibre Channel             June 1999
  341.  
  342.  
  343.    When IP forms the FC Payload then only the first frame of the logical
  344.    Sequence SHALL include the FC Network_Header. Fig. 2 shows the
  345.    logical First Frame and logical subsequent frames. Since frames may
  346.    arrive out of order, detection of the first frame of the logical FC
  347.    Sequence is necessary.
  348.  
  349.    ARP packets map to a single frame FC Sequence and SHALL always carry
  350.    the FC Network_Header.
  351.  
  352.    Note the definition of FC Data Field and FC Frame Payload in Fig. 1.
  353.    FC Data Field includes the FC Frame Payload and the FC Optional
  354.    Header, that is, Frame Payload definition does not include the FC
  355.    Optional Header. One or more Frame Payloads together make the FC
  356.    Sequence Payload as shown in Fig 2 and discussed further in Sections
  357.    3.2 and 3.4. FC Sequence Payload includes the mapped IP or ARP packet
  358.    along with the LLC/SNAP headers.
  359.  
  360.                  First Frame of a Logical FC Sequence
  361.  ---+------------+---------------------------+----------//----------+---
  362.     |  FC Header |     FC Network_Header     | FC Sequence Payload  |
  363.  ---+------------+---------------------------+---------//-----------+---
  364.  
  365.               Subsequent Frames of a Logical FC Sequence
  366.           --+-----------+--------------//----------------+--
  367.             | FC Header | Additional FC Sequence Payload |
  368.           --+-----------+-------------//-----------------+--
  369.  
  370.              Fig. 2 FC Network_Header in a Frame Sequence
  371.  
  372.    The SOF, CRC, EOF control fields of the FC frame and other optional
  373.    headers have been omitted in the figure for clarity.
  374.  
  375. 3.2 MTU
  376.  
  377. 3.2.1 IP MTU
  378.  
  379.    An FC Information Unit specific to each protocol such as IP is
  380.    defined in FC-4. This defines the upper bound on the size of the
  381.    information that can be transported.
  382.  
  383.    Each IP or ARP Packet is mapped to a single FC Information Unit,
  384.    which in turn is mapped to a single FC Sequence. There is a one-to-
  385.    one mapping between an IP or ARP packet and a FC Sequence.
  386.  
  387.    Fibre Channel limits the size of a single Information Unit to 2^32-1,
  388.    which is very large [2].  However, since the Maximum Transmission
  389.    Unit (MTU) size of an IPv4 packet does not exceed 65,536-bytes, the
  390.    mapped IPv4 size is far below the 2^32-1 limit.
  391.  
  392.  
  393.  
  394. Rajagopal, et al.           Standards Track                     [Page 7]
  395.  
  396. RFC 2625             IP and ARP over Fibre Channel             June 1999
  397.  
  398.  
  399.    IPv4 Packet definition includes the IP Payload and IP Headers - both
  400.    fixed and optional.  The corresponding FC Sequence Payload includes
  401.    the LLC/SNAP Header and the IPv4 packet.
  402.  
  403.    As noted above, the greatest length allowed for an IPv4 Packet
  404.    including any optional headers and independent of this standard is
  405.    65,536-bytes. However, limiting the IP MTU size to 65,280-bytes helps
  406.    in buffer resource allocation at N_Ports and also allows for up to
  407.    256-bytes of overhead. Since the FC Network_Header requires 16-bytes
  408.    and the IEEE 802.2 LLC/SNAP header requires 8 bytes, it leaves 232
  409.    bytes for future use.
  410.  
  411.    All implementations SHALL restrict the IP MTU size to 65,280 bytes
  412.    and the corresponding FC Sequence Payload size to 65536-bytes.
  413.  
  414. 3.2.2 Maximally Minimum IPv4 Packet
  415.  
  416.    In order for IP fragmentation and reassembly to work properly it is
  417.    necessary that every implementation of IP be capable of transporting
  418.    a maximally minimum size IP packet without fragmentation. A maximally
  419.    minimum size IP Packet is defined as an IP Packet with an 8-byte
  420.    payload (the smallest possible non-zero payload size for a fragment)
  421.    and a 60-byte header (the largest possible header consisting of a
  422.    20-byte fixed part and a maximum size option field of 40-bytes) [17].
  423.  
  424.    All implementations SHALL support a FC Data Field of 92-bytes, which
  425.    is required to support 68-bytes of the maximally minimum sized IP
  426.    Packet, 16-bytes of the FC Network_Header, and 8-bytes of the
  427.    LLC/SNAP Header.
  428.  
  429. 3.2.3 ARP MTU
  430.  
  431.    The ARP packet has a fixed size of 28-bytes. All implementations
  432.    SHALL support a FC Data Field size of 52-bytes, which is required to
  433.    support 28-bytes of an ARP Packet, 16-bytes of the FC Network_Header,
  434.    and 8-bytes of the LLC/SNAP Header. Note that the minimum MTU
  435.    requirement for ARP is already covered by the minimum MTU requirement
  436.    for IP but it is mentioned here for completeness.
  437.  
  438.    The InARP packet is identical in size to the ARP and the same MTU
  439.    requirements apply.
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450. Rajagopal, et al.           Standards Track                     [Page 8]
  451.  
  452. RFC 2625             IP and ARP over Fibre Channel             June 1999
  453.  
  454.  
  455. 3.2.4 FC Data Field containing FARP Packet
  456.  
  457.    The FARP Command is a FC Extended Link Service (ELS) command and maps
  458.    directly to the FC Data Field without the LLC/SNAP or the FC
  459.    Network_Header. The FARP Command has a fixed size of 76-bytes.
  460.    Because FARP operates purely in the FC space, it places no special
  461.    MTU requirements in this specification.
  462.  
  463. 3.3 FC Port and Node Network Addresses
  464.  
  465.    FC devices are identified by Nodes and their Ports. A Node is a
  466.    collection of one or more Ports identified by a unique nonvolatile
  467.    64-bit World Wide Node name (WW_NN). Each Port in a node, is
  468.    identified with a unique nonvolatile 64-bit World Wide Port name
  469.    (WW_PN), and a volatile Port Identifier (Port_ID).
  470.  
  471.    Port_IDs are 24-bits long. A FC frame header carries a Source Port_ID
  472.    (S_ID) and a Destination Port_ID (D_ID). The Port_ID of a given port
  473.    is volatile. (The mechanism(s) by which a Port_ID may change in a FC
  474.    topology is outside the scope of this document. See Appendix D).
  475.  
  476.    The FC Network_Header is normally optional in FC Standards, but
  477.    REQUIRED in this specification.  A FC Network_Header carries source
  478.    and destination WW_PNs. A WW_PN consists of a 60-bit Network Address
  479.    and a upper 4-bit Network Address Authority (NAA) field as shown in
  480.    Fig. 3.  The 4-bit NAA field is used to distinguish between the
  481.    various name registration authorities used to define the Network
  482.    Address [2].
  483.  
  484.    In this specification, both the Source and Destination 4-bit NAA
  485.    identifiers SHALL be set to binary '0001' indicating that an IEEE
  486.    48-bit MAC address is contained in the lower 48 bits of the network
  487.    address fields. The high order 12 bits in the network address fields
  488.    SHALL be set to 0x0000. The NAA field value equal to binary '0001'
  489.    allows FC networks to be bridged with other FC networks or
  490.    traditional LANs.
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506. Rajagopal, et al.           Standards Track                     [Page 9]
  507.  
  508. RFC 2625             IP and ARP over Fibre Channel             June 1999
  509.  
  510.  
  511.          +--------+---------------------------------------+
  512.          | D_NAA  |Network_Dest_Address (High-order bits) |
  513.          |(4 bits)|              (28 bits)                |
  514.          +--------+---------------------------------------+
  515.          |      Network_Dest_Address (Low-order bits)     |
  516.          |                       (32 bits)                |
  517.          +--------+---------------------------------------+
  518.          | S_NAA  |Network_Source_Address(High-order bits)|
  519.          |(4 bits)|              (28 bits)                |
  520.          +--------+---------------------------------------+
  521.          |      Network_Source_Address (Low-order bit)    |
  522.          |                       (32 bits)                |
  523.          +--------+---------------------------------------+
  524.  
  525.               Fig. 3 Format of the Network_Header Field
  526.  
  527. 3.4 FC Sequence Payload Format
  528.  
  529.    FC Payload with IP:
  530.  
  531.    An FC Sequence Payload carrying an IP and ARP packet SHALL use the
  532.    formats shown in Figs. 4 and 5 respectively. Both formats use the
  533.    8-byte LLC/SNAP header.
  534.  
  535.  +-----------------+-----------+------------+-------------//----------+
  536.  | LLC/SNAP Header | IP Header | Opt.IP Hdr.|         IP Data         |
  537.  |   (8 bytes)     | (20 bytes)| (40 bytes  | (65280 -IP Header       |
  538.  |                 |           |   Max)     |   - Opt. IP Hdr.) bytes |
  539.  +-----------------+-----------+------------+-------------//----------+
  540.  
  541.            Fig. 4 Format of FC Sequence Payload carrying IP
  542.  
  543.    FC Sequence Payload with ARP:
  544.  
  545.    As noted earlier, FC frames belonging to the same Sequence may be
  546.    delivered out of order over a Fabric. If the Relative Offset method
  547.    is used to identify FC Sequence Payload fragments, then the IP Header
  548.    MUST appear in the frame that has a relative offset of 0.
  549.  
  550.                +-----------------+-------------------+
  551.                | LLC/SNAP Header |   ARP Packet      |
  552.                |   (8 bytes)     |   (28 bytes)      |
  553.                +-----------------+-------------------+
  554.  
  555.           Fig. 5 Format of FC Sequence Payload carrying ARP
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562. Rajagopal, et al.           Standards Track                    [Page 10]
  563.  
  564. RFC 2625             IP and ARP over Fibre Channel             June 1999
  565.  
  566.  
  567.    FC Sequence Payload with FARP:
  568.  
  569.    FARP Protocol commands are directly mapped to the Frame Sequence
  570.    Payload and are 76-bytes long. No LLC/SNAP Header or FC
  571.    Network_Header is used and therefore the FC Data Field size simply
  572.    consists of the FC Sequence Payload.
  573.  
  574.    LLC:
  575.  
  576.    A Logical Link Control (LLC) field along with a Sub Network Access
  577.    Protocol (SNAP) field is a method used to identify routed and bridged
  578.    non-OSI protocol PDUs and is defined by IEEE 802.2 and applied to IP
  579.    in [8]. In LLC Type 1 operation (i.e., unacknowledged connectionless
  580.    mode), the LLC header is 3-bytes long and consists of a 1-byte
  581.    Destination Service Access Point (DSAP)field, a 1-byte Source Service
  582.    Access Point (SSAP)field, and a 1-byte Control field as shown in Fig.
  583.    6.
  584.  
  585.                   +----------+----------+----------+
  586.                   |   DSAP   |   SSAP   |   CTRL   |
  587.                   | (1 byte) | (1 byte) | (1 byte) |
  588.                   +----------+----------+----------+
  589.                              Fig. 6 LLC Format
  590.  
  591.    The LLC's DSAP and SSAP values of 0xAA indicate that an IEEE 802.2
  592.    SNAP header follows. The LLC's CTRL value equal to 0x03 specifies an
  593.    Unnumbered Information Command PDU. In this specification the LLC
  594.    Header value SHALL be set to 0xAA-AA-03. Other values of DSAP/SSAP
  595.    indicate support for other protocols and SHALL NOT be used in this
  596.    specification.
  597.  
  598.    SNAP:
  599.  
  600.    The SNAP Header is 5-bytes long and consists of a 3-byte
  601.    Organizationally Unique Identifier (OUI) field and a 2-byte Protocol
  602.    Identifier (PID) as shown in Fig. 7
  603.  
  604.                    +------+------+-------+------+------+
  605.                    |         OUI         |     PID     |
  606.                    |      ( 3 bytes)     |  (2 bytes)  |
  607.                    +------+------+-------+------+------+
  608.                          Fig. 7 SNAP Format
  609.  
  610.    SNAP was invented to "encapsulate" LAN frames within the payload.
  611.    The SNAP OUI value equal to 0x00-00-00 specifies that the PID is an
  612.    EtherType (i.e., routed non-OSI protocol).
  613.  
  614.    The SNAP OUI value equal to 0x00-80-C2 indicates Bridged Protocols.
  615.  
  616.  
  617.  
  618. Rajagopal, et al.           Standards Track                    [Page 11]
  619.  
  620. RFC 2625             IP and ARP over Fibre Channel             June 1999
  621.  
  622.  
  623.    With the OUI value set to 0x00-00-00, the SNAP PID value equal to
  624.    0x08-00 indicates IP and a PID value equal to 0x08-06 indicates ARP
  625.    (or InARP).
  626.  
  627.    The complete LLC/SNAP Header is shown in Fig. 8.
  628.  
  629. +-----------+----------+----------+-------+-------+-------+-------+------+
  630. |    DSAP   |   SSAP   |   CTRL   |          OUI          |      PID     |
  631. |  (1 byte) | (1 byte) | (1 byte) |      ( 3 bytes)       |  (2 bytes    |
  632. +-----------+----------+----------+-------+-------+-------+-------+------+
  633.  
  634.                           Fig. 8 LLC/SNAP Header
  635.  
  636. 3.5 Bit and Byte Ordering
  637.  
  638.    IP or ARP Packets are mapped to FC-4 Level using the big endian byte
  639.    ordering, which corresponds to the standard network byte order or
  640.    canonical form [20]. FC-4 Payload maps with no change in order to the
  641.    FC-2 Level.
  642.  
  643.    FC-1 Level defines the method used to encode data prior to
  644.    transmission and subsequently decode the data upon reception. The
  645.    method encodes 8-bit bytes into 10-bit transmission characters to
  646.    improve the transmission characteristics of the serial data stream.
  647.    In Fibre Channel, data fields are aligned on word boundaries. See
  648.    Appendix E.  A word in FC is defined as 4 bytes or 32 bits. The
  649.    resulting transmission word after the 8-bit to 10-bit encoding
  650.    consists of 40 bits.
  651.  
  652.    Data words or Ordered Sets (special FC-2 Level control words) from
  653.    the FC-2 Level map to the FC-1 Level with no change in order and the
  654.    bytes in the word are transmitted in the Most Significant Byte first
  655.    to Least Significant Byte order. The transmission order of bits
  656.    within each byte is the Least Significant Bit to the Most Significant
  657.    Bit.
  658.  
  659. 4. ARP
  660.  
  661. 4.1 Address Resolution
  662.  
  663.    Address Resolution in this specification is primarily concerned with
  664.    associating IP addresses with FC Port addresses. As described
  665.    earlier, FC device ports have two types of addresses:
  666.  
  667.       - a non-volatile unique 64-bit address called World Wide Port_Name
  668.         (WW_PN)
  669.       - a volatile 24-bit address called a Port_ID
  670.  
  671.  
  672.  
  673.  
  674. Rajagopal, et al.           Standards Track                    [Page 12]
  675.  
  676. RFC 2625             IP and ARP over Fibre Channel             June 1999
  677.  
  678.  
  679.    The Address Resolution mechanism therefore will need two levels of
  680.    mapping:
  681.  
  682.       1. A mapping from the IP address to the WW_PN (i.e., IEEE
  683.          48-bit MAC address)
  684.  
  685.       2. A mapping from the WW_PN to the Port_ID (see Appendix G for a
  686.          definition of Port_ID)
  687.  
  688.    The address resolution problem is compounded by the fact that the
  689.    Port_ID is volatile and the second mapping MUST be valid before use.
  690.    Moreover, this validation process can be different depending on the
  691.    network topology used. Appendix D provides a discussion on validation
  692.    for the different FC topologies.
  693.  
  694.    Architecturally, the first level of mapping and control operation is
  695.    handled by the Address Resolution Protocol (ARP), and the second
  696.    level by the FC Address Resolution Protocol (FARP). FARP is described
  697.    in Section 5.
  698.  
  699.    Other optional mechanisms in FARP that directly map an IP address to
  700.    a Port_ID, or WW_NN to a Port_ID are described in Appendix A.
  701.  
  702.    The Inverse Address Resolution Protocol (InARP) is yet another
  703.    optional mechanism that resolves WW_PN and Port_IDs to IP addresses.
  704.    InARP is described in Appendix B.
  705.  
  706. 4.2 ARP Packet Format
  707.  
  708.    The Address Resolution Protocol (ARP) given in [9] was designed to be
  709.    a general purpose protocol, and to work with many network
  710.    technologies, and with many upper layer protocols. Fig 9 shows the
  711.    ARP packet format based on [9], where the upper layer protocol uses a
  712.    4 octet protocol (IP) address and the network technology uses six-
  713.    octet hardware (MAC) address.
  714.  
  715.    The ARP uses two packet types - Request and Reply - and each type of
  716.    packet is 28 -bytes long in this specification. The ARP Packet fields
  717.    are common to both ARP Requests and ARP Replys.
  718.  
  719.    The LLC/SNAP encapsulated ARP Request Packet is mapped to a FC
  720.    Broadcast Sequence and the exact mechanism used to broadcast a FC
  721.    Sequence depends on the FC topology. This is discussed later in this
  722.    section. Compliant ARP Request Broadcasts SHALL include
  723.    Network_Headers.
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730. Rajagopal, et al.           Standards Track                    [Page 13]
  731.  
  732. RFC 2625             IP and ARP over Fibre Channel             June 1999
  733.  
  734.  
  735.    The LLC/SNAP encapsulated ARP Reply Packet is mapped to a FC
  736.    Sequence. Compliant ARP Replys SHALL include Network_Headers.
  737.  
  738.    Note that in all discussions to follow, the WW_PN and the 48-bit MAC
  739.    address conceptually mean the same thing.
  740.  
  741.    The 'HW Type' field SHALL be set to 0x00-01.
  742.  
  743.    Technically, the correct HW Type value should be set to 0x00-06
  744.    according to RFC 1700 indicating IEEE 802 networks. However, as a
  745.    practical matter a HW Type value of 0x00-06 is known to cause
  746.    rejections from some Ethernet end stations when FC is bridged to
  747.    Ethernet. Translational bridges are normally expected to change this
  748.    field from Type 6 to 1 and vice versa under these configurations, but
  749.    many do not. It is because of this reason that the Type Code is set
  750.    to 1 rather than 6. However, both HW Type values of 0x00-01 and
  751.    0x00-06 SHALL be accepted.
  752.  
  753.    The 'Protocol' field SHALL be set to 0x08-00 indicating IP protocol.
  754.  
  755.    The 'HW Addr Length' field SHALL be set to 0x06 indicating 6-bytes of
  756.    HW address.
  757.  
  758.    The 'Protocol Addr Length' field SHALL be set to 0x04 indicating 4-
  759.    bytes of IPv4 address.
  760.  
  761.    The 'Operation' Code field SHALL be set as follows:
  762.  
  763.             0x00-01 for ARP Request
  764.             0x00-02 for ARP Reply
  765.  
  766.    The 'HW Addr of Sender' field SHALL be the 6-byte IEEE MAC address of
  767.    the sender. It is either the Requester (ARP Request) or the Responder
  768.    (ARP Reply) address.
  769.  
  770.    The 'Protocol Addr of Sender' field SHALL be the 4-byte IP address of
  771.    the Requester (ARP Request) or that of the Responder (ARP Reply).
  772.  
  773.    The 'HW Addr of Target' field SHALL be set to zero during an ARP
  774.    Request and to the 6-byte MAC address of the Requester (ARP Request)
  775.    in an ARP Reply.
  776.  
  777.    The 'Protocol Addr of Target' field SHALL be set to the 4-byte IP
  778.    address of the Responder (ARP Reply) in a ARP Request, and to the
  779.    4-byte IP address of the Requester (ARP Request) in an ARP Reply.
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786. Rajagopal, et al.           Standards Track                    [Page 14]
  787.  
  788. RFC 2625             IP and ARP over Fibre Channel             June 1999
  789.  
  790.  
  791.                      +-------------------------+
  792.                      | HW Type                 | 2 bytes
  793.                      +-------------------------+
  794.                      | Protocol                | 2 bytes
  795.                      +-------------------------+
  796.                      | HW Addr Length          | 1 byte
  797.                      +-------------------------+
  798.                      | Protocol Addr Length    | 1 byte
  799.                      +-------------------------+
  800.                      | Op Code                 | 2 bytes
  801.                      +-------------------------+
  802.                      | HW Addr of Sender       | 6 bytes
  803.                      +-------------------------+
  804.                      | Protocol Addr of Sender | 4 bytes
  805.                      +-------------------------+
  806.                      | HW Addr of Target       | 6 bytes
  807.                      +-------------------------+
  808.                      | Protocol Addr of Target | 4 bytes
  809.                      +-------------------------+
  810.                                           Total 28 bytes
  811.                       Fig. 9 ARP Packet Format
  812.  
  813. 4.3 ARP Layer Mapping and Operation
  814.  
  815.    Whenever a FC port wishes to send IP data to another FC port, then
  816.    the following steps are taken:
  817.  
  818.       1. The source port should first consult its local mapping tables to
  819.          determine the <destination IP address, destination WW_PN>.
  820.  
  821.       2. If such a mapping is found, then the source sends the IP
  822.          data to the port whose WW_PN address was found in the table.
  823.  
  824.       3. If such a mapping is not found, then the source sends an
  825.          ARP Request broadcast to its connected FC network in
  826.          anticipation of getting a reply from the correct destination
  827.          along with its WW_PN.
  828.  
  829.       4. When an ARP Request Broadcast frame is received by a node with
  830.          the matching IP address, it generates an ARP Reply.  Since the
  831.          ARP Reply must be addressed to a specific destination Port_ID,
  832.          the FC layer mapping between the WW_PN and Port_ID (of the ARP
  833.          Request orginator) MUST be valid before the reply is sent.
  834.  
  835.       5. If no node has the matching IP address, the result is a silent
  836.          behavior.
  837.  
  838.  
  839.  
  840.  
  841.  
  842. Rajagopal, et al.           Standards Track                    [Page 15]
  843.  
  844. RFC 2625             IP and ARP over Fibre Channel             June 1999
  845.  
  846.  
  847. 4.4 ARP Broadcast in a Point-to-Point Topology
  848.  
  849.    The ARP Request (Broadcast) and Reply mechanism described above still
  850.    apply, although there is only one node that receives the ARP Request.
  851.  
  852. 4.5 ARP Broadcast in a Private Loop Topology
  853.  
  854.    In a private loop, the ARP Request Broadcast frame is sent using the
  855.    broadcast method specified in the FC-AL [7]standard.
  856.  
  857.       1. The source port first sends an Open Broadcast Replicate
  858.          primitive (OPN(fr))Signal forcing all the ports in the loop
  859.          (except itself), to replicate the frames that they receive
  860.          while examining the frame header's Destination_ID field.
  861.  
  862.       2. The source port then removes this OPN(fr) signal when it
  863.          returns to it.
  864.  
  865.       3. The loop is now ready to receive the ARP broadcast.  The source
  866.          now sends the ARP Request as a single-frame Broadcast Sequence
  867.          in a Class 3 frame with the following FC Header D_ID field and
  868.          F_CTL bits setting:
  869.  
  870.     Destination ID <Word 0, bit 0:23>: D_ID = 0xFF-FF-FF
  871.  
  872.     Sequence Initiative <Word 2, bit23>: SI=0
  873.  
  874.     Last Sequence <Word 2, bit 20>: LS=1
  875.  
  876.     End Sequence <Word 2, bit 19>: ES=1.
  877.  
  878.       4. A compliant ARP Broadcast Sequence frame SHALL include the
  879.          Network_Header with destination MAC address set to 0xFF-FF-FF-
  880.          FF-FF-FF and with NAA = b'0001'
  881.  
  882.       5. The destination port recognizing its IP address in the ARP
  883.          Request packet SHALL respond with an ARP Reply.
  884.  
  885. 4.6 ARP Broadcast in a Public Loop Topology
  886.  
  887.    The following steps will be followed when a port is configured in a
  888.    public loop:
  889.  
  890.       1. A public loop device attached to a fabric through a FL_Port
  891.          MUST NOT use the OPN(fr) signal primitive. Rather, it sends the
  892.          broadcast sequence to the FL_Port at AL_PA = 0x00.
  893.  
  894.  
  895.  
  896.  
  897.  
  898. Rajagopal, et al.           Standards Track                    [Page 16]
  899.  
  900. RFC 2625             IP and ARP over Fibre Channel             June 1999
  901.  
  902.  
  903.       2. A FC Fabric propagates the broadcast to all other ports
  904.          including the FL_Port which the broadcast arrived on. This
  905.          includes all F_Ports, and other FL_Ports.
  906.  
  907.       3. On each FL_Port, the fabric propagates the broadcast by first
  908.          using the primitive signal OPNfr, in order to prepare the loop
  909.          to receive the broadcast sequence.
  910.  
  911.       4. A Broadcast Sequence is now sent on all ports (all FL_ports,
  912.          F_Ports) in Class 3 frame with:
  913.  
  914.     Destination ID <Word 0, bit 23:0>: D_ID = 0xFF-FF-FF
  915.  
  916.     Sequence Initiative <Word 2, bit23>: SI=0
  917.  
  918.     Last Sequence <Word 2, bit 20>: LS=1
  919.  
  920.     End Sequence <Word 2, bit 19>: ES=1.
  921.  
  922.       5. A compliant ARP Broadcast Sequence frame SHALL include the
  923.          Network_Header with destination MAC address set to 0xFF-FF-FF-
  924.          FF-FF-FF and with NAA = b'0001'
  925.  
  926.       6. The destination port recognizing its IP address in the ARP
  927.          Request packet SHALL respond with an ARP Reply.
  928.  
  929. 4.7 ARP Operation in a Fabric Topology
  930.  
  931.       1. Nodes directly attached to fabric do not require the OPN(fr)
  932.          primitive signal.
  933.  
  934.       2. A Broadcast Sequence is now sent on all ports (all FL_ports,
  935.          F_Ports) in Class 3 frame with:
  936.  
  937.              Destination ID <Word 0, bit 23:0>: D_ID = 0xFF-FF-FF
  938.  
  939.              Sequence Initiative <Word 2, bit23>: SI=0
  940.  
  941.              Last Sequence <Word 2, bit 20>: LS=1
  942.  
  943.              End Sequence <Word 2, bit 19>: ES=1.
  944.  
  945.       3. A compliant ARP Broadcast Sequence frame SHALL include the
  946.          Network_Header with destination MAC address set to
  947.          0xFF-FF-FF-FF-FF-FF and with NAA = b'0001'
  948.  
  949.       4. The destination port recognizing its IP address in
  950.          the ARP packet SHALL respond with an ARP Reply.
  951.  
  952.  
  953.  
  954. Rajagopal, et al.           Standards Track                    [Page 17]
  955.  
  956. RFC 2625             IP and ARP over Fibre Channel             June 1999
  957.  
  958.  
  959. 5.  FARP
  960.  
  961. 5.1 Scope
  962.  
  963.    FC Layer Mapping between the WW_PN and the Port_ID is independent of
  964.    the ARP mechanism and is more closely associated with the details of
  965.    the FC protocols. Name Server and FC Address Resolution Protocol
  966.    (FARP) are two formal mechanisms that can be used to create and
  967.    maintain WW_PN to Port_ID tables.
  968.  
  969.    FARP is a method using Extended Link Service (ELS) commands that
  970.    resolves <WW_PN, Port_ID> mappings. The WW_PN to Port_ID address
  971.    resolution using FARP is especially useful in instances where the
  972.    Login table entries at a node expire and a Name Server is not
  973.    available.  It is outside the scope of this document to describe Name
  974.    Server. (See [14].)
  975.  
  976.    Additional address matching mechanisms that resolve <WW_NN, Port_ID>
  977.    and <IP addr., Port_ID> mapping have been added to FARP. These
  978.    additional mechanisms are optional and described in Appendix A.
  979.    Direct IP address to Port_ID mapping is useful in applications where
  980.    there is no visibility of the MAC address.
  981.  
  982.    Other less formal FC Layer Mapping mechanisms are described in
  983.    Appendix C.
  984.  
  985.    Since Port_IDs are volatile, all mapped Port_IDs  at all times MUST
  986.    be valid before use. There are many events that can invalidate this
  987.    mapping. Appendix D discusses conditions when such a validation is
  988.    required.
  989.  
  990. 5.2 FARP Overview
  991.  
  992.    The FARP protocol uses two ELS commands - FARP-REQ and FARP-REPLY.
  993.  
  994.    Note: In the following discussion 'Requester' means the node
  995.       issuing the FARP-REQ ELS message; 'Responder' means the
  996.       node replying to the request by sending the FARP-REPLY
  997.       command.
  998.  
  999.    The FARP-REQ ELS Broadcast Request command is used to retrieve a
  1000.    specific node's current Port_ID given its unique WW_PN. This Port_ID
  1001.    is sent in a FARP-REPLY unicast command.
  1002.  
  1003.    The FARP-REQ may indicate that the Responder:
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010. Rajagopal, et al.           Standards Track                    [Page 18]
  1011.  
  1012. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1013.  
  1014.  
  1015.           - Perform only a Login with it (Requester) or,
  1016.           - Send only a FARP-REPLY or,
  1017.           - Perform a Login and send a FARP-REPLY.
  1018.  
  1019.    No sequence initiative is transferred with the FARP-REQ and therefore
  1020.    no Reply (ACCEPT or REJECT) follows this command.
  1021.  
  1022.    Since a Sequence Initiative is transferred with the FARP-REPLY,
  1023.    either a ACCEPT or REJECT follows this command as a response.
  1024.  
  1025.    Reception of a FARP-REQ requires a higher level entity at the
  1026.    responding node to send a FARP-REPLY or perform a Port Login.
  1027.  
  1028.    You do not have to be logged in to issue a FARP Request. Also, you do
  1029.    not have to be logged in to the FARP Requester to issue a FARP-REPLY.
  1030.  
  1031.    The FARP Protocol Steps:
  1032.  
  1033.         FARP-REQ (ELS broadcast) Request Sequence
  1034.  
  1035.              (No Reply Sequence)
  1036.  
  1037.         FARP-REPLY (ELS command) Sequence
  1038.  
  1039.              Accept/Reject Reply Sequence
  1040.  
  1041.    The FARP Protocol Format [2] and Size:
  1042.  
  1043.           FT_1, 76-bytes fixed size
  1044.  
  1045.    The FARP Protocol Addressing:
  1046.  
  1047.       - In a FARP-REQ, the S_ID in the FC Header designates the
  1048.       Requester's Port ID. The D_ID in the FC Header is the broadcast
  1049.       identifier 0xFF-FF-FF.
  1050.  
  1051.       - In a FARP-REPLY, the S_ID in the FC Header designates the
  1052.       Responder's Port_ID. The D_ID in the FC Header is the Requester's
  1053.       Port_ID.
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066. Rajagopal, et al.           Standards Track                    [Page 19]
  1067.  
  1068. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1069.  
  1070.  
  1071. 5.3 FARP Command Format
  1072.  
  1073.    FARP-REQ and FARP-REPLY commands have identical formats (76-bytes
  1074.    fixed size) and fields but use different command codes. See tables
  1075.    below.
  1076.  
  1077.  +---------------------------------------------------------------------+
  1078.  |                         FARP-REQ Command                            |
  1079.  +-------------------------------------+---------+---------------------+
  1080.  |               Field                 | Size    |   Remarks           |
  1081.  |                                     | (Bytes) |                     |
  1082.  +-------------------------------------+---------+---------------------+
  1083.  | 0x54-00-00-00                       |   4     | Request Command Code|
  1084.  +-------------------------------------+---------+---------------------+
  1085.  | Match Address Code Points           |   1     | Indicates Address   |
  1086.  |                                     |         | Matching  Mechanism |
  1087.  +-------------------------------------+---------+---------------------+
  1088.  | Port_ID of Requester                |   3     | Supplied by         |
  1089.  |                                     |         | Requester =         |
  1090.  |                                     |         | S_ID in FC Header   |
  1091.  +-------------------------------------+---------+---------------------+
  1092.  | Responder Flags                     |   1     | Response Action to  |
  1093.  |                                     |         | be taken            |
  1094.  +-------------------------------------+---------+---------------------+
  1095.  | Port_ID of Responder                |   3     | Set to 0x00-00-00   |
  1096.  +-------------------------------------+---------+---------------------+
  1097.  | WW_PN of Requester                  |   8     |Supplied by Requester|
  1098.  +-------------------------------------+---------+---------------------+
  1099.  + WW_NN of Requester                  |   8     |OPTIONAL;            |
  1100.  |                                     |         |See Appendix A       |
  1101.  +-------------------------------------+---------+---------------------+
  1102.  | WW_PN of Responder                  |   8     |Supplied by Requester|
  1103.  +-------------------------------------+---------+---------------------+
  1104.  | WW_NN of Responder                  |   8     |OPTIONAL; see App. A |
  1105.  +-------------------------------------+---------+---------------------+
  1106.  | IP Address of Requester             |   16    |OPTIONAL; see App. A |
  1107.  +-------------------------------------+---------+---------------------+
  1108.  | IP Address of Responder             |   16    |OPTIONAL; see App. A |
  1109.  +-------------------------------------+---------+---------------------+
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122. Rajagopal, et al.           Standards Track                    [Page 20]
  1123.  
  1124. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1125.  
  1126.  
  1127.  +---------------------------------------------------------------------+
  1128.  |                         FARP-REPLY Command                          |
  1129.  +-------------------------------------+---------+---------------------+
  1130.  |               Field                 | Size    |   Remarks           |
  1131.  |                                     | (Bytes) |                     |
  1132.  +-------------------------------------+---------+---------------------+
  1133.  | 0x55-00-00-00                       |   4     | Reply Command Code  |
  1134.  +-------------------------------------+---------+---------------------+
  1135.  | Match Address Code Points           |   1     | Not Used and        |
  1136.  |                                     |         | Unchanged from the  |
  1137.  |                                     |         | FARP-REQ            |
  1138.  +-------------------------------------+---------+---------------------+
  1139.  | Port_ID of Requester                |   3     | Extracted from      |
  1140.  |                                     |         | FARP-REQ            |
  1141.  +-------------------------------------+---------+---------------------+
  1142.  | Responder Flags                     |   1     | Not Used  and       |
  1143.  |                                     |         | Unchanged from the  |
  1144.  |                                     |         | FARP-REQ            |
  1145.  +-------------------------------------+---------+---------------------+
  1146.  | Port_ID of Responder                |   3     | Supplied by         |
  1147.  |                                     |         | Responder =         |
  1148.  |                                     |         | S_ID in FC Header   |
  1149.  +-------------------------------------+---------+---------------------+
  1150.  |WW_PN of Requester                   |   8     |Supplied by Requester|
  1151.  +-------------------------------------+---------+---------------------+
  1152.  |WW_NN of Requester                   |   8     |OPTIONAL; see App. A |
  1153.  +-------------------------------------+---------+---------------------+
  1154.  |WW_PN of Responder                   |   8     |Supplied by Requester|
  1155.  +-------------------------------------+---------+---------------------+
  1156.  |WW_NN of Responder                   |   8     |OPTIONAL; see App. A |
  1157.  +-------------------------------------+---------+---------------------+
  1158.  |IP Add. of Requester                 |   16    |OPTIONAL; see App. A |
  1159.  +-------------------------------------+---------+---------------------+
  1160.  |IP Address of Responder              |   16    |OPTIONAL; see App. A |
  1161.  +-------------------------------------+---------+---------------------+
  1162.  
  1163.    Following is a description of the address fields in the FARP
  1164.    Commands.
  1165.  
  1166.    Port_ID of Requester:
  1167.  
  1168.    It is the 24-bit Port_ID used in the S_ID field of the FC Header of a
  1169.    FARP-REQ.  It is supplied by the Requester in a FARP-REQ and retained
  1170.    in a FARP-REPLY.
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178. Rajagopal, et al.           Standards Track                    [Page 21]
  1179.  
  1180. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1181.  
  1182.  
  1183.    Port_ID of Responder:
  1184.  
  1185.    It is the 24-bit Port_ID used in the S_ID field of the FC Header of a
  1186.    FARP-REPLY.  It SHALL be set to 0x00-00-00 in a FARP-REQ. It is
  1187.    supplied by the Responder in a FARP-REPLY.
  1188.  
  1189.    WW_PN:
  1190.  
  1191.    This address field is used with the b'001', b'011', b'101, b'111',
  1192.    Match Address Code Points. See Match Address Code Point Table below.
  1193.    The Requester supplies the unique 8-byte WW_PN of the Requester and
  1194.    the Responder. It is retained in a FARP-REPLY.
  1195.  
  1196.    WW_NN:
  1197.  
  1198.    The WW_NN address field is used with Match Address Code Points
  1199.    b'010', b'011', b'110', and b'111', which are all optional. Its usage
  1200.    is fully described in Appendix A. When the WW_NN field is not used it
  1201.    SHALL be either set to '0' or a valid non-zero address.
  1202.  
  1203.    IPv4:
  1204.  
  1205.    The IPv4 address field is used with the Match Address Code Points
  1206.    b'100', b'101', b'110', and b'111', which are all optional. Its usage
  1207.    is fully described in Appendix A. When the IP Address field is not
  1208.    used it SHALL be either set to '0' or a valid IP address. A valid IP
  1209.    address consists of the 32-bit IPv4 Address with the upper 96 bits
  1210.    set to '0'.
  1211.  
  1212. 5.4 Match Address Code Points
  1213.  
  1214.    For each receipt of the FARP-REQ Broadcast ELS, the recipients match
  1215.    one or more addresses based on the encoded bits of the "FARP Match
  1216.    Address Code Points" field shown in the table below. FARP operation
  1217.    with the Match Address Code Point equal to b'001' is described in
  1218.    this section. Other code points are OPTIONAL and are discussed in
  1219.    Appendix A. The upper 5 bits of the Match Address Code Point byte are
  1220.    unused and their use is not currently defined.
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234. Rajagopal, et al.           Standards Track                    [Page 22]
  1235.  
  1236. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1237.  
  1238.  
  1239.  +------------------------------------------------------------------+
  1240.  |                     Match Address Code Points                    |
  1241.  +------------------------------------------------------------------+
  1242.  |   LSBits  |     Bit name       |           Action                |
  1243.  +-----------+--------------------+---------------------------------+
  1244.  |    000    | Reserved           |                                 |
  1245.  +-----------+--------------------+---------------------------------+
  1246.  |    001    | MATCH_WW_PN        | If 'WW_PN of Responder' =       |
  1247.  |           |                    | Node's WW_PN then respond       |
  1248.  +-----------+--------------------+---------------------------------+
  1249.  |    010    | MATCH_WW_NN        | OPTIONAL; see Appendix A        |
  1250.  +-----------+--------------------+---------------------------------+
  1251.  |    011    | MATCH_WW_PN_NN     | OPTIONAL; see Appendix A        |
  1252.  +-----------+--------------------+---------------------------------+
  1253.  |    100    | MATCH_IPv4         | OPTIONAL; see Appendix A        |
  1254.  +-----------+--------------------+---------------------------------+
  1255.  |    101    | MATCH_WW_PN_IPv4   | OPTIONAL; see Appendix A        |
  1256.  +-----------+--------------------+---------------------------------+
  1257.  |    110    | MATCH_WW_NN_IPv4   | OPTIONAL; see Appendix A        |
  1258.  +-----------+--------------------+---------------------------------+
  1259.  |    111    | MATCH_WW_PN_NN_IPv4| OPTIONAL; see Appendix A        |
  1260.  +-----------+--------------------+---------------------------------+
  1261.  
  1262.    When a node receives a FARP-REQ with Code Point b'001', it checks its
  1263.    WW_PN against the one set in 'WW_PN of Responder' field of the FARP-
  1264.    REQ command.  If there is a match, then the node issues a response
  1265.    according to the action indicated by the FARP Responder Flag.  See
  1266.    table below.
  1267.  
  1268.    WW_NN and IPv4 address fields are not used with the b'001' Code Point
  1269.    operation.  They SHALL be set to '0' or a valid address either by the
  1270.    Requester or the Requester and the Responder.
  1271.  
  1272.    Note that there can be utmost one FARP-REPLY per FARP-REQ.
  1273.  
  1274. 5.5 Responder Flags
  1275.  
  1276.    The Responder Flags define what Responder action to take if the
  1277.    result of the Match Address Code Points is successful. 'Responder
  1278.    Flags' is an 8-bit field (bits 0-7) and is defined in the table
  1279.    below. This field is used only in a FARP-REQ.  This field is retained
  1280.    unchanged in a FARP-REPLY. If no bits are set, the Responder will
  1281.    take no action.
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290. Rajagopal, et al.           Standards Track                    [Page 23]
  1291.  
  1292. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1293.  
  1294.  
  1295.  +----------+-------------------------------------------------------+
  1296.  |          |                 FARP Responder Flag                   |
  1297.  +----------+----------------+--------------------------------------+
  1298.  | Bit      | Bit Name       |            Action                    |
  1299.  | Position |                |                                      |
  1300.  +----------+----------------+--------------------------------------+
  1301.  |    0     | INIT_P_LOGI    | Initiate a P_LOGI to the Requester   |
  1302.  +----------+----------------+--------------------------------------+
  1303.  |    1     | INIT_REPLY     | Send FARP_REPLY to Requester         |
  1304.  +----------+----------------+--------------------------------------+
  1305.  | 2 to 7   | Reserved       |                                      |
  1306.  +----------+----------------+--------------------------------------+
  1307.  
  1308.    If INIT_P_LOGI bit is set then, a Login is performed with the port
  1309.    identified by "Port_ID of Requester" field.
  1310.  
  1311.    If INIT_REPLY is set then, a FARP-REPLY is sent to the Port
  1312.    Identified by "Port_ID of Requester" field.
  1313.  
  1314.    If both bits are set at the same time, then both Actions are
  1315.    performed.
  1316.  
  1317.    All other bit patterns are undefined at this time and are reserved
  1318.    for possible future use.
  1319.  
  1320. 5.6 FARP Support Requirements
  1321.  
  1322.    Responder action - FARP-REPLY and/or Port Login - for a successful
  1323.    MATCH_WW_PN is always REQUIRED. If there is no address match then a
  1324.    silent behavior is specified.
  1325.  
  1326.    Support for all other Match Address Code Points is OPTIONAL and a
  1327.    silent behavior from the Responder is valid when it is not supported.
  1328.    Recipients of the FARP-REQ ELS SHALL NOT issue a Service Reject
  1329.    (LS_RJT) if FARP OPTIONAL mechanisms are not supported.
  1330.  
  1331.    In all cases, if there are no matches, then a silent behavior is
  1332.    specified.
  1333.  
  1334.    If an implementation issues a FARP-REQ with a Match Address Code
  1335.    Point that is OPTIONAL, and fails to receive a response, and the
  1336.    implementation has not obtained the Port_ID of the Responder's port
  1337.    by other means (e.g., prior FARP-REQ with other Code Points), then
  1338.    the implementation SHALL reattempt the FARP-REQ with the MATCH_WW_PN
  1339.    Code Point.
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346. Rajagopal, et al.           Standards Track                    [Page 24]
  1347.  
  1348. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1349.  
  1350.  
  1351.    Getting multiple FARP Replies corresponding to a single FARP-REQ
  1352.    should normally never occur.  It is beyond the scope of this document
  1353.    to specify conditions under which this error may occur or what the
  1354.    corrective action ought to be.
  1355.  
  1356. 6. Exchange Management
  1357.  
  1358. 6.1 Exchange Origination
  1359.  
  1360.    FC Exchanges shall be established to transfer data between ports.
  1361.    Frames on IP exchanges shall not transfer Sequence Initiative. See
  1362.    Appendix E for a discussion on FC Exchanges.
  1363.  
  1364. 6.2 Exchange Termination
  1365.  
  1366.    With the exception of the recommendations in Appendix F, Section F.1,
  1367.    "Reliability in Class 3", the mechanism for aging or expiring
  1368.    exchanges based on activity, timeout, or other method is outside the
  1369.    scope of this document.
  1370.  
  1371.    Exchanges may be terminated by either port. The Exchange Originator
  1372.    may terminate Exchanges by setting the LS bit, following normal FC
  1373.    standard FC-PH [2] rules. This specification prohibits the use of the
  1374.    NOP ELS with LS set for Exchange termination.
  1375.  
  1376.    Exchanges may be torn down by the Exchange Originator or Exchange
  1377.    Responder by using the ABTS_LS protocol. The use of ABTS_LS for
  1378.    terminating aged Exchanges or error recovery is outside the scope of
  1379.    this document.
  1380.  
  1381.    The termination of IP Exchanges by Logout is discouraged, since this
  1382.    may terminate active Exchanges on other FC-4s.
  1383.  
  1384. 7. Summary of Supported Features
  1385.  
  1386.    Note: 'Settable' means support is as specified in the relevant
  1387.    standard; all other key words are as defined earlier in this
  1388.    document.
  1389.  
  1390. 7.1  FC-4 Header
  1391.  
  1392.  +--------------------------------------------------------------------+
  1393.  |                   Feature                     |   Support  | Notes |
  1394.  +--------------------------------------------------------------------+
  1395.  | Type Code ( = 5) ISO8802-2 LLC/SNAP           | REQUIRED   |   2   |
  1396.  | Network_Headers                               | REQUIRED   |   3   |
  1397.  | Other Optional Headers                        | MUST NOT   |       |
  1398.  +--------------------------------------------------------------------+
  1399.  
  1400.  
  1401.  
  1402. Rajagopal, et al.           Standards Track                    [Page 25]
  1403.  
  1404. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1405.  
  1406.  
  1407.    Notes:
  1408.  
  1409.       1. This table applies only to FC-4 related data, such as IP and
  1410.          ARP packets. This table does not apply to link services and
  1411.          other non-FC-4 sequences (PLOGI, for example) that must occur
  1412.          for normal operation.
  1413.  
  1414.       2. The TYPE field in the FC Header (Word 2 bits 31-24) MUST
  1415.          indicate ISO 8802-2 LLC/SNAP Encapsulation (Type 5). This
  1416.          revision of the document focuses solely on the issues related
  1417.          to running IP and ARP over FC. All other issues are outside
  1418.          the scope of this document, including full support for IEEE
  1419.          802.2 LLC.
  1420.  
  1421.       3. DF_CTL field (Word 3, bits 23-16 of FC-Header) MUST indicate
  1422.          the presence of a Network_Header (0010 0000) on the First
  1423.          logical Frame of FC-4 Sequences.  It should not indicate the
  1424.          presence of a Network_Header on any subsequent frames of the
  1425.          Sequence.
  1426.  
  1427. 7.2 R_CTL
  1428.  
  1429.    R_CTL in FC-Header: Word 0, bits 31-24
  1430.  +--------------------------------------------------------------------+
  1431.  |                      Feature                  |   Support  | Notes |
  1432.  +--------------------------------------------------------------------+
  1433.  | Information Category (R_CTL Routing):         |            |       |
  1434.  |                                               |            |       |
  1435.  |      FC-4 Device Data                         | REQUIRED   |   1   |
  1436.  |      Extended Link Data                       | REQUIRED   |       |
  1437.  |      FC-4 Link Data                           | MUST NOT   |       |
  1438.  |      Video Data                               | MUST NOT   |       |
  1439.  |      Basic Link Data                          | REQUIRED   |       |
  1440.  |      Link Control                             | REQUIRED   |       |
  1441.  |                                               |            |       |
  1442.  | R_CTL information :                           |            |       |
  1443.  |                                               |            |       |
  1444.  |      Uncategorized                            | MUST NOT   |       |
  1445.  |      Solicited Data                           | MUST NOT   |       |
  1446.  |      Unsolicited Control                      | REQUIRED   |       |
  1447.  |      Solicited Control                        | REQUIRED   |       |
  1448.  |      Unsolicited Data                         | REQUIRED   |   1   |
  1449.  |      Data Descriptor                          | MUST NOT   |       |
  1450.  |      Unsolicited Command                      | MUST NOT   |       |
  1451.  |      Command Status                           | MUST NOT   |       |
  1452.  +--------------------------------------------------------------------+
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458. Rajagopal, et al.           Standards Track                    [Page 26]
  1459.  
  1460. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1461.  
  1462.  
  1463.    Notes:
  1464.  
  1465.       1. This is REQUIRED for FC-4 (IP and ARP) packets
  1466.  
  1467.          - Routing bits of R_CTL field MUST indicate Device Data
  1468.            frames (0000)
  1469.          - Information Category of R_CTL field MUST indicate
  1470.            Unsolicited Data (0100)
  1471.  
  1472. 7.3 F_CTL
  1473.  
  1474.    F_CTL in FC-Header: Word 2, bits 23-0
  1475.  +--------------------------------------------------------------------+
  1476.  |                      Feature                  |   Support  | Notes |
  1477.  +--------------------------------------------------------------------+
  1478.  | Exchange Context                              | Settable   |       |
  1479.  | Sequence Context                              | Settable   |       |
  1480.  | First / Last / End Sequence (FS/LS/ES)        | Settable   |       |
  1481.  | Chained Sequence                              | MUST NOT   |       |
  1482.  | Sequence Initiative (SI)                      | Settable   |   1   |
  1483.  | X_ID Reassigned / Invalidate                  | MUST NOT   |       |
  1484.  | Unidirectional Transmit                       | Settable   |       |
  1485.  | Continue Sequence Condition                   | REQUIRED   |   2   |
  1486.  | Abort Seq. Condition -continue and single Seq.| REQUIRED   |   3   |
  1487.  | Relative Offset - Unsolicited Data            | Settable   |   4   |
  1488.  | Fill Bytes                                    | Settable   |       |
  1489.  +--------------------------------------------------------------------+
  1490.  
  1491.    Notes
  1492.  
  1493.       1. For FC-4 frames, each N_Port shall have a dedicated OX_ID for
  1494.          sending data to each N_Port in the network and a dedicated
  1495.          RX_ID for receiving data from each N_Port as well. Exchanges
  1496.          are used in a unidirectional mode, thus setting Sequence
  1497.          Initiative is not valid for FC-4 frames. Sequence Initiative is
  1498.          valid when using Extended Link Services.
  1499.  
  1500.       2. This field is required to be 00, no information.
  1501.  
  1502.       3. Sequence error policy is requested by an exchange originator in
  1503.          the F_CTL Abort Sequence Condition bits in the first data frame
  1504.          of the exchange. For Classes 1 and 2, ACK frame is required to
  1505.          be "continuous sequence".
  1506.  
  1507.       4. Relative offset prohibited on all other types (Information
  1508.          Category) of frames.
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514. Rajagopal, et al.           Standards Track                    [Page 27]
  1515.  
  1516. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1517.  
  1518.  
  1519. 7.4 Sequences
  1520.  
  1521.  +---------------------------------------------------------------------+
  1522.  |                      Feature                    |   Support  |Notes |
  1523.  +---------------------------------------------------------------------+
  1524.  | Class 2 open Sequences / Exchange               |     1      |   1  |
  1525.  | Length of Seq. not limited by end-to-end credit | REQUIRED   |   2  |
  1526.  | IP and ARP Packet and FC Data Field sizes       | REQUIRED   |   3  |
  1527.  | Capability to receive Sequence of maximum size  | OPTIONAL   |   4  |
  1528.  | Sequence Streaming                              | MUST NOT   |   5  |
  1529.  | Stop Sequence Protocol                          | MUST NOT   |      |
  1530.  | ACK_0 support                                   | OPTIONAL   |   6  |
  1531.  | ACK_1 support                                   | REQUIRED   |   6  |
  1532.  | ACK_N support                                   | MUST NOT   |      |
  1533.  | Class of Service for transmitted Sequences      |  Class     |   7  |
  1534.  |                                                 | 1, 2, or 3 |      |
  1535.  | Continuously Increasing Sequence Count          | OPTIONAL   | 8, 9 |
  1536.  +---------------------------------------------------------------------+
  1537.  
  1538.    Notes:
  1539.  
  1540.       1. Only one active sequence per exchange is optional.
  1541.  
  1542.       2. A Sequence Initiator shall be capable of transmitting Sequences
  1543.          containing more frames than the available credit indicated by a
  1544.          Sequence recipient at Login. FC-PH [2] end-to-end flow control
  1545.          rules will be followed when transmitting such Sequences.
  1546.  
  1547.       3.  a) IP MTU size is 65280-bytes and resulting FC Sequence
  1548.              Payload size is 65536-bytes.
  1549.           b) Maximally Minimum IP Packet size is 68-bytes and resulting
  1550.              FC Data Field size is 92-bytes.
  1551.           c) ARP (and InARP) Packet size is 28-bytes and resulting FC
  1552.              Data Field size is 52-bytes.
  1553.  
  1554.       4. Some OS environments may not handle the max Sequence Payload
  1555.          size of 65536. It is up to the administrator to configure the
  1556.          Max size for all systems.
  1557.  
  1558.       5. All class 3 sequences are assumed to be non-streamed.
  1559.  
  1560.       6. Only applies for Class 1 and 2. Use of ACK_1 is default, ACK_0
  1561.          used if indicated by Sequence recipient at Login.
  1562.  
  1563.       7. The administrator configured class of service is used, except
  1564.          where otherwise specified (e.g. Broadcasts are always sent in
  1565.          Class 3).
  1566.  
  1567.  
  1568.  
  1569.  
  1570. Rajagopal, et al.           Standards Track                    [Page 28]
  1571.  
  1572. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1573.  
  1574.  
  1575.       8. Review Appendix F, "Reliability in Class 3".
  1576.  
  1577.       9. The first frame of the first sequence of a new Exchange must
  1578.          have SEQ_CNT = 0 [2].
  1579.  
  1580. 7.5 Exchanges
  1581.  
  1582.  +--------------------------------------------------------------------+
  1583.  |                      Feature                  |   Support  | Notes |
  1584.  +--------------------------------------------------------------------+
  1585.  | X_ID interlock support                        | OPTIONAL   |   1   |
  1586.  | OX_ID=FFFF                                    | MUST NOT   |       |
  1587.  | RX_ID=FFFF                                    | OPTIONAL   |   2   |
  1588.  | Action if no exchange resources available     | P_RJT      |   3   |
  1589.  | Long Lived Exchanges                          | OPTIONAL   |   4   |
  1590.  | Reallocation of Idle Exchanges                | OPTIONAL   |       |
  1591.  +--------------------------------------------------------------------+
  1592.  
  1593.    Notes:
  1594.  
  1595.       1. Only applies to Classes 1 and 2, supported by the Exchange
  1596.          Originator. A Port SHALL be capable of interoperating with
  1597.          another Port that requires X_ID interlock. The Exchange
  1598.          Originator facility within the Port shall use the X_ID
  1599.          Interlock protocol in such cases.
  1600.  
  1601.       2. An Exchange Responder is not required to assign RX_IDs. If a
  1602.          RX_ID of FFFF is assigned, it is identifying Exchanges based on
  1603.          S_ID / D_ID / OX_ID only.
  1604.  
  1605.       3. In Classes 1 and 2, a Port shall reject a frame that would
  1606.          create a new Exchange with a P_RJT containing reason code
  1607.          "Unable to establish Exchange". In Class 3, the frame would be
  1608.          dropped.
  1609.  
  1610.       4. When an Exchange is created between 2 Ports for IP/ARP data, it
  1611.          remains active while the ports are logged in with each other.
  1612.          An Exchange SHALL NOT transfer Sequence Initiative (SI).
  1613.          Broadcasts and ELS commands may use short lived Exchanges.
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626. Rajagopal, et al.           Standards Track                    [Page 29]
  1627.  
  1628. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1629.  
  1630.  
  1631. 7.6 ARP and InARP
  1632.  
  1633.  +--------------------------------------------------------------------+
  1634.  |                      Feature                  |   Support  | Notes |
  1635.  +--------------------------------------------------------------------+
  1636.  | ARP Server Support                            | MUST  NOT  |   1   |
  1637.  | Response to ARP requests                      | REQUIRED   |   2   |
  1638.  | Class of Service for ARP requests             | Class 3    |   3   |
  1639.  | Class of Service for ARP replies              |  Class     |   4   |
  1640.  |                                               | 1, 2, or 3 |       |
  1641.  | Response to InARP requests                    | OPTIONAL   |       |
  1642.  | Class of Service for InARP requests/replies   | Class      |       |
  1643.  |                                               | 1, 2 or 3  |   5   |
  1644.  +--------------------------------------------------------------------+
  1645.  
  1646.  Notes:
  1647.  
  1648.       1. Well-known Address FFFFFC is not used for ARP requests. Frames
  1649.          from Well-known address FFFFFC are not considered to be ARP
  1650.          frames. Broadcast support is REQUIRED for ARP.
  1651.  
  1652.       2. The IP Address is mapped to a specific MAC address with ARP.
  1653.  
  1654.       3. An ARP request is a Broadcast Sequence, therefore Class 3
  1655.          is always used.
  1656.  
  1657.       4. An ARP reply is a normal Sequence, thus the administrator
  1658.          configured class of service is used.
  1659.  
  1660.       5. An InARP Request or Reply is a normal Sequence, thus an
  1661.          administrator configured class of service is used.
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682. Rajagopal, et al.           Standards Track                    [Page 30]
  1683.  
  1684. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1685.  
  1686.  
  1687. 7.7 Extended Link Services (ELS)
  1688.  
  1689.  +--------------------------------------------------------------------+
  1690.  |                      Feature                  |   Support  | Notes |
  1691.  +--------------------------------------------------------------------+
  1692.  | Class of service for ELS commands / responses | Class      |       |
  1693.  |                                               | 1,2 or 3   |   1   |
  1694.  | Explicit N-Port Login                         | REQUIRED   |       |
  1695.  | Explicit F-Port Login                         | REQUIRED   |       |
  1696.  | FLOGI ELS command                             | REQUIRED   |       |
  1697.  | PLOGI ELS command                             | REQUIRED   |       |
  1698.  | ADISC ELS command                             | REQUIRED   |       |
  1699.  | PDISC ELS command                             | OPTIONAL   |   2   |
  1700.  | FAN ELS command                               | REQUIRED   |   5   |
  1701.  | LOGO ELS command                              | REQUIRED   |       |
  1702.  | FARP-REQ/FARP-REPLY ELS commands              | REQUIRED   |   3   |
  1703.  | Other ELS command support                     | OPTIONAL   |   4   |
  1704.  +-----------------------------------------------+------------+-------+
  1705.  
  1706.    Notes:
  1707.  
  1708.       1. The administrator configured class of service is used.
  1709.  
  1710.       2. PDISC shall not be used as a Requester; ADISC shall be used
  1711.          instead. As a Responder, an implementation may need to respond
  1712.          to both ADISC and PDISC for compatibility with other
  1713.          specifications.
  1714.  
  1715.       3. Responder Action - FARP-REPLY and/or Port Login - for a
  1716.          successful MATCH_WW_PN is always REQUIRED.
  1717.          Support for all other match Address Codes Points is a silent
  1718.          behavior from the Responder is valid when it is not supported.
  1719.          Recipients of the FARP-REQ ELS shall not issue a Service Reject
  1720.          (LS_RJT) if FARP is not supported.
  1721.  
  1722.       4. If other ELS commands are received an LS_RJT may be sent. NOP
  1723.          is not required by this specification, and shall not be used as
  1724.          a mechanism to terminate exchanges.
  1725.  
  1726.       5. Required for FL_Ports
  1727.  
  1728. 7.8 Login Parameters
  1729.  
  1730.    Unless explicitly noted here, a compliant implementation shall use
  1731.    the login parameters as described in [4].
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738. Rajagopal, et al.           Standards Track                    [Page 31]
  1739.  
  1740. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1741.  
  1742.  
  1743. 7.8.1 Common Service Parameters - FLOGI
  1744.  
  1745.    - FC-PH Version, lowest version may be 0x09 to indicate
  1746.      'minimum 4.3'.
  1747.    - Can't use BB_Credit=0 for N_Port on a switched Fabric
  1748.      (F_Port).
  1749.  
  1750. 7.8.2 Common Service Parameters - PLOGI
  1751.  
  1752.    - FC-PH Version, lowest version may be 0x09 to indicate
  1753.      'minimum 4.3'.
  1754.    - Can't use BB_Credit=0 for N_Port in a Point-to-Point
  1755.      configuration
  1756.  
  1757.    - Random Relative Offset is optional.
  1758.  
  1759.    - Note that the 'Receive Data Field Size' fields specified in
  1760.      the PLOGI represent both optional headers and payload.
  1761.  
  1762.    - The MAC Address can therefore be extracted from the 6 lower
  1763.      bytes of the WW_PN field (when the IEEE 48-bit Identifier
  1764.      format is chosen as the NAA) during PLOGI or ACC payload
  1765.      exchanged during Fibre Channel Login [2].
  1766.  
  1767.    - The MAC Address can also be extracted from the WW_PN field in
  1768.      the Network_Header during ADISC (and ADISC ACC), or PDISC
  1769.      (and PDISC ACC).
  1770.  
  1771. 7.8.3 Class Service Parameters - PLOGI
  1772.  
  1773.    - Discard error policy only.
  1774.  
  1775. 8. Security Considerations
  1776.  
  1777. 8.1 IP and ARP Related
  1778.  
  1779.    IP and ARP do not introduce any new security concerns beyond what
  1780.    already exists within the Fibre Channel Protocols and Technology.
  1781.    Therefore IP and ARP related Security does not require special
  1782.    consideration in this document.
  1783.  
  1784. 8.2 FC Related
  1785.  
  1786.    FC Standards [11] specify a Security Key Server (independent of IP
  1787.    and ARP) as an optional service. However, there are no known
  1788.    implementations of this server yet. Also, the previously defined [2]
  1789.    use of a Security Header has been discontinued [11].
  1790.  
  1791.  
  1792.  
  1793.  
  1794. Rajagopal, et al.           Standards Track                    [Page 32]
  1795.  
  1796. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1797.  
  1798.  
  1799. 9. Acknowledgement
  1800.  
  1801.    This specification is based on FCA IP Profile, Version 3.3.  The FCA
  1802.    IP Profile was a joint work of the Fibre Channel Association (FCA)
  1803.    vendor community.  The following organizations or individuals have
  1804.    contributed to the creation of the FCA IP Profile: Adaptec, Ancor,
  1805.    Brocade, Clariion, Crossroads, emf Associates, Emulex, Finisar,
  1806.    Gadzoox, Hewlett Packard, Interphase, Jaycor, McData, Migration
  1807.    Associates, Orca Systems, Prisa, Q-Logic, Symbios, Systran,
  1808.    Tektronix, Univ. of Minnesota, Univ. of New Hamshire. Jon Infante
  1809.    from Emulex deserves special mention for his contributions to the
  1810.    FARP Protocol. The authors extend their thanks to all who provided
  1811.    comments and especially to Lansing Sloan from LLNL for his detailed
  1812.    comments.
  1813.  
  1814. 10. References
  1815.  
  1816.    [1] FCA IP Profile, Revision 3.3, May 15, 1997
  1817.  
  1818.    [2] Fibre Channel Physical and Signaling Interface (FC-PH) , ANSI
  1819.        X3.230-1994
  1820.  
  1821.    [3] Fibre Channel Link Encapsulation (FC-LE), Revision 1.1, June 26,
  1822.        1996
  1823.  
  1824.    [4] Fibre Channel Fabric Loop Attachment (FC-FLA), Rev. 2.7, August
  1825.        12, 1997
  1826.  
  1827.    [5] Fibre Channel Private Loop SCSI Direct Attach (FC-PLDA),
  1828.        Rev. 2.1, September 22, 1997
  1829.  
  1830.    [6] Fibre Channel Physical and Signaling Interface-2 (FC-PH-2),
  1831.        Rev. 7.4, ANSI X3.297-1996
  1832.  
  1833.    [7] Fibre Channel Arbitrated Loop (FC-AL), ANSI X3.272-1996
  1834.  
  1835.    [8] Postel, J. and J. Reynolds, "A standard for the Transmission of
  1836.        IP Datagrams over IEEE 802 Networks", STD 43, RFC 1042, February
  1837.        1988.
  1838.  
  1839.    [9] Plummer, D. "An Ethernet Address Resolution Protocol -or-
  1840.        Converting Network Addresses to 48-bit Ethernet Address for
  1841.        Transmission on Ethernet Hardware", STD 37, RFC 826, November
  1842.        1982.
  1843.  
  1844.    [10] FCSI IP Profile, FCSI-202, Revision 2.1, September 8, 1995
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850. Rajagopal, et al.           Standards Track                    [Page 33]
  1851.  
  1852. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1853.  
  1854.  
  1855.    [11] Fibre Channel Physical and Signaling Interface -3 (FC-PH-3),
  1856.         Rev. 9.3, ANSI X3.303-199x
  1857.  
  1858.    [12] Fibre Channel-The Basics, "Gary R. Stephens and Jan V. Dedek",
  1859.         Ancot Corporation
  1860.  
  1861.    [13] Fibre Channel -Gigabit Communications and I/O for Computers
  1862.         Networks "Alan Benner", McGraw-Hill, 1996, ISBN 0-07-005669-2
  1863.  
  1864.    [14] Fibre Channel Generic Services -2 (FC-GS-2), Rev. 5.2
  1865.         X3.288-199x
  1866.  
  1867.    [15] Bradley, T. and C. Brown, "Inverse Address Resolution Protocol",
  1868.         RFC 1293, January 1992.
  1869.  
  1870.    [16] Bradley, T., Brown, C. and A. Malis, "Inverse Address Resolution
  1871.         Protocol", RFC 2390, August 1992.
  1872.  
  1873.    [17] Postel, J., "Internet Protocol", STD 5, RFC 791, September 1981.
  1874.  
  1875.    [18] The Fibre Channel Consultant: A Comprehensive Introduction,
  1876.         "Robert W. Kembel", Northwest Learning Associates, 1998
  1877.  
  1878.    [19] Bradner, S., "Key Words for use in RFCs to Indicate Requirement
  1879.         Levels", BCP 14, RFC 2119, March 1997.
  1880.  
  1881.    [20] Narten, T. and C. Burton, "A Caution on The Canonical Ordering
  1882.         of Link-Layer Addresses",  RFC 2469, December 1998.
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906. Rajagopal, et al.           Standards Track                    [Page 34]
  1907.  
  1908. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1909.  
  1910.  
  1911. 11. Authors' Addresses
  1912.  
  1913.    Murali Rajagopal
  1914.    Gadzoox Networks, Inc.
  1915.    711 Kimberly Avenue, Suite 100
  1916.    Placentia, CA 92870
  1917.  
  1918.    Phone: +1 714 577 6805
  1919.    Fax: +1 714 524 8508
  1920.    EMail: murali@gadzoox.com
  1921.  
  1922.  
  1923.    Raj Bhagwat
  1924.    Gadzoox Networks, Inc.
  1925.    711 Kimberly Avenue, Suite 100
  1926.    Placentia, CA 92870
  1927.  
  1928.    Phone: +1 714 577 6806
  1929.    Fax: +1 714 524 8508
  1930.    EMail: raj@gadzoox.com
  1931.  
  1932.  
  1933.    Wayne Rickard
  1934.    Gadzoox Networks, Inc.
  1935.    711 Kimberly Avenue, Suite 100
  1936.    Placentia, CA 92870
  1937.  
  1938.    Phone: +1 714 577 6803
  1939.    Fax: +1 714 524 8508
  1940.    EMail: wayne@gadzoox.com
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962. Rajagopal, et al.           Standards Track                    [Page 35]
  1963.  
  1964. RFC 2625             IP and ARP over Fibre Channel             June 1999
  1965.  
  1966.  
  1967. Appendix A: Additional Matching Mechanisms in FARP
  1968.  
  1969.    Section 5 described the FC Layer mapping between the WW_PN and the
  1970.    Port_ID using the FARP Protocol. This appendix describes other
  1971.    optional criteria for address matching and includes:
  1972.  
  1973.       - WW_NN
  1974.  
  1975.       - WW_PN & WW_NN at the same time
  1976.  
  1977.       - IPv4
  1978.  
  1979.       - IPv4 & WW_PN at the same time
  1980.  
  1981.       - IPv4 & WW_NN at the same time
  1982.  
  1983.       - IPv4 & WW_PN & WW_NN at the same time
  1984.  
  1985.    Depending on the Match Address Code Points, the FARP protocol
  1986.    fundamentally resolves three main types of addresses to Port_IDs and
  1987.    is described in table below.
  1988.  
  1989.       - For Match Address Code Point b'001':  WW_PN Names fields are
  1990.         used to resolve the WW_PN names to Port_IDs.  WW_NN and IP
  1991.         address fields are not used with these Code Points and SHALL be
  1992.         set to either '0' or valid addresses by Requester or Requester
  1993.         and Responder.
  1994.  
  1995.       - For Match Address Code Point b'010':  WW_NN Names fields are
  1996.         used to resolve the WW_NN names to Port_IDs.  WW_PN and IP
  1997.         address fields are not used with these Code Points and SHALL be
  1998.         set to either '0' or valid addresses by Requester or Requester
  1999.         and Responder.
  2000.  
  2001.       - For Match Address Code Point b'100':  IPv4 fields are used to
  2002.         resolve the IPv4 addresses to Port_IDs.  WW_PN and WW_NN fields
  2003.         are not used with these Code Points and SHALL be set to either '
  2004.         0' or valid addresses by Requester or Requester and Responder.
  2005.  
  2006.       - For all other Match Address Code Points b'011', b'101',b'110',
  2007.         b'111', depending on set bits one or more addresses are jointly
  2008.         resolved to a Port_ID. See table below. If fields are not used,
  2009.         then they are set either to '0' or valid addresses.
  2010.  
  2011.    The Responder Flags remain the same as before. Note that there can be
  2012.    utmost one FARP-REPLY per FARP-REQ.
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018. Rajagopal, et al.           Standards Track                    [Page 36]
  2019.  
  2020. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2021.  
  2022.  
  2023.    Tables showing FARP-REQ and FARP-REPLY and address fields setting are
  2024.    given below:
  2025.  
  2026.  +--------------------------------------------------------------------+
  2027.  |                       Match Address Code Points                    |
  2028.  +--------------------------------------------------------------------+
  2029.  | LSBits|      Bit name      |             Action                    |
  2030.  +-------+--------------------+---------------------------------------+
  2031.  | 000   |   Reserved         |                                       |
  2032.  +-------+--------------------+---------------------------------------+
  2033.  | 001   | MATCH_WW_PN        | If 'WW_PN of Responder' =             |
  2034.  |       |                    | Node's WW_PN then respond             |
  2035.  +-------+--------------------+---------------------------------------+
  2036.  | 010   | MATCH_WW_NN        | If 'WW_NN of Responder' =             |
  2037.  |       |                    | Node's WW_NN then respond             |
  2038.  +-------+--------------------+---------------------------------------+
  2039.  | 011   | MATCH_WW_PN_NN     | If both 'WW_PN of Responder' &        |
  2040.  |       |                    | 'WW_NN of Responder' =                |
  2041.  |       |                    | Node's WW_PN & WW_NN then respond     |
  2042.  +-------+--------------------+---------------------------------------+
  2043.  | 100   | MATCH_IPv4         | If 'IPv4 Address of Responder' =      |
  2044.  |       |                    | Node's IPv4 Address then respond      |
  2045.  +-------+--------------------+---------------------------------------+
  2046.  | 101   | MATCH_WW_PN_IPv4   | If 'WW_PN & IPv4 of Responder' =      |
  2047.  |       |                    | Node's WW_PN and IPv4 then respond    |
  2048.  +-------+--------------------+---------------------------------------+
  2049.  | 110   | MATCH_WW_NN_IPv4   | If both 'WW_NN of Responder' &        |
  2050.  |       |                    | 'IPv4 Address of Responder' =         |
  2051.  |       |                    | Node's WW_NN & IPv4 then respond      |
  2052.  +-------+--------------------+---------------------------------------+
  2053.  | 111   |MATCH_WW_PN_NN_IPv4 | If 'WW_PN of Responder' &             |
  2054.  |       |                    | 'WW_NN of Responder' &                |
  2055.  |       |                    | 'IPv4 Address of Responder' =         |
  2056.  |       |                    | Nodes' WW_PN & WW_NN & IPv4           |
  2057.  |       |                    | then respond                          |
  2058.  +-------+--------------------+---------------------------------------+
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074. Rajagopal, et al.           Standards Track                    [Page 37]
  2075.  
  2076. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2077.  
  2078.  
  2079.  +---------------------------------------------------------------------+
  2080.  |                         FARP-REQ Command                            |
  2081.  +-------------------------------+---------+---------------------------+
  2082.  |               Field           | Size    |         Remarks           |
  2083.  |                               | (Bytes) |                           |
  2084.  +-------------------------------+---------+---------------------------+
  2085.  | 0x54-00-00-00                 |   4     | Request Command Code      |
  2086.  +-------------------------------+---------+---------------------------+
  2087.  | Match Address Code Points     |   1     | Indicates Address         |
  2088.  |                               |         | Matching Mechanism        |
  2089.  +-------------------------------+---------+---------------------------+
  2090.  | Port_ID of Requester          |   3     |Supplied by Requester      |
  2091.  +-------------------------------+---------+---------------------------+
  2092.  | Responder Flags               |   1     |Response Action to be taken|
  2093.  +-------------------------------+---------+---------------------------+
  2094.  | Port_ID of Responder          |   3     | Set to 0x00-00-00         |
  2095.  +-------------------------------+---------+---------------------------+
  2096.  |WW_PN of Requester             |   8     | Supplied by Requester     |
  2097.  +-------------------------------+---------+---------------------------+
  2098.  |WW_NN of Requester             |   8     |OPTIONAL;                  |
  2099.  |                               |         |Supplied by Requester      |
  2100.  +-------------------------------+---------+---------------------------+
  2101.  |WW_PN of Responder             |   8     |Supplied by Requester      |
  2102.  +-------------------------------+---------+---------------------------+
  2103.  |WW_NN of Responder             |   8     |OPTIONAL ;Supplied by      |
  2104.  |                               |         |Requester or Responder     |
  2105.  +-------------------------------+---------+---------------------------+
  2106.  |IP Add. of Requester           |   16    |OPTIONAL; Supplied by      |
  2107.  |                               |         |Requester                  |
  2108.  |                               |         |IPv4 Add.=low 32 bits      |
  2109.  +-------------------------------+---------+---------------------------+
  2110.  |IP Address of Responder        |   16    |OPTIONAL; Supplied by      |
  2111.  |                               |         |Requester or Responder     |
  2112.  |                               |         |IPv4 Add.=low 32 bits      |
  2113.  +-------------------------------+---------+---------------------------+
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129.  
  2130. Rajagopal, et al.           Standards Track                    [Page 38]
  2131.  
  2132. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2133.  
  2134.  
  2135.  +---------------------------------------------------------------------+
  2136.  |                         FARP-REPLY Command                          |
  2137.  +-------------------------------+---------+---------------------------+
  2138.  |               Field           | Size    |        Remarks            |
  2139.  |                               | (Bytes) |                           |
  2140.  +-------------------------------+---------+---------------------------+
  2141.  | 0x55-00-00-00                 |   4     |Reply Command Code         |
  2142.  +-------------------------------+---------+---------------------------+
  2143.  | Match Address Code Points     |   1     | Not Used and unchanged    |
  2144.  |                               |         |from the FARP-REQ          |
  2145.  +-------------------------------+---------+---------------------------+
  2146.  | Port_ID of Requester          |   3     |Supplied by Requester      |
  2147.  +-------------------------------+---------+---------------------------+
  2148.  | Responder Flags               |   1     | Not Used and unchanged    |
  2149.  |                               |         |from the FARP-REQ          |
  2150.  +-------------------------------+---------+---------------------------+
  2151.  | Port_ID of Responder          |   3     |Supplied by Responder      |
  2152.  +-------------------------------+---------+---------------------------+
  2153.  |WW_PN of Requester             |   8     |Supplied by Requester      |
  2154.  +-------------------------------+---------+---------------------------+
  2155.  |WW_NN of Requester             |   8     |OPTIONAL; Supplied by      |
  2156.  |                               |         |Requester                  |
  2157.  +-------------------------------+---------+---------------------------+
  2158.  |WW_PN of Responder             |   8     |Supplied by Requester      |
  2159.  +-------------------------------+---------+---------------------------+
  2160.  |WW_NN of Responder             |   8     |OPTIONAL; Supplied by      |
  2161.  |                               |         |Requester or Responder     |
  2162.  +-------------------------------+---------+---------------------------+
  2163.  |IP Add. of Requester           |   16    |OPTIONAL; Supplied by      |
  2164.  |                               |         |Requester                  |
  2165.  |                               |         |IPv4 Add.=low 32 bits      |
  2166.  +-------------------------------+---------+---------------------------+
  2167.  |IP Address of Responder        |   16    |OPTIONAL; Supplied by      |
  2168.  |                               |         |Requester or Responder     |
  2169.  |                               |         |IPv4 Add.=low 32 bits      |
  2170.  +-------------------------------+---------+---------------------------+
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186. Rajagopal, et al.           Standards Track                    [Page 39]
  2187.  
  2188. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2189.  
  2190.  
  2191. Appendix B: InARP
  2192.  
  2193. B.1 General Discussion
  2194.  
  2195.    Inverse ARP (InARP) is a mechanism described in RFC 1293/2390 [15,
  2196.    16], which is useful when a node desires to know the protocol address
  2197.    of a target node whose hardware address is known. Situations where
  2198.    this could occur are described in [15, 16]. The motivation for using
  2199.    InARP in FC is to allow a node to learn the IP address of another
  2200.    node with which it has performed a Port Login (PLOGI).  PLOGI is a
  2201.    normal FC process that happens between nodes, independent of this
  2202.    standard. PLOGI makes it possible for a node to discover the WW_PN
  2203.    and the Port_ID of the other node but not its IP address. A node in
  2204.    this way may potentially obtain the IP address of all nodes with
  2205.    which it can PLOGI.
  2206.  
  2207.    Note that the use of the InARP mechanism can result in resolving all
  2208.    WW_PN to IP addresses and ARP may no longer be required. This can be
  2209.    beneficially applied in cases where a particular FC topology makes it
  2210.    inefficient to send out an ARP broadcast.
  2211.  
  2212. B.2 InARP Protocol Operation
  2213.  
  2214.    InARP uses the same ARP Packet format but with different 'Op Codes',
  2215.    one for InARP Request and another for InARP Reply.
  2216.  
  2217.    The InARP protocol operation is very simple. The requesting node
  2218.    fills the hardware address (WW_PN) of the target device and sets the
  2219.    protocol address to 0x00-00-00-00. Because, the request is sent to a
  2220.    node whose WW_PN and Port_ID are known, there is no need for a
  2221.    broadcast. The target node fills in its Protocol address (IP address
  2222.    in this case) and sends an InARP Reply back to the sender.  A node
  2223.    may collect, all such WW_PN and IP addresses pairs in a similar way.
  2224.  
  2225. B.3 InARP Packet Format
  2226.  
  2227.    Since the InARP protocol uses the same packet format as the ARP
  2228.    protocol, much of the discussion on ARP formats given in Section 4
  2229.    applies here.
  2230.  
  2231.    The InARP is 28-bytes long in this application and uses two packet
  2232.    types:  Request and Reply. Like ARP, the InARP Packet fields are
  2233.    common to both InARP Requests and InARP Replies.
  2234.  
  2235.    InARP Request and Reply Packets are encapsulated in a single frame FC
  2236.    Sequence much like ARP. Compliant InARP Request and Reply FC
  2237.    Sequences SHALL include Network_Headers.
  2238.  
  2239.  
  2240.  
  2241.  
  2242. Rajagopal, et al.           Standards Track                    [Page 40]
  2243.  
  2244. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2245.  
  2246.  
  2247.    The 'HW Type' field SHALL be set to 0x00-01.
  2248.  
  2249.    The 'Protocol' field SHALL be set to 0x08-00 indicating IP protocol.
  2250.  
  2251.    The 'HW Addr Length' field SHALL be set to 0x06 indicating 6-bytes of
  2252.    HW address.
  2253.  
  2254.    The 'Protocol Addr Length' field SHALL be set to 0x04 indicating
  2255.    4-bytes of IP address.
  2256.  
  2257.    The 'Operation' Code field SHALL be set as follows:
  2258.  
  2259.            0x00-08 for InARP Request
  2260.            0x00-09 for InARP Reply
  2261.  
  2262.    The 'HW Addr of Sender' field SHALL be the 6-byte IEEE MAC address of
  2263.    the Requester (InARP Request) or Responder (InARP Reply).
  2264.  
  2265.    The 'Protocol Addr of Sender' field SHALL be the 4-byte IP address of
  2266.    the Requester (InARP Request) or Responder (InARP Reply).
  2267.  
  2268.    The 'HW Addr of Target' field SHALL be set to the 6-byte MAC address
  2269.    of the Responder in an InARP Request and to the 6-byte MAC address of
  2270.    the Requester in an InARP Reply.
  2271.  
  2272.    The 'Protocol Addr of Target' field SHALL be set to 0x00-00-00-00 in
  2273.    an InARP Request and to the 4-byte IP address of the Requester in an
  2274.    InARP Reply.
  2275.  
  2276. B.4 InARP Support Requirements
  2277.  
  2278.    Support for InARP is OPTIONAL. If a node does not support InARP and
  2279.    it receives an InARP Request message then a silent behavior is
  2280.    specified.
  2281.  
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298. Rajagopal, et al.           Standards Track                    [Page 41]
  2299.  
  2300. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2301.  
  2302.  
  2303. APPENDIX C: Some Informal Mechanisms for FC Layer Mappings
  2304.  
  2305.    Each method SHALL have some check to ensure PLOGI has completed
  2306.    successfully before data is sent. A related concern in large networks
  2307.    is limiting concurrent logins to only those ports with active IP
  2308.    traffic.
  2309.  
  2310. C.1 Login on Cached Mapping Information
  2311.  
  2312.    This method insulates the level performing Login from the level
  2313.    interpreting ARP. It is more accommodating of non-ARP mechanisms for
  2314.    building the FC-layer mapping table.
  2315.  
  2316.       1. Broadcast messages that carry a Network_Header contain the S_ID
  2317.          on the FC-header and WW_PN in the Network-Header.  Caching this
  2318.          information provides a correlation of Port_ID to WW_PN. If the
  2319.          received Broadcast message is compliant with this
  2320.          specification, the WW_PN will contain the MAC Address.
  2321.  
  2322.       2. The WW_PN is "available" if Login has been performed to the
  2323.          Port_ID and flagged. If Login has not been performed, the WW_PN
  2324.          is "unavailable".
  2325.  
  2326.       3. If an outbound packet is destined for a port that is
  2327.          "unavailable", the cached information (from broadcast) is used
  2328.          to look up the Port_ID.
  2329.  
  2330.       4. After sending an ELS PLOGI command (Port Login) to the Port
  2331.          (from a higher level entity at the host), waiting for an
  2332.          outbound packet before sending this Port Login conserves
  2333.          resources for only those ports which wish to establish
  2334.          communication.
  2335.  
  2336.       5. After Port Login completes (ACC received), the outbound packet
  2337.          can be forwarded. At this point in time, both ends have the
  2338.          necessary information to complete their <IP address, MAC
  2339.          Address, Port_ID> association.
  2340.  
  2341. C.2 Login on ARP Parsing
  2342.  
  2343.    This method performs Login sooner by parsing ARP before passing it up
  2344.    to higher levels for IP/MAC Address correlation. It requires a low-
  2345.    level awareness of the IP address, and is therefore protocol-
  2346.    specific.
  2347.  
  2348.       1. When an ARP Broadcast Message is received, the S_ID is
  2349.          extracted from the FC-header and the corresponding
  2350.          Network_Source_Address from the Network_Header.
  2351.  
  2352.  
  2353.  
  2354. Rajagopal, et al.           Standards Track                    [Page 42]
  2355.  
  2356. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2357.  
  2358.  
  2359.  
  2360.       2. The ARP payload is parsed to determine if
  2361.          (a) this host is the target of the ARP request (Target IP
  2362.              Address match), and
  2363.          (b) if this host is currently logged in with the port
  2364.              (Port_ID = S_ID) originating the ARP broadcast.
  2365.  
  2366.       3. The ARP is passed to a higher level for ARP Response
  2367.          generation.
  2368.  
  2369.       4. If a Port Login is required, an ELS PLOGI command (Port Login)
  2370.          is sent immediately to the Port originating the ARP Broadcast.
  2371.  
  2372.       5. After Port Login completes, an ARP response can be forwarded.
  2373.          Note that there are two possible scenarios:
  2374.  
  2375.          - The ACC to PLOGI returns before the ARP reply is processed
  2376.            and the ARP Reply is immediately forwarded.
  2377.          - The ARP reply is delayed, waiting for ACC (successful
  2378.            Login).
  2379.  
  2380.       6. At this point in time, both ends have the necessary
  2381.          information to complete their
  2382.          <IP address, MAC Address, Port_ID> association.
  2383.  
  2384. C.3 Login to Everyone
  2385.  
  2386.    In Fibre Channel topologies with a limited number of ports, it may be
  2387.    efficient to unconditionally Login to each port. This method is
  2388.    discouraged in fabric and public loop environments.
  2389.  
  2390.    After Port Login completes, the MAC Address to Port_ID Address tables
  2391.    can be constructed.
  2392.  
  2393. C.4 Static Table
  2394.  
  2395.    In some loop environments with a limited number of ports, a static
  2396.    mapping from a MAC Address to Port_ID (D_ID or AL_PA) may be
  2397.    maintained.  The FC layer will always know the destination Port_ID
  2398.    based on the table. The table is typically downloaded into the driver
  2399.    at configuration time. This method scales poorly, and is therefore
  2400.    not recommended.
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410. Rajagopal, et al.           Standards Track                    [Page 43]
  2411.  
  2412. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2413.  
  2414.  
  2415. Appendix D:  FC Layer Address Validation
  2416.  
  2417. D.1 General Discussion
  2418.  
  2419.    At all times, the <WW_PN, Port_ID> mapping MUST be valid before use.
  2420.    There are many events that can invalidate this mapping.  The
  2421.    following discussion addresses conditions when such a validation is
  2422.    required.
  2423.  
  2424.    After a FC link interruption occurs, the Port_ID of a port may
  2425.    change.  After the interruption, the Port_IDs of all other ports that
  2426.    have previously performed PLOGI (N_Port Login) with this port may
  2427.    have changed, and its own Port_ID may have changed.
  2428.  
  2429.    Because of this, address validation is required after a LIP in a loop
  2430.    topology [7] or after NOS/OLS in a point-to-point topology [6].
  2431.  
  2432.    Port_IDs will not change as a result of Link Reset (LR),thus address
  2433.    validation is not required.
  2434.  
  2435.    In addition to actively validating devices after a link interruption,
  2436.    if a port receives any FC-4 data frames (other than broadcast
  2437.    frames), from a port that is not currently logged in, then it shall
  2438.    send an explicit Extended Link Service (ELS) Request logout (LOGO)
  2439.    command to that port.
  2440.  
  2441.    ELS commands (Requests and Replies) are used by an N_Port to solicit
  2442.    a destination port (F_Port or N_Port) to perform some link-level
  2443.    function or service.) The LOGO Request is used to request
  2444.    invalidation of the service parameters and Port_ID of the recipient
  2445.    N_Port.
  2446.  
  2447.    The level of initialization and subsequent validation and recovery
  2448.    reported to the upper (FC-4) layers is implementation-specific.
  2449.  
  2450.    In general, an explicit Logout (LOGO) SHALL be sent whenever the FC-
  2451.    Layer mapping between the Port_ID and WW_PN of a remote port is
  2452.    removed.
  2453.  
  2454.    The effect of power-up or re-boot on the mapping tables is outside
  2455.    the scope of this specification.
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466. Rajagopal, et al.           Standards Track                    [Page 44]
  2467.  
  2468. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2469.  
  2470.  
  2471. D.2 FC Layer Address Validation in a Point-to-Point Topology
  2472.  
  2473.    No validation is required after LR. In a point-to-point topology,
  2474.    NOS/OLS causes implicit Logout of each port and after a NOS/OLS, each
  2475.    port must perform a PLOGI [2].
  2476.  
  2477. D.3 FC Layer Address Validation in a Private Loop Topology
  2478.  
  2479.    After a LIP, a port SHALL not transmit any link data to another port
  2480.    until the address of the other port has been validated. The
  2481.    validation consists of completing either ADISC or PDISC. (See
  2482.    Appendix G.)
  2483.  
  2484.    ADISC (Address Discovery) is an ELS command for discovering the hard
  2485.    addresses - the 24-bit identifier- of NL_Ports [5], [6].
  2486.  
  2487.    PDISC (Discover Port) is an ELS command for exchanging service
  2488.    parameters without affecting Login state [5], [6].
  2489.  
  2490.    As a requester, this specification prohibits PDISC and requires
  2491.    ADISC.
  2492.  
  2493.    As a responder, an implementation may need to respond to both ADISC
  2494.    and PDISC for compatibility with other FC specifications.
  2495.  
  2496.    If the three addresses, Port_ID, WW_PN, WW_NN, exactly match the
  2497.    values prior to the LIP, then any active exchanges may continue.
  2498.  
  2499.    If any of the three addresses have changed, then the node must be
  2500.    explicitly Logged out [4], [5].
  2501.  
  2502.    If a port's N_Port ID changes after a LIP, then all active Port-ID to
  2503.    WW_PN mappings at this port must be explicitly Logged out.
  2504.  
  2505. D.4 FC Layer Address Validation in a Public Loop Topology
  2506.  
  2507.    A FAN (Fabric Address Notification) ELS command is sent by the fabric
  2508.    to all known previously logged in  ports following an initialization
  2509.    event. Therefore, after a LIP, hosts may wait for this notification
  2510.    to arrive or they may perform a FLOGI.
  2511.  
  2512.    If the WW_PN and WW_NN of the fabric FL_Port contained in the FAN ELS
  2513.    or FLOGI response exactly match the values before the LIP, and if the
  2514.    AL_PA obtained by the port is the same as the one before the LIP,
  2515.    then the port may resume all exchanges. If not, then FLOGI (Fabric
  2516.    Login) must be performed with the fabric and all nodes must be
  2517.    explicitly Logged out.
  2518.  
  2519.  
  2520.  
  2521.  
  2522. Rajagopal, et al.           Standards Track                    [Page 45]
  2523.  
  2524. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2525.  
  2526.  
  2527.    A public loop device will have to perform the private loop
  2528.    authentication to any nodes on the local loop which have an Area +
  2529.    Domain Address == 0x00-00-XX
  2530.  
  2531. D.5 FC Layer Address Validation in a Fabric Topology
  2532.  
  2533.    No validation is required after LR (link reset).
  2534.  
  2535.    After NOS/OLS, a port must perform FLOGI. If, after FLOGI, the S_ID
  2536.    of the port, the WW_PN of the fabric, and the WW_NN of the fabric are
  2537.    the same as before the NOS/OLS, then the port may resume all
  2538.    exchanges. If not, all nodes must be explicitly, Logged out [2].
  2539.  
  2540.  
  2541.  
  2542.  
  2543.  
  2544.  
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578. Rajagopal, et al.           Standards Track                    [Page 46]
  2579.  
  2580. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2581.  
  2582.  
  2583. APPENDIX E: Fibre Channel Overview
  2584.  
  2585. E.1 Brief Tutorial
  2586.  
  2587.    The FC Standard [2] defines 5 "levels" (not layers) for its protocol
  2588.    description: FC-0, FC-1, FC-2, FC-3, and FC-4. The first three levels
  2589.    (FC-0, FC-1, FC-2) are largely concerned with the physical formatting
  2590.    and control aspects of the protocol. FC-3 has been architected to
  2591.    provide a place holder for functions that might need to be performed
  2592.    after the upper layer protocol has requested the transmission of an
  2593.    information unit, but before FC-2 is asked to deliver that piece of
  2594.    information by using a sequence of frames [18]. At this time, no FC-3
  2595.    functions have been defined.  FC-4 is meant for supporting profiles
  2596.    of Upper Layer Protocols (ULP) such as IP and Small Computer System
  2597.    Interface (SCSI), and supports a relatively small set compared to LAN
  2598.    protocols such as IEEE 802.3.
  2599.  
  2600.    FC devices are called "Nodes", each of which has at least one "Port"
  2601.    to connect to other ports. A Node may be a workstation, a disk drive
  2602.    or disk array, a camera, a display unit, etc.  A "Link" is two
  2603.    unidirectional paths flowing in opposite directions and connecting
  2604.    two Ports within adjacent Nodes.
  2605.  
  2606.    FC Nodes communicate using higher layer protocols such as SCSI and IP
  2607.    and are configured to operate using Point-to-Point, Private Loop,
  2608.    Public Loop (attachment to a Fabric), or Fabric network topologies.
  2609.  
  2610.    The point-to-point is the simplest of the four topologies, where only
  2611.    two nodes communicate with each other. The private loop may connect a
  2612.    number of devices (max 126) in a logical ring much like Token Ring,
  2613.    and is distinguished from a public loop by the absence of a Fabric
  2614.    Node participating in the loop. The Fabric topology is a switched
  2615.    network where any attached node can communicate with any other. For a
  2616.    detail description of FC topologies refer to [18].
  2617.  
  2618.    Table below summarizes the usage of port types depending on its
  2619.    location [12]. Note that E-Port is not relevant to any discussion in
  2620.    this specification but is included below for completeness.
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634. Rajagopal, et al.           Standards Track                    [Page 47]
  2635.  
  2636. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2637.  
  2638.  
  2639.   +-----------+-------------+-----------------------------------------+
  2640.   | Port Type |  Location   |      Topology Associated with           |
  2641.   +-----------+-------------+-----------------------------------------+
  2642.   | N_Port    |   Node      |      Point-to-Point or Fabric           |
  2643.   +-----------+-------------+-----------------------------------------+
  2644.   | NL_Port   |   Node      |In N_Port mode -Point-to-Point or Fabric |
  2645.   |           |             |In NL_Port mode - Arbitrated Loop        |
  2646.   +-----------+-------------+-----------------------------------------+
  2647.   | F_Port    |   Fabric    |                   Fabric                |
  2648.   +-----------+-------------+-----------------------------------------+
  2649.   | FL_Port   |   Fabric    | In F_Port mode - Fabric                 |
  2650.   |           |             | In FL_Port mode - Arbitrated Loop       |
  2651.   +-----------+-------------+-----------------------------------------+
  2652.   | E_Port    |   Fabric    |     Internal Fabric Expansion           |
  2653.   +-----------+-------------+-----------------------------------------+
  2654.  
  2655. E.2 Exchange, Information Unit, Sequence, and Frame
  2656.  
  2657.    The FC 'Exchange' is a mechanism used by two FC ports to identify and
  2658.    manage an operation between them [18]. An Exchange is opened whenever
  2659.    an operation is started between two ports. The Exchange is closed
  2660.    when this operation ends.
  2661.  
  2662.    The FC-4 Level specifies data units for each type of application
  2663.    level payload called 'Information Unit' (IU). Each protocol carried
  2664.    by FC has a defined size for the IU. Every operation must have at
  2665.    least one IU.  Lower FC levels map this to a FC Sequence.
  2666.  
  2667.    Typically, a Sequence consists of more than one frame. Larger user
  2668.    data is segmented and reassembled using two methods: Sequence Count
  2669.    and Relative Offset [18]. With the use of Sequence Count, data blocks
  2670.    are sent using frames with increasing sequence counts (modulo 65536)
  2671.    and it is quite straightforward to detect the first frame that
  2672.    contains the Network_Header.  When Relative Offset is used, as frames
  2673.    arrive, some computation is required to detect the first frame that
  2674.    contains the Network_Header. Sequence Count and Relative Offset field
  2675.    control information, is carried in the FC Header.
  2676.  
  2677.    The FC-4 Level makes a request to FC-3 Level when it wishes it to be
  2678.    delivered.  Currently, there are no FC-3 level defined functions, and
  2679.    this level simply converts the Information Unit delivery request into
  2680.    a 'Sequence' delivery request and passes it on to the FC-2 Level.
  2681.    Therefore, each FC-4 Information Unit corresponds to a FC-2 Level
  2682.    Sequence.
  2683.  
  2684.    The maximum data carried by a FC frame cannot exceed 2112-bytes [2].
  2685.    Whenever, the Information Unit exceeds this value, the FC-2 breaks it
  2686.    into multiple frames and sends it in a sequence.
  2687.  
  2688.  
  2689.  
  2690. Rajagopal, et al.           Standards Track                    [Page 48]
  2691.  
  2692. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2693.  
  2694.  
  2695.    There can be multiple Sequences within an Exchange. Sequences within
  2696.    an Exchange are processed sequentially. Only one Sequence is active
  2697.    at a time. Within an Exchange information may flow in one direction
  2698.    only or both. If bi-directional then one of the ports has the
  2699.    initiative to send the next Sequence for that Exchange. Sequence
  2700.    Initiative can be passed between the ports on the last frame of
  2701.    Sequence when control is transferred. This amounts to half-duplex
  2702.    behavior.
  2703.  
  2704.    Ports may have more than one Exchange open at a time. Ports can
  2705.    multiplex between Exchanges. Exchanges are uniquely identified by
  2706.    Exchange IDs (X_ID). An Originator OX_ID and a Responder RX_ID
  2707.    uniquely identify an Exchange.
  2708.  
  2709. E.3 Fibre Channel Header Fields
  2710.  
  2711.    The FC header as shown in the diagrams below contains routing and
  2712.    other control information to manage Frames, Sequences, and Exchanges.
  2713.    The Frame-header is sent as 6 transmission words immediately
  2714.    following an SOF delimiter and before the Data Field.
  2715.  
  2716.    D_ID and S_ID:
  2717.  
  2718.       FC uses destination address routing [12], [13]. Frame routing in a
  2719.       point-to-point topology is trivial.
  2720.  
  2721.       For the Arbitrated Loop topology, with the destination NL_Port on
  2722.       the same AL, the source port must pick the destination port,
  2723.       determine its AL Physical Address, and "Open" the destination
  2724.       port. The frames must pass through other NL_Ports or the FL_Port
  2725.       on the loop between the source and destination, but these ports do
  2726.       not capture the frames. They simply repeat and transmit the frame.
  2727.       Either communicating port may "Close" the circuit.
  2728.  
  2729.       When the destination port is not on the same AL, the source
  2730.       NL_Port must open the FL_Port attached to a Fabric. Once in the
  2731.       Fabric, the Fabric routes the frames again to the destination.
  2732.  
  2733.       In a Fabric topology, the Fabric looks into the Frame-header,
  2734.       extracts the destination address (D_ID), searches its own routing
  2735.       tables, and sends the frame to the destination port along the path
  2736.       chosen. The process of choosing a path may be performed at each
  2737.       fabric element or switch until the F_Port attached to the
  2738.       destination N_Port is reached.
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.  
  2746. Rajagopal, et al.           Standards Track                    [Page 49]
  2747.  
  2748. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2749.  
  2750.  
  2751. Fibre Channel Frame Header, Network_Header, and Payload carrying IP
  2752. Packet
  2753.  
  2754.  +---+----------------+----------------+----------------+--------------+
  2755.  |Wrd|    <31:24>     |    <23:16>     |    <15:08>     |    <07:00>   |
  2756.  +---+----------------+----------------+----------------+--------------+
  2757.  |0  |    R_CTL       |                     D_ID                       |
  2758.  +---+----------------+----------------+----------------+--------------+
  2759.  |1  |    CS_CTL      |                     S_ID                       |
  2760.  +---+----------------+----------------+----------------+--------------+
  2761.  |2  |    TYPE        |                     F_CTL                      |
  2762.  +---+----------------+----------------+----------------+--------------+
  2763.  |3  |   SEQ_ID       |  DF_CTL        |          SEQ_CNT              |
  2764.  +---+----------------+----------------+----------------+--------------+
  2765.  |4  |             OX_ID               |              RX_ID            |
  2766.  +---+--------+-------+----------------+----------------+--------------+
  2767.  |5  |        Parameter (Control or Relative Offset for Data )         |
  2768.  +---+-----------------------------------------------------------------+
  2769.  |6  |  NAA   |        Network_Dest_Address (Hi order bits)            |
  2770.  +---+--------+-------+----------------+----------------+--------------+
  2771.  |7 |                  Network_Dest_Address (Lo order bits)            |
  2772.  +---+--------+-------+----------------+----------------+--------------+
  2773.  |8  |  NAA   |        Network_Src_Address (Hi order bits)             |
  2774.  +---+--------+-------+----------------+----------------+--------------+
  2775.  |9  |                 Network_Src_Address (Lo order bits)             |
  2776.  +---+----------------+----------------+----------------+--------------+
  2777.  |10 |     DSAP       |     SSAP       |      CTRL      |     OUI      |
  2778.  +---+----------------+----------------+----------------+--------------+
  2779.  |11 |               OUI               |               PID             |
  2780.  +---+----------------+----------------+----------------+--------------+
  2781.  |12 |                   IP Packet Data ...                            |
  2782.  +---+----------------+----------------+----------------+--------------+
  2783.  
  2784.    R_CTL (Routing Control) and TYPE(data structure):
  2785.  
  2786.       Frames for each FC-4 can be easily distinguished from the others
  2787.       at the receiving port using the R_CTL (Routing Control) and TYPE
  2788.       (data structure) fields in the Frame-header.
  2789.  
  2790.       The R_CTL has two sub-fields: Routing bits and Information
  2791.       category. The Routing bits sub-field has specific values that mean
  2792.       FC-4 data follows and the Information Category tells the receiver
  2793.       the "Type" of data contained in the frame. The R_CTL and TYPE code
  2794.       points are shown in the diagrams.
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800.  
  2801.  
  2802. Rajagopal, et al.           Standards Track                    [Page 50]
  2803.  
  2804. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2805.  
  2806.  
  2807.    Other Header fields:
  2808.  
  2809.       F_CTL (Frame Control) and SEQ_ID (Sequence Identification),
  2810.       SEQ_CNT (Sequence Count), OX_ID (Originator exchange Identifier),
  2811.       RX_ID (Responder exchange Identifier), and Parameter fields are
  2812.       used to manage the contents of a frame, and mark information
  2813.       exchange boundaries for the destination port.
  2814.  
  2815.    F_CTL(Frame Control):
  2816.  
  2817.       The FC_CTL field is a 3-byte field that contains information
  2818.       relating to the frame content. Most of the other Frame-header
  2819.       fields are used for frame identification. Among other things, bits
  2820.       in this field indicate the First Sequence, Last Sequence, or End
  2821.       Sequence. Sequence Initiative bit is used to pass control of the
  2822.       next Sequence in the Exchange to the recipient.
  2823.  
  2824.    SEQ_ID (Sequence Identifier) and SEQ_CNT (Sequence Count):
  2825.  
  2826.       This is used to uniquely identify sequences within an Exchange.
  2827.       The <S_ID, D_ID, SEQ_ID> uniquely identifies any active Sequence.
  2828.       SEQ_CNT is used to uniquely identify frames within a Sequence to
  2829.       assure sequentiality of frame reception, and to allow unique
  2830.       correlation of link control frames with their related data frames.
  2831.  
  2832.    Originator Exchange Identifier (OX_ID) and Responder Exchange
  2833.    Identifier (RX_ID):
  2834.  
  2835.       The OX_ID value provides association of frames with specific
  2836.       Exchanges originating at a particular N_Port. The RX_ID field
  2837.       provides the same function that the OX_ID provides for the
  2838.       Exchange Originator. The OX_ID is meaningful on the Exchange
  2839.       Originator, and the RX_ID is meaningful on the Responder.
  2840.  
  2841.    DF_CTL (Data Field Control):
  2842.  
  2843.       The DF_CTL field specifies the presence or absence of optional
  2844.       headers between the Frame-header and Frame Payload
  2845.  
  2846.    PARAMETER:
  2847.  
  2848.       The Parameter field has two meanings, depending on Frame type.
  2849.       For Link Control Frames, the Parameter field indicates the
  2850.       specific type of Link Control frame. For Data frames, this field
  2851.       contains the Relative Offset value. This specifies an offset from
  2852.       an Upper Layer Protocol buffer from a base address.
  2853.  
  2854.  
  2855.  
  2856.  
  2857.  
  2858. Rajagopal, et al.           Standards Track                    [Page 51]
  2859.  
  2860. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2861.  
  2862.  
  2863. E.4 Code Points for FC Frame
  2864.  
  2865. E.4.1 Code Points with IP and ARP Packets
  2866.  
  2867.    The Code Points for FC Frames with IP and ARP Packets are very
  2868.    similar with the exception of PID value in Word 11 which is set to
  2869.    0x08-00 for IP and 0x08-06 for ARP. Also, the Network_Header appears
  2870.    only in the first logical frame of a FC Sequence carrying IP. In the
  2871.    case, where FC frames carry ARP packets it is always present because
  2872.    these are single frame Sequences.
  2873.  
  2874.                Code Points for FC Frame with IP packet Data
  2875.  +---+----------------+----------------+----------------+------------+
  2876.  |Wrd|    <31:24>     |    <23:16>     |    <15:08>     |    <07:00> |
  2877.  +---+----------------+----------------+----------------+------------+
  2878.  | 0 |    0x04        |                     D_ID                     |
  2879.  +---+----------------+----------------+----------------+------------+
  2880.  | 1 |    0x00        |                     S_ID                     |
  2881.  +---+----------------+----------------+----------------+------------+
  2882.  | 2 |    0x05        |                     F_CTL                    |
  2883.  +---+----------------+----------------+----------------+------------+
  2884.  | 3 |   SEQ_ID       |     0x20       |          SEQ_CNT            |
  2885.  +---+----------------+----------------+----------------+------------+
  2886.  | 4 |             OX_ID               |              RX_ID          |
  2887.  +---+----------------+----------------+----------------+------------+
  2888.  | 5 |           0xXX-XX-XX-XX Parameter Relative Offset             |
  2889.  +---+------+--------------------------------------------------------+
  2890.  | 6 | 0001 |        0x000             | Dest. MAC (Hi order bits)   |
  2891.  +---+------+---------+----------------+----------------+------------+
  2892.  | 7 |                      Dest. MAC (Lo order bits)                |
  2893.  +---+------+----------+----------------+----------------------------+
  2894.  | 8 | 0001 |        0x000             | Src. MAC  (Hi order bits)   |
  2895.  +---+------+---------+----------------+----------------+------------+
  2896.  | 9 |                 Src. MAC (Lo order bits)                      |
  2897.  +---+----------------+----------------+----------------+------------+
  2898.  |10 |     0xAA       |     0xAA       |      0x03      |     0x00   |
  2899.  +---+----------------+----------------+----------------+------------+
  2900.  |11 |           0x00-00               |             0x08-00         |
  2901.  +---+----------------+----------------+----------------+------------+
  2902.  |12 |                   IP Packet Data                              |
  2903.  +---+----------------+----------------+----------------+------------+
  2904.  |13 |                        ...                                    |
  2905.  +---+----------------+----------------+----------------+------------+
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.  
  2912.  
  2913.  
  2914. Rajagopal, et al.           Standards Track                    [Page 52]
  2915.  
  2916. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2917.  
  2918.  
  2919.               Code Points for FC Frame with ARP packet Data
  2920.  +---+----------------+----------------+----------------+------------+
  2921.  |Wrd|    <31:24>     |    <23:16>     |    <15:08>     |    <07:00> |
  2922.  +---+----------------+----------------+----------------+------------+
  2923.  | 0 |    0x04        |                     D_ID                     |
  2924.  +---+----------------+----------------+----------------+------------+
  2925.  | 1 |    0x00        |                     S_ID                     |
  2926.  +---+----------------+----------------+----------------+------------+
  2927.  | 2 |    0x05        |                     F_CTL                    |
  2928.  +---+----------------+----------------+----------------+------------+
  2929.  | 3 |   SEQ_ID       |     0x20       |          SEQ_CNT            |
  2930.  +---+----------------+----------------+----------------+------------+
  2931.  | 4 |             OX_ID               |              RX_ID          |
  2932.  +---+----------------+----------------+----------------+------------+
  2933.  | 5 |           0xXX-XX-XX-XX Parameter Relative Offset             |
  2934.  +---+------+--------------------------------------------------------+
  2935.  | 6 | 0001 |        0x000             | Dest. MAC (Hi order bits)   |
  2936.  +---+------+---------+----------------+----------------+------------+
  2937.  | 7 |                      Dest. MAC (Lo order bits)                |
  2938.  +---+------+----------+----------------+----------------------------+
  2939.  | 8 | 0001 |        0x000             | Src. MAC  (Hi order bits)   |
  2940.  +---+------+---------+----------------+----------------+------------+
  2941.  | 9 |                 Src. MAC (Lo order bits)                      |
  2942.  +---+----------------+----------------+----------------+------------+
  2943.  |10 |     0xAA       |     0xAA       |      0x03      |     0x00   |
  2944.  +---+----------------+----------------+----------------+------------+
  2945.  |11 |           0x00-00               |             0x08-06         |
  2946.  +---+----------------+----------------+----------------+------------+
  2947.  |12 |                   ARP Packet Data                             |
  2948.  +---+----------------+----------------+----------------+------------+
  2949.  |13|                        ...                                     |
  2950.  +---+----------------+----------------+----------------+------------+
  2951.  
  2952.    The Code Points for a FARP-REQ for a specific Match Address Code
  2953.    Point MATCH_WW_PN_NN ( b'011') is shown below. In particular, note
  2954.    the IP addresses field of the Requester set to a valid address and
  2955.    that of the responder set to '0'. Note also the setting of the D_ID
  2956.    address and the Port_ID of the Responder.
  2957.  
  2958.    The corresponding code point for a FARP-REPLY is also shown below.
  2959.    In particular, note the setting of the Port_ID of Responder and the
  2960.    IP address setting of the Responder.
  2961.  
  2962.  
  2963.  
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970. Rajagopal, et al.           Standards Track                    [Page 53]
  2971.  
  2972. RFC 2625             IP and ARP over Fibre Channel             June 1999
  2973.  
  2974.  
  2975. E.4.2 Code Points with FARP Command
  2976.  
  2977.      Code Points for FC Frame with FARP-REQ Command for MATCH_WW_PN_NN
  2978.  +---+----------------+----------------+----------------+------------+
  2979.  |Wrd|    <31:24>     |    <23:16>     |    <15:08>     |    <07:00> |
  2980.  +---+----------------+----------------+----------------+------------+
  2981.  | 0 |    0x04        |                     D_ID =                   |
  2982.  |   |                |    0xFF             0xFF              0xFF   |
  2983.  +---+----------------+----------------+----------------+------------+
  2984.  | 1 |    0x00        |                     S_ID                     |
  2985.  +---+----------------+----------------+----------------+------------+
  2986.  | 2 |    0x05        |                     F_CTL                    |
  2987.  +---+----------------+----------------+----------------+------------+
  2988.  | 3 |   SEQ_ID       |     0x20       |          SEQ_CNT            |
  2989.  +---+----------------+----------------+----------------+------------+
  2990.  | 4 |             OX_ID               |              RX_ID          |
  2991.  +---+----------------+----------------+----------------+------------+
  2992.  | 5 |           0xXX-XX-XX-XX Parameter Relative Offset             |
  2993.  +---+----------------+----------------+----------------+------------+
  2994.  | 6 |     0x54       |     0x00       |     0x00       |    0x00    |
  2995.  +---+----------------+----------------+----------------+------------+
  2996.  | 7 |           Port_ID  of Requester = S_ID           |Match Addr. |
  2997.  |   |                                                  |Code Points |
  2998.  |   |                                                  | xxxxx011   |
  2999.  +---+----------------+----------------+----------------+------------+
  3000.  | 8 |           Port_ID  of Responder   =              |Responder   |
  3001.  |   |     0x00              0x00            0x00       |Flags       |
  3002.  +---+----------------+----------------+----------------+------------+
  3003.  | 9 | 0001 |        0x000             |WW_PN Src. MAC(Hi order bits)|
  3004.  +---+------+---------+----------------+----------------+------------+
  3005.  |10 |         WW_PN Src. MAC (Lo order bits)                        |
  3006.  +---+------+----------+---------------+-----------------------------+
  3007.  |11 | 0001 |        0x000             |WW_NN Src. MAC(Hi order bits)|
  3008.  +---+------+---------+----------------+----------------+------------+
  3009.  |12 |         WW_NN Src. MAC (Lo order bits)                        |
  3010.  +---+----------------+----------------+----------------+------------+
  3011.  |13 | 0001 |        0x000             |WW_PN Src. MAC(Hi order bits)|
  3012.  +---+------+---------+----------------+----------------+------------+
  3013.  |14 |         WW_PN Dest. MAC (Lo order bits)                       |
  3014.  +---+------+----------+---------------+-----------------------------+
  3015.  |15 | 0001 |        0x000             |WW_NN Dest.MAC(Hi order bits)|
  3016.  +---+------+---------+----------------+----------------+------------+
  3017.  |16 |         WW_NN Dest. MAC (Lo order bits)                       |
  3018.  +---+----------------+----------------+----------------+------------+
  3019.  |17 |                           0x00-00-00-00                       |
  3020.  +--------------------+----------------+---------+-------------------+
  3021.  |18 |                           0x00-00-00-00                       |
  3022.  +--------------------+----------------+---------+-------------------+
  3023.  
  3024.  
  3025.  
  3026. Rajagopal, et al.           Standards Track                    [Page 54]
  3027.  
  3028. RFC 2625             IP and ARP over Fibre Channel             June 1999
  3029.  
  3030.  
  3031.  |19 |                           0x00-00-00-00                       |
  3032.  +--------------------+----------------+---------+-------------------+
  3033.  |20 |     set to a valid IPv4 Address by Requester if Available     |
  3034.  +--------------------+----------------+---------+-------------------+
  3035.  |21 |                           0x00-00-00-00                       |
  3036.  +--------------------+----------------+---------+-------------------+
  3037.  |22 |                           0x00-00-00-00                       |
  3038.  +--------------------+----------------+---------+-------------------+
  3039.  |23 |                           0x00-00-00-00                       |
  3040.  +--------------------+----------------+---------+-------------------+
  3041.  |   |                           0x00-00-00-00                       |
  3042.  |24 |       set to a valid IPv4 Address of Responder if available   |
  3043.  +--------------------+----------------+---------+-------------------+
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.  
  3068.  
  3069.  
  3070.  
  3071.  
  3072.  
  3073.  
  3074.  
  3075.  
  3076.  
  3077.  
  3078.  
  3079.  
  3080.  
  3081.  
  3082. Rajagopal, et al.           Standards Track                    [Page 55]
  3083.  
  3084. RFC 2625             IP and ARP over Fibre Channel             June 1999
  3085.  
  3086.  
  3087.             Code Points for FC Frame with FARP-REPLY Command
  3088.  +---+----------------+----------------+----------------+------------+
  3089.  |Wrd|    <31:24>     |    <23:16>     |    <15:08>     |    <07:00> |
  3090.  +---+----------------+----------------+----------------+------------+
  3091.  | 0 |    0x04        |                     D_ID                     |
  3092.  +---+----------------+----------------+----------------+------------+
  3093.  | 1 |    0x00        |                     S_ID                     |
  3094.  +---+----------------+----------------+----------------+------------+
  3095.  | 2 |    0x05        |                     F_CTL                    |
  3096.  +---+----------------+----------------+----------------+------------+
  3097.  | 3 |   SEQ_ID       |     0x20       |          SEQ_CNT            |
  3098.  +---+----------------+----------------+----------------+------------+
  3099.  | 4 |             OX_ID               |              RX_ID          |
  3100.  +---+----------------+----------------+----------------+------------+
  3101.  | 5 |           0xXX-XX-XX-XX Parameter Relative Offset             |
  3102.  +---+----------------+----------------+----------------+------------+
  3103.  | 6 |     0x55       |     0x00       |     0x00       |    0x00    |
  3104.  +---+----------------+----------------+----------------+------------+
  3105.  | 7 |           Port_ID  of Requester = D_ID           | xxxxx011   |
  3106.  +---+----------------+----------------+----------------+------------+
  3107.  | 8 |           Port_ID  of Responder = S_ID           |Resp. Flag  |
  3108.  +---+----------------+----------------+----------------+------------+
  3109.  | 9 | 0001 |        0x000             |WW_PN Src. MAC(Hi order bits)|
  3110.  +---+------+---------+----------------+----------------+------------+
  3111.  |10 |         WW_PN Src. MAC (Lo order bits)                        |
  3112.  +---+------+----------+---------------+-----------------------------+
  3113.  |11 | 0001 |        0x000             |WW_NN Src. MAC(Hi order bits)|
  3114.  +---+------+---------+----------------+----------------+------------+
  3115.  |12 |         WW_NN Src. MAC (Lo order bits)                        |
  3116.  +---+----------------+----------------+----------------+------------+
  3117.  |13 | 0001 |        0x000             |WW_PN Src. MAC(Hi order bits)|
  3118.  +---+------+---------+----------------+----------------+------------+
  3119.  |14 |         WW_PN Dest. MAC (Lo order bits)                       |
  3120.  +---+------+----------+---------------+-----------------------------+
  3121.  |15 | 0001 |        0x000             |WW_NN Dest.MAC(Hi order bits)|
  3122.  +---+------+---------+----------------+----------------+------------+
  3123.  |16 |         WW_NN Dest. MAC (Lo order bits)                       |
  3124.  +---+----------------+----------------+----------------+------------+
  3125.  |17 |                           0x00-00-00-00                       |
  3126.  +--------------------+----------------+---------+-------------------+
  3127.  |18 |                           0x00-00-00-00                       |
  3128.  +--------------------+----------------+---------+-------------------+
  3129.  |19 |                           0x00-00-00-00                       |
  3130.  +--------------------+----------------+---------+-------------------+
  3131.  |20 |       set to a valid IPv4 Address by Requester                |
  3132.  +--------------------+----------------+---------+-------------------+
  3133.  |21 |                           0x00-00-00-00                       |
  3134.  +--------------------+----------------+---------+-------------------+
  3135.  
  3136.  
  3137.  
  3138. Rajagopal, et al.           Standards Track                    [Page 56]
  3139.  
  3140. RFC 2625             IP and ARP over Fibre Channel             June 1999
  3141.  
  3142.  
  3143.  |22 |                           0x00-00-00-00                       |
  3144.  +--------------------+----------------+---------+-------------------+
  3145.  |23 |                           0x00-00-00-00                       |
  3146.  +--------------------+----------------+---------+-------------------+
  3147.  |24 |        set to a valid IPv4 Address by Responder               |
  3148.  +--------------------+----------------+---------+-------------------+
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.  
  3174.  
  3175.  
  3176.  
  3177.  
  3178.  
  3179.  
  3180.  
  3181.  
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  
  3187.  
  3188.  
  3189.  
  3190.  
  3191.  
  3192.  
  3193.  
  3194. Rajagopal, et al.           Standards Track                    [Page 57]
  3195.  
  3196. RFC 2625             IP and ARP over Fibre Channel             June 1999
  3197.  
  3198.  
  3199. APPENDIX F: Fibre Channel Protocol Considerations
  3200.  
  3201. F.1 Reliability In Class 3
  3202.  
  3203.    Problem: Sequence ID reuse in Class 3 can conceivably result in
  3204.    missing frame aliasing, which could result in delivery of corrupted
  3205.    (incorrectly-assembled) data, with no corresponding detection at the
  3206.    FC level.
  3207.  
  3208.    Prevention: This specification requires one of the following methods
  3209.    if Class 3 is used.
  3210.  
  3211.         - Continuously increasing Sequence Count (new Login Bit) - both
  3212.           sides must set When an N_Port sets the PLOGI login bit for
  3213.           continuously increasing SEQ_CNT, it is guaranteeing that it
  3214.           will transmit all frames within an Exchange using a
  3215.           continuously increasing SEQ_CNT (see description in Section
  3216.           B.1 below).
  3217.         - After using all SEQ_IDs (0-255) once, must start a new
  3218.           Exchange. It is recommended that a minimum of 4 Exchanges be
  3219.           used before an OX_ID can be reused.
  3220.         - Note: If an implementation is not checking the OX_ID when
  3221.           reassembling Sequences, the problem can still occur. Cycling
  3222.           through some number of SEQ_IDs, then jumping to a new Exchange
  3223.           does not solve the problem. SEQ_IDs must still be unique
  3224.           between two N_Ports, even across Exchanges.
  3225.         - Use only single-frame Sequences.
  3226.  
  3227. F.2 Continuously Increasing SEQ_CNT
  3228.  
  3229.    This method allows the recipient to check incoming frames, knowing
  3230.    exactly what SEQ_CNT value to expect next. Since the SEQ_CNT will not
  3231.    repeat for 65,536 frames, the aliasing problem is significantly
  3232.    reduced.
  3233.  
  3234.    A Login bit (PLOGI) is used to indicate that a device always uses a
  3235.    continuously increasing SEQ_CNT, even across transfers of Sequence
  3236.    Initiative. This bit is necessary for interoperability with some
  3237.    devices, and it provides other benefits as well.
  3238.  
  3239.    In the FC-PH-3 [11], the following is supported:
  3240.  
  3241.          Word 1, bit 17 - SEQ_CNT (S)
  3242.          0 = Normal FC-PH rules apply
  3243.          1 = Continuously increasing SEQ_CNT
  3244.  
  3245.  
  3246.  
  3247.  
  3248.  
  3249.  
  3250. Rajagopal, et al.           Standards Track                    [Page 58]
  3251.  
  3252. RFC 2625             IP and ARP over Fibre Channel             June 1999
  3253.  
  3254.  
  3255.    Any N_Port that sets Word 1, Bit 17 = 1, is guaranteeing that it will
  3256.    transmit all frames within an Exchange using a continuously
  3257.    increasing SEQ_CNT. Each Exchange SHALL start with SEQ_CNT = 0 in the
  3258.    first frame, and every frame transmitted after that SHALL increment
  3259.    the previous SEQ_CNT by one, even across transfers of Sequence
  3260.    Initiative. Any frames received from the other N_Port in the Exchange
  3261.    shall have no effect on the transmitted SEQ_CNT.
  3262.  
  3263.  
  3264.  
  3265.  
  3266.  
  3267.  
  3268.  
  3269.  
  3270.  
  3271.  
  3272.  
  3273.  
  3274.  
  3275.  
  3276.  
  3277.  
  3278.  
  3279.  
  3280.  
  3281.  
  3282.  
  3283.  
  3284.  
  3285.  
  3286.  
  3287.  
  3288.  
  3289.  
  3290.  
  3291.  
  3292.  
  3293.  
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306. Rajagopal, et al.           Standards Track                    [Page 59]
  3307.  
  3308. RFC 2625             IP and ARP over Fibre Channel             June 1999
  3309.  
  3310.  
  3311. Appendix G: Acronyms and Glossary of FC Terms
  3312.  
  3313.    It is assumed that the reader is familiar with the terms and acronyms
  3314.    used in the FC protocol specification [2]. The following is provided
  3315.    for easy reference.
  3316.  
  3317.    First Frame: The frame that contains the SOFi field. This means a
  3318.    logical first and may not necessarily be the first frame temporally
  3319.    received in a sequence.
  3320.  
  3321.    Code Point: The coded bit pattern associated with control fields in
  3322.    frames or packets.
  3323.  
  3324.    PDU: Protocol Data Unit
  3325.  
  3326.    ABTS_LS: Abort Sequence Protocol - Last Sequence. A protocol for
  3327.    aborting an exchange based on the ABTS recipient setting the
  3328.    Last_Sequence bit in the BA_ACC ELS to the ABTS
  3329.  
  3330.    ADISC: Discover Address. An ELS for discovering the Hard Addresses
  3331.    (the 24 bit NL_Port Identifier) of N_Ports
  3332.  
  3333.    D_ID: Destination ID
  3334.  
  3335.    ES: End sequence. This FCTL bit in the FC header indicates this frame
  3336.    is the last frame of the sequence.
  3337.  
  3338.    FAN: Fabric Address Notification. An ELS sent by the fabric to all
  3339.    known previously Logged in ports following an initialization event.
  3340.  
  3341.    FLOGI: Fabric Login.
  3342.  
  3343.    LIP: Loop Initialization. A primitive Sequence used by a port to
  3344.    detect if it is part of a loop or to recover from certain loop
  3345.    errors.
  3346.  
  3347.    Link: Two unidirectional paths flowing in opposite directions and
  3348.    connecting two Ports within adjacent Nodes.
  3349.  
  3350.    LOGO: Logout.
  3351.  
  3352.    LR: Link reset. A primitive sequence transmitted by a port to
  3353.    initiate the link reset protocol or to recover from a link timeout.
  3354.  
  3355.    LS: Last Sequence of Exchange. This FCTL bit in the FC header
  3356.    indicates the Sequence is the Last Sequence of the Exchange.
  3357.  
  3358.  
  3359.  
  3360.  
  3361.  
  3362. Rajagopal, et al.           Standards Track                    [Page 60]
  3363.  
  3364. RFC 2625             IP and ARP over Fibre Channel             June 1999
  3365.  
  3366.  
  3367.    Network Address Authority: A 4-bit field specified in Network_Headers
  3368.    that distinguishes between various name registration authorities that
  3369.    may be used to identify the WW_PN and the WW_NN. NAA=b'0001'
  3370.    indicates IEEE-48-bit MAC addresses
  3371.  
  3372.    Node: A collection of one or more Ports identified by a unique World
  3373.    Wide Node Name (WW_NN).
  3374.  
  3375.    NOS: Not Operational. A primitive Sequence transmitted to indicate
  3376.    that the port transmitting this Sequence has detected a link failure
  3377.    or is offline, waiting for OLS to be received.
  3378.  
  3379.    OLS: Off line. A primitive Sequence transmitted to indicate that the
  3380.    port transmitting this Sequence is either initiating the link
  3381.    initialization protocol, receiving and recognizing NOS, or entering
  3382.    the offline state.
  3383.  
  3384.    PDISC: Discover Port. An ELS for exchanging Service Parameters
  3385.    without affecting Login state.
  3386.  
  3387.    Primitive Sequence: A primitive Sequence is an Ordered Set that is
  3388.    transmitted repeatedly and continuously.
  3389.  
  3390.    Private Loop Device: A device that does not attempt Fabric Login
  3391.    (FLOGI) and usually adheres to PLDA.  The Area and Domain components
  3392.    of the NL_Port ID must be 0x0000. These devices cannot communicate
  3393.    with any port not in the local loop.
  3394.  
  3395.    Public Loop Device: A device whose Area and Domain components of the
  3396.    NL_Port ID cannot be 0x0000. Additionally, to be FLA compliant, the
  3397.    device must attempt to open AL_PA 0x00 and attempt FLOGI. These
  3398.    devices communicate with devices on the local loop as well as devices
  3399.    on the other side of a Fabric.
  3400.  
  3401.    Port: The transmitter, receiver and associated logic at either end of
  3402.    a link within a Node. There may be multiple Ports per Node. Each Port
  3403.    is identified by a unique Port_ID, which is volatile, and a unique
  3404.    World Wide Port Name (WW_PN), which is unchangeable. In this
  3405.    document, the term "port" may be used interchangeably with NL_Port or
  3406.    N_Port.
  3407.  
  3408.    Port_ID: Fibre Channel ports are addressed by unique 24-bit Port_IDs.
  3409.    In a Fibre Channel frame header, the Port_ID is referred to as S_ID
  3410.    (Source ID) to identify the port originating a frame, and D_ID to
  3411.    identify the destination port. The Port_ID of a given port is
  3412.    volatile (changeable).
  3413.  
  3414.    PLOGI: Port Login.
  3415.  
  3416.  
  3417.  
  3418. Rajagopal, et al.           Standards Track                    [Page 61]
  3419.  
  3420. RFC 2625             IP and ARP over Fibre Channel             June 1999
  3421.  
  3422.  
  3423.    SI: Sequence Initiative
  3424.  
  3425.    World Wide Port_Name (WW_PN): Fibre Channel requires each Port to
  3426.    have an unchangeable WW_PN. Fibre Channel specifies a Network Address
  3427.    Authority (NAA) to distinguish between the various name registration
  3428.    authorities that may be used to identify the WW_PN. A 4-bit NAA
  3429.    identifier, 12-bit field set to 0x0 and an IEEE 48-bit MAC address
  3430.    together make this a 64-bit field.
  3431.  
  3432.    World Wide Node_Name (WW_NN): Fibre Channel identifies each Node with
  3433.    a unchangeable WW_NN. In a single port Node, the WW_NN and the WW_PN
  3434.    may be identical.
  3435.  
  3436.  
  3437.  
  3438.  
  3439.  
  3440.  
  3441.  
  3442.  
  3443.  
  3444.  
  3445.  
  3446.  
  3447.  
  3448.  
  3449.  
  3450.  
  3451.  
  3452.  
  3453.  
  3454.  
  3455.  
  3456.  
  3457.  
  3458.  
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474. Rajagopal, et al.           Standards Track                    [Page 62]
  3475.  
  3476. RFC 2625             IP and ARP over Fibre Channel             June 1999
  3477.  
  3478.  
  3479. Full Copyright Statement
  3480.  
  3481.    Copyright (C) The Internet Society (1999).  All Rights Reserved.
  3482.  
  3483.    This document and translations of it may be copied and furnished to
  3484.    others, and derivative works that comment on or otherwise explain it
  3485.    or assist in its implementation may be prepared, copied, published
  3486.    and distributed, in whole or in part, without restriction of any
  3487.    kind, provided that the above copyright notice and this paragraph are
  3488.    included on all such copies and derivative works.  However, this
  3489.    document itself may not be modified in any way, such as by removing
  3490.    the copyright notice or references to the Internet Society or other
  3491.    Internet organizations, except as needed for the purpose of
  3492.    developing Internet standards in which case the procedures for
  3493.    copyrights defined in the Internet Standards process must be
  3494.    followed, or as required to translate it into languages other than
  3495.    English.
  3496.  
  3497.    The limited permissions granted above are perpetual and will not be
  3498.    revoked by the Internet Society or its successors or assigns.
  3499.  
  3500.    This document and the information contained herein is provided on an
  3501.    "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
  3502.    TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
  3503.    BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
  3504.    HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
  3505.    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  3506.  
  3507. Acknowledgement
  3508.  
  3509.    Funding for the RFC Editor function is currently provided by the
  3510.    Internet Society.
  3511.  
  3512.  
  3513.  
  3514.  
  3515.  
  3516.  
  3517.  
  3518.  
  3519.  
  3520.  
  3521.  
  3522.  
  3523.  
  3524.  
  3525.  
  3526.  
  3527.  
  3528.  
  3529.  
  3530. Rajagopal, et al.           Standards Track                    [Page 63]
  3531.  
  3532.