RFC 2834
ARP and IP Broadcast over HIPPI-800
ARP and IP Broadcast over HIPPI-800 π
Okay bestie, the header situation π This RFC is by J.-M. Pittet at Silicon Graphics Inc., it's a Standards Track doc, and it's dated May 2000. It's numbered RFC 2834 in the Network Working Group series, and it obsoletes RFC 1374. The header lists no updates. π¦
Status of this Memo β¨
Okay so this is an Internet standards track protocol for the whole Internet community π It's also asking people for discussion and suggestions for improvements. If you want the standardization state and status of this protocol, check the current edition of the "Internet Official Protocol Standards" (STD 1) π Distribution of this memo is unlimited, so share away π
Copyright Notice π
Copyright (C) The Internet Society (2000). All Rights Reserved. π
Abstract π₯
This doc explains how to resolve IP addresses to ANSI High-Performance Parallel Interface (HIPPI) hardware addresses, and how to emulate IP broadcast in a logical IP subnet (LIS) as a direct extension of HARP π§ It defines a HARP that will interoperate between HIPPI-800 and HIPPI-6400, which is also known as Gigabyte System Network (GSN) β‘ When it's combined with RFC-2067 "IP over HIPPI," this doc obsoletes RFC-1374. π
Table of Contents π§
1. Introduction . . . . . . . . . . . . . . . . . . . . . . 2
2. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3
3. Definitions . . . . . . . . . . . . . . . . . . . . . . . 3
3.1 Global Concepts . . . . . . . . . . . . . . . . . . . 3
3.2 Glossary . . . . . . . . . . . . . . . . . . . . . . 3
4. IP Subnetwork Configuration . . . . . . . . . . . . . . . 5
4.1 Background . . . . . . . . . . . . . . . . . . . . . 5
4.2 HIPPI LIS Requirements . . . . . . . . . . . . . . . 6
5. HIPPI Address Resolution Protocol - HARP . . . . . . . . 7
5.1 HARP Algorithm . . . . . . . . . . . . . . . . . . . 8
5.1.1 Selecting the authoritative HARP service . . . 8
5.1.2 HARP registration phase . . . . . . . . . . . . 9
5.1.3 HARP operational phase . . . . . . . . . . . . 10
5.2 HARP Client Operational Requirements . . . . . . . . . 11
5.3 Receiving Unknown HARP Messages . . . . . . . . . . . 12
5.4 HARP Server Operational Requirements . . . . . . . . 12
5.5 HARP and Permanent ARP Table Entries . . . . . . . . 14
5.6 HARP Table Aging . . . . . . . . . . . . . . . . . . 14
6. HARP Message Encoding . . . . . . . . . . . . . . . . . . 15
6.1 HIPPI-LE Header of HARP Messages . . . . . . . . . . 15
6.1.1 IEEE 802.2 LLC . . . . . . . . . . . . . . . . 16
6.1.2 SNAP . . . . . . . . . . . . . . . . . . . . . 16
6.1.3 Diagram . . . . . . . . . . . . . . . . . . . . 17
6.2 HIPPI Hardware Address Formats and Requirements . . . 18
6.2.1 48-bit Universal LAN MAC Addresses . . . . . . 18
6.3 HARP and InHARP Message Formats . . . . . . . . . . . 19
6.3.1 Example Message encodings . . . . . . . . . . . 22
6.3.2 HARP_NAK message format . . . . . . . . . . . . 22
6.3.3 Combined HIPPI-LE and HARP message addresses . 22
7. Broadcast and Multicast . . . . . . . . . . . . . . . . . 23
7.1 Protocol for an IP Broadcast Emulation Server - PIBES 23
7.2 IP Broadcast Address . . . . . . . . . . . . . . . . 24
7.3 IP Multicast Address . . . . . . . . . . . . . . . . 24
7.4 A Note on Broadcast Emulation Performance . . . . . . 24
8. HARP for Scheduled Transfer Protocol . . . . . . . . . . 25
9. Discovery of One's Own Switch Address . . . . . . . . . . 25
10. Security Considerations . . . . . . . . . . . . . . . . . 26
11. Open Issues . . . . . . . . . . . . . . . . . . . . . . . 26
12. HARP Examples . . . . . . . . . . . . . . . . . . . . . . 26
12.1 Registration Phase of Client Y on Non-broadcast HW . 27
12.2 Registration Phase of Client Y on Broadcast Hardware 28
12.3 Operational Phase (phase II) . . . . . . . . . . . . 28
12.3.1 Standard successful HARP_Resolve example . . 29
12.3.2 Standard non-successful HARP_Resolve example 30
13. References . . . . . . . . . . . . . . . . . . . . . . . 31
14. Acknowledgments . . . . . . . . . . . . . . . . . . . . . 32
15. Changes from RFC-1374 . . . . . . . . . . . . . . . . . . 32
16. Author's Address . . . . . . . . . . . . . . . . . . . . 33
17. Full Copyright Statement . . . . . . . . . . . . . . . . 34
1. Introduction πΈ
Okay so HIPPI is the ANSI High-Performance Parallel Interface, and it's a dual simplex data channel π It can send and receive data at the same time, at 800 or 1600 megabits per second. Between 1987 and 1997, the ANSI X3T11.1 HIPPI working group (now known as NCITS T11.1) standardized five documents about using HIPPI as a network interface π They cover the physical and electrical spec (HIPPI-PH [1]), the framing of a byte stream (HIPPI-FP [2]), encapsulation of IEEE 802.2 LLC (HIPPI-LE [3]), how a physical layer switch behaves (HIPPI-SC [4]), and the physical-level and optical spec (HIPPI-Serial [5]). HIPPI-LE also implies the encapsulation of Internet Protocol[5] π The reader should be familiar with the ANSI HIPPI documents. Approved ANSI NCITS standards are available from ANSI (http://www.ansi.org), and the working docs of the T11.1 working group can be grabbed from the T11 web page (http://www.t11.org/) π«Ά
HIPPI switches can connect all kinds of computers and peripheral equipment for lots of purposes, but the working group stopped short of describing their use as Local Area Networks π€·ββοΈ RFC-2067 [15] describes the encapsulation of IP over HIPPI-800. This memo picks up exactly where the working group and RFC-2067 [15] left off, and it defines address resolution and LIS IP broadcast emulation for HIPPI-800 networks β¨
While looking into possible solutions for HARP, it became super clear that IP broadcast could easily be emulated for both HIPPI-800 and HIPPI-6400 hardware types π¦ That matters because HIPPI switches are not required to implement broadcast, but a lot of standard networking protocols rely on broadcast π So this memo also covers emulating LIS IP broadcast as an extension of HARP. π§
2. Terminology π
Okay, the key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be read as described in RFC-2119 [18] π Those are the only words that carry that special meaning here, so keep an eye out π
3. Definitions π
3.1 Global concepts used π
Here's the setup π The terms "requester" and "target" identify the port that starts the address resolution request, and the port whose address it wants to discover, respectively. If not all switches in the LIS support broadcast, there will be a HARP server providing the address resolution service, and it will be the source of the reply. If on the other hand all switches support broadcast, then the source address of a reply will be the target's target address π§
Values are decimal unless otherwise noted. Formatting follows IEEE 802.1A canonical bit order and HIPPI-FP bit and byte order π₯
3.2 Glossary π
Broadcast π’ A distribution mode which transmits a message to all ports. This includes the port sending the message, in particular π
Classical/Conventional π¦ Both terms are used to refer to networks such as Ethernet, FDDI, and other 802 LAN types, as distinct from HIPPI-SC LANs β¨
Destination π― The HIPPI port that receives data from a HIPPI Source π
HARP π§ HARP describes the whole set of HIPPI address resolution encodings and algorithms defined in this memo. It's a combination and adaptation of the Internet Address Resolution Protocol (ARP) RFC-826 [13] and Inverse ARP (InARP) [7] (see section 5). HARP also describes the HIPPI specific version of ARP [10], meaning both the protocol and the HIPPI specific encoding πΈ
HARP table π Each host has a HARP table, which contains the IP to hardware address mapping of IP members ποΈ
HIPPI-Serial π An implementation of HIPPI in serial fashion on coaxial cable or optical fiber. (See [5].) π
HRAL π The HARP Request Address List. This is a list of ULAs to which HARP messages are sent when resolving names to addresses (see section 4.2) π
Hardware (HW) address π The hardware address of a port, consisting of an I-Field and an optional ULA (see section 6.2). Note: the term port, as used in this document, refers to a HIPPI port, and it's roughly equivalent to the term "interface" as commonly used in other IP documents π«Ά
Host π» An entity, usually a computer system, that may have one or more HIPPI ports, and that may serve as a client or a HARP server π§
Port π An entity made up of one HIPPI Source/Destination dual simplex pair. It's connected by parallel or serial HIPPI to a HIPPI-SC switch, and it transmits and receives IP datagrams β¨
PIBES π¦ The Protocol for Internet Broadcast Emulation Server (see section 7) π‘
Switch Address π A value used as the address of a port on a HIPPI-SC network. It's transmitted in the I-field, and HIPPI-SC switches map Switch Addresses to physical switch port numbers. The switch address is extended with a mode byte to form an I-Field (see [4] and 6.2.2) π
Source π― The HIPPI port that generates data to send to a HIPPI Destination π
Universal LAN MAC Address (ULA) π A 48-bit globally unique address, administered by the IEEE, that's assigned to each port on an Ethernet, FDDI, 802 network, or HIPPI-SC LAN π₯
4. IP Subnetwork Configuration π
4.1 Background π
Okay so ARP (address resolution protocol), as defined in [12], was meant to work on the 'local' cable π That definition gives ARP a local logical IP subnet (LIS) scope. In the LIS scenario, each separate administrative entity configures its hosts and routers within the LIS. Each LIS operates and communicates independently of other LIS's on the same HIPPI network π«Ά
HARP has LIS scope only, and it serves all ports in the LIS. Communication to ports outside the local LIS is usually handled via an IP router. This router is a HIPPI port attached to the HIPPI network, and it's configured as a member of one or more LIS's. This configuration MAY result in a number of disjoint LIS's operating over the same HIPPI network. With this model, ports of different IP subnets SHOULD communicate via an intermediate IP router, even though it may be possible to open a direct HIPPI connection between the two IP members over the HIPPI network π This is just a consequence of using IP and choosing to have multiple LIS's on the same HIPPI fabric π§
By default, the HARP method detailed in section 5 and the classical LIS routing model MUST be available to any IP member client in the LIS π This part's a must, bestie, no cap π
4.2 HIPPI LIS Requirements π¦
okay so the requirement for IP members (hosts and routers) living in a HIPPI LIS configuration is super simple π
- All members of the LIS SHALL have the same IP network/subnet address and address mask [6].
the next bit is the HIPPI-specific parameters that MUST be implemented in every IP station hooked up to the HIPPI network πΈ
- HIPPI Hardware Address:
the HIPPI hardware address of an individual IP port MUST contain the port's Switch Address (see section 9). the address SHOULD also contain a non-zero ULA address, and if there's no ULA then that field MUST be zero β¨
- HARP Request Address List (HRAL):
the HRAL is an ordered list of two or more addresses that identify the address resolution service(s). every HARP client MUST be configured identically, i.e. all ports MUST have the same addresses(es) in the HRAL π
the HRAL MUST contain at least two HIPPI HW addresses identifying the individual HARP service(s) that have authoritative responsibility for resolving HARP requests of all IP members located within the LIS.
by default the first address MUST be the reserved address for broadcast, i.e. the address for "IP traffic conventionally directed to the IEEE 802.1 broadcast address: 0xFE1" [4]. the ULA for this HARP service entry SHALL be FF:FF:FF:FF:FF:FF.
it is REQUIRED that the second address be the address for "Messages pertaining to (the) ... address resolution requests: 0xFE0" [4]. the ULA for this HARP server entry is 00:00:00:00:00:00.
so the HRAL entries get sorted like this, periodt π
1st ** : broadcast address (0x07000FE1 FF:FF:FF:FF:FF:FF),
2nd ** : official HARP server address (0x07000FE0 00:00:00:00:00:00),
3rd & on: any additional HARP server addresses will be sorted in
decreasing order of the 12bit destination switch
address portion of their I-Field (see section 6.2).
** REQUIRED
within the restrictions above and in Section 6.2.2, local administration choose address(es) for the additional HARP services they're gonna put into the HRAL π§
here's an example of what that list can look like π
1st entry: 0x07000FE1 FF:FF:FF:FF:FF:FF
2nd entry: 0x07000FE0 00:00:00:00:00:00
3rd entry: 0x07000001 <Alternate-HARP-server-ula>
...
ngl the manual setup of these addresses and address lists is implementation dependent and beyond the scope of this memo π
5. HIPPI Address Resolution Protocol - HARP π
address resolution inside the HIPPI LIS SHALL use the HIPPI Address Resolution Protocol (HARP) and the Inverse HIPPI Address Resolution Protocol (InHARP). HARP does the same job as the Internet Address Resolution Protocol (ARP) π¦ HARP is based on ARP, which is defined in RFC-826 [13]. normally, conventional networks use ARP to find out another port's hardware address when they know the Internet address. HARP takes those original protocol definitions and combines them into one coherent address resolution service that doesn't depend on whether the hardware can broadcast π
InHARP is based on the original Inverse ARP (InARP) protocol presented in [7]. if you know a port's hardware address, InARP is what you use to discover the other party's Internet address β¨
this memo also REQUIRES the PIBES (see section 7 below) extension to the HARP protocol, which guarantees broadcast service for upper layer protocols like IP π
Internet addresses are assigned independently of ULAs and switch addresses. before using HARP, each port MUST know its IP and its hardware addresses. the ULA is optional, but it is RECOMMENDED if you want to bridge to conventional networks π«Ά
5.1 HARP Algorithm π₯
this section defines the behavior and requirements for HARP implementations on both broadcast and non-broadcast capable HIPPI-SC networks. HARP makes a table in each port that maps the IP address of each port to a hardware address. that way, when an application asks for a connection to a remote port by its IP address, the hardware address can be found, a correct HIPPI-LE header can be built, and a connection can be made using the correct Switch Address in the I-field π
HARP is a two phase protocol. the first phase is the registration phase and the second is the operational phase. in the registration phase the port figures out whether it's connected to broadcast hardware or not. the InHARP protocol gets used during registration. if the hardware isn't broadcast capable, InHARP registers the port and sets up a table entry with the server. the operational phase works a lot like conventional ARP, just with a different message format π
5.1.1 Selecting the authoritative HARP service π
within the HIPPI LIS, there SHALL be an authoritative HARP service. at any point in time there is only one authoritative HARP service β¨
to pick the authoritative HARP service, each port needs to figure out if it's connected to a broadcast network π§
the port SHALL send an InHARP_REQUEST to the first address in its HRAL (0x07000FE1 FF:FF:FF:FF:FF:FF). if the port sees its own InHARP_REQUEST, then it's connected to a broadcast capable network. in that case the rest of the HRAL gets ignored and the authoritative HARP service is the broadcast entry π
if the port is connected to a non-broadcast capable network, then the port SHALL send the InHARP_REQUEST to all of the remaining entries in the HRAL. every address that sends an InHARP_REPLY counts as a responsive HARP server. the authoritative HARP service SHALL be the HARP server that shows up first in the HRAL π¦
the sequence of the HRAL only matters for deciding which address is the authoritative one. on a non-broadcast network, the port is REQUIRED to stay "registered" with all HARP server addresses in the HRAL (NOTE: not the broadcast address, since it isn't a HARP server address). for instance, if the authoritative HARP service stops responding, the port will look at the next address in the HRAL as a candidate for the authoritative address and send an InHARP_REQUEST π
the authoritative HARP server SHOULD be considered non-responsive when it has failed to reply to: (1) one or more registration requests by the client (see section 5.1.2 and 5.2), (2) any two HARP_REQUESTs in the last 120 seconds, or (3) if an external agent has detected failure of the authoritative HARP server. the details of such an external agent and how it interacts with the HARP client are beyond the scope of this document π if an authoritative HARP server goes non-responsive, then the registration process SHOULD be restarted. alternative methods for choosing an authoritative HARP service are not prohibited πΈ
5.1.2 HARP registration phase π
HARP clients SHALL start the registration phase by sending an InHARP_REQUEST message using the addresses in the HRAL in order. the client SHALL end the registration phase and move into the operational phase either when it receives its own InHARP_REQUEST, or when it receives an InHARP_REPLY from at least one of the HARP servers and has determined the authoritative HARP service as described in section 5.1.1 β¨
when ports start up they send an InHARP_REQUEST to the authoritative address as described in section 5.1.2. the first address to be tried is the broadcast address "0x07000FE1 FF:FF:FF:FF:FF:FF". there are two possible outcomes π₯
- the port sees its own InHARP_REQUEST: then the port is connected to a broadcast capable network. the first address becomes and remains the authoritative address for the HARP service.
- the port does not receive its InHARP_REQUEST: then the port is connected to a non-broadcast capable network.
in the second case, the port SHALL choose the next address in the HRAL as a candidate for an authoritative address and send an InHARP_REQUEST to that address: (0x07000FE0 00:00:00:00:00:00). π§
- if the port receives its own message, then the port itself is the HARP server, and the port is REQUIRED to provide broadcast services using the PIBES (see section 7).
- if the port receives an InHARP_REPLY, then it's a HARP client and not a HARP server.
either way, the current candidate address becomes the authoritative HARP service address π¦
if the client works out that it's connected to a non-broadcast capable network, then the client SHALL keep retrying each non-broadcast HARP server address in the HRAL at least once every 5 seconds, until one of these two termination criteria is met for each address π
InHARP is an application of the InARP protocol for a purpose it wasn't originally meant for π the goal is to register port IP address mappings with a HARP server if one exists, or to detect hardware broadcast capability π
if the HIPPI-SC LAN supports broadcast, the client will see its own InHARP_REQUEST message and SHALL complete the registration phase. the client SHOULD also note that it's connected to a broadcast capable network, and use that info for aging the HARP server entry and for IP broadcast emulation, as specified in sections 5.4 and 5.6 respectively π«Ά
if the client doesn't see its own InHARP_REQUEST, then it SHALL await an InHARP_REPLY before completing the registration phase. this also gives the client the protocol address the HARP server can be reached at. this is the case when the client happens to be connected to a non-broadcast capable HIPPI-SC network π
5.1.3 HARP operational phase β¨
once a HARP client has completed its registration phase, it enters the operational phase. in this phase of the protocol, the HARP client SHALL gain and refresh its own HARP table, which holds the IP to HW address mapping of IP members, by sending HARP_REQUESTS to the authoritative address in the HRAL and receiving HARP_REPLYs. the client is fully operational during the operational phase π
in the operational phase, the client's behavior for requesting HARP resolution is the same for broadcast and non-broadcast networks πΈ
the target of an address resolution request updates its address mapping tables with any new information it can find in the request. if it's the target port, it SHALL formulate and send a reply message. a port is the target of an address resolution request if at least ONE of the following statements is true of the request π
- the port's IP address is in the target protocol address field (ar$tpa) of the HARP message.
- the port's ULA (if non-zero) is in the ULA part of the Target Hardware Address field (ar$tha) of the message.
- the port's switch address is in the Target Switch Address field of the Target Hardware Address field (ar$tha) of the message (see section 6.2.2).
- the port is a HARP server.
NOTE: It is RECOMMENDED that all HARP servers run on ports which each have a non-zero ULA. π
5.2. HARP Client Operational Requirements β¨
Okay so the HARP client is basically the one doing all the legwork π It's responsible for contacting the HARP server(s) so its own HARP info gets registered, and then it gets and refreshes its own HARP entries for the other IP members π«Ά That's why, like we said above, HARP clients MUST be configured with the hardware address of the HARP server(s) in the HRAL. Non-negotiable, bestie π
HARP clients MUST:
- When an interface is enabled (e.g.
ifconfig <interface> upwith an IP address) or assigned the first or an additional IP address (i.e. an IP alias), the client SHALL initiate the registration phase. π¦ - In the operational phase the client MUST respond to HARP_REQUEST and InHARP_REQUEST messages if it is the target port. If an interface has multiple IP addresses (e.g., IP aliases) then the client MUST cycle through all the IP addresses and generate an InHARP_REPLY for each such address. In that case an InHARP_REQUEST will have multiple replies. (Refer to Section 7, "Protocol Operation" in RFC-1293 [7].) πΈ
- React to address resolution reply messages appropriately to build or refresh its own client HARP table entries. All solicited and unsolicited HARP_REPLYs from the authoritative HARP server SHALL be used to update and refresh its own client HARP table entries. π
Explanation: This allows the HARP server to update the clients when one of server's mappings change, similar to what is accomplished on Ethernet with gratuitous ARP. It's giving Ethernet vibes, iykyk β¨
- Generate and transmit InHARP_REQUEST messages as needed and process InHARP_REPLY messages appropriately (see section 5.1.2 and 5.6). All InHARP_REPLY messages SHALL be used by the client to build or refresh its HARP table entries. (Refer to Section 7, "Protocol Operation" in [7].) π§
If the registration phase showed that the hardware does not support broadcast, then the client MUST refresh its own entry for the HARP server, created during the registration phase, at least once every 15 minutes. This can be accomplished either through the exchange of a HARP request/reply with the HARP server or by repeating step 1. To decrease the redundant network traffic, this timeout SHOULD be reset after each HARP_REQUEST/HARP_REPLY exchange. π
Explanation: The HARP_REQUEST shows the HARP server that the client is still alive. Receiving a HARP_REPLY indicates to the client that the server must have seen the HARP_REQUEST. Basically it's a "hey, you good?" and "yep, I saw that" loop π«Ά
If the registration phase shows that the underlying network supports broadcast, then periodic InHARP_REQUEST/InHARP_REPLY operations of step 4 are NOT REQUIRED. No need to overthink it, bestie π
5.3. Receiving Unknown HARP Messages π
If a HARP client receives a HARP message with an operation code (ar$op) that it does not support, it MUST gracefully discard the message and continue normal operation. A HARP client is NOT REQUIRED to return any message to the sender of the undefined message. Ignore the weird stuff and keep vibing β¨
5.4. HARP Server Operational Requirements π
A HARP server MUST accept HIPPI connections from other HIPPI ports. The HARP server expects an InHARP_REQUEST as the first message from the client. A server examines the IP source address, the hardware source address of the InHARP_REQUEST and adds or updates its HARP table entry <IP address(es), switch address, ULA> as well as the time stamp. The server really is the main character here π
A HARP server SHALL reply to HARP_REQUESTs and InHARP_REQUESTs based on the information which it has in its HARP table. The HARP server SHALL reply with a HARP_REPLY or a InHARP_REPLY, if it has the requested information in its tables; otherwise it SHALL reply with a HARP_NAK. The HARP server replies SHALL contain the hardware type and corresponding format of the request (see also section 6). π
The following table shows all possible source address combinations on an incoming message and the actions to be taken. "linked" indicates that an existing "IP entry" is linked to a "hardware entry". It is possible to have an existing "IP entry" and to have an existing "hardware entry" but neither is linked to the other. Okay this table is the whole vibe check π₯
+---+----------+----------+------------+---------------------+
| # | IP entry | HW entry | misc | Action |
+---+----------+----------+------------+---------------------+
| 1 | exists | exists | linked | * |
| 2 | exists | exists | not linked | *, a, b, e, f |
| 3 | exists | new | not linked | *, a, b, d, e, f |
| 4 | new | exists | not linked | *, c, e, f |
| 5 | new | new | not linked | *, c, d, e, f |
+---+----------+----------+------------+---------------------+
Actions:
*: update timeout value
a: break the existing IP -> hardware (HW) - old link
b: delete HW(old) -> IP link and decrement HW(old) refcount, if
refcount = 0, delete HW(old)
c: create new IP entry
d: create new HW entry
e: add new IP -> HW link to IP entry
f: add new HW -> IP link to HW entry
Examples of when this could happen (Numbers match lines in above table):
1: supplemental message π¦
Just update timer.
2: move an IP alias to an existing interface πΈ
If the IP source address of the InHARP_REQUEST duplicates a table entry IP address (e.g. IPa <-> HWa) and the InHARP_REQUEST hardware source address matches a hardware address entry (e.g. HWb <-> IPb), but they are not linked together, then:
HWaentry needs to have its reference to the currentIPaaddress removed.HWbneeds to have a new reference toIPaadded.IPaneeds to be linked toHWb.
3: move IP address to a new interface π
If the InHARP_REQUEST requester's IP source address duplicates a table entry IP address and the InHARP_REQUEST hardware source address does not match the table entry hardware address, then a new HW entry SHALL be created. The requestor's IP address SHALL be moved from the original HW entry to the new one (see above).
4: add IP alias to table π§
If the InHARP_REQUEST requester's hardware source address duplicates a hardware source address entry, but there is no IP entry matching the received IP address, then the IP address SHALL be added to the hardware entries previous IP address(es). (E.g. adding an IP alias).
5: fresh entry, add it π
Standard case, create both entries and link them. Easy peasy π
A server MUST update the HARP table entry's timeout for each HARP_REQUEST. Explanation: if the client is sending HARP requests to the server, then the server SHOULD note that the client is still "alive" by updating the timeout on the client's HARP table entry. Keeping tabs on everyone, periodt π
A HARP server SHOULD use the PIBES (see section 7) to send out HARP_REPLYs to all hardware addresses in its table when the HARP server table changes mappings. This feature decreases the time of stale entries in the clients. Nobody wants outdated info lingering, no cap β¨
If there are multiple addresses in the HRAL, then a server needs to act as a client to the other servers. Servers working together, so cute π«Ά
5.5. HARP and Permanent ARP Table Entries πΈ
An IP station MUST have a mechanism (e.g. manual configuration) for determining what permanent entries it has. The details of the mechanism are beyond the scope of this memo. The permanent entries allow interoperability with legacy HIPPI adapters which do not yet implement dynamic HARP and use a table-based static ARP. Permanent entries are not aged. Old-school adapters still get a seat at the table π
The HARP server SHOULD use the static entries to resolve incoming HARP_REQUESTs from the clients. This feature eliminates the need for maintaining a static HARP table on the client ports. Less work for everyone, iconic π
5.6. HARP Table Aging β
HARP table aging MUST be supported since IP addresses, especially IP aliases and also interfaces (with their ULA), are likely to move. When so doing the mapping in the clients own HARP table/cache becomes invalid and stale. Things move around, so the table has to keep up π¦
- When a client's HARP table entry ages beyond 15 minutes, a HARP client MUST invalidate the table entry.
- When a server's HARP table entry ages beyond 20 minutes, the HARP server MUST delete the table entry.
NOTE: the client SHOULD revalidate a HARP table entry before it ages, thus restarting the aging time when the table entry is successfully revalidated. The client MAY continue sending traffic to the port referred to by this entry while revalidation is in progress, as long as the table entry has not aged. The client MUST revalidate an aged entry prior to transmitting any non-address-resolution traffic to the port referred to by this entry. Revalidate before it's too late, bestie π
The client revalidates the entry by querying the HARP server with a HARP_REQUEST. If a valid reply is received (e.g. HARP_REPLY), the entry is updated. If the address resolution service cannot resolve the entry (e.g. HARP_NAK, "host not found"), the associated table entry is removed. If the address resolution service is not available (i.e. "server failure") the client MUST attempt to revalidate the entry by transmitting an InHARP_REQUEST to the hardware address of the entry in question and updating the entry on receipt of an InHARP_REPLY. If the InHARP_REQUEST attempt fails to return an InHARP_REPLY, the associated table entry is removed. Backup plan activated π₯
6. HARP Message Encoding π
The HARP Message is encapsulated over HIPPI-FP and HIPPI-LE headers. The HARP FP header values are to be set as defined in RFC-2067 "IP over HIPPI" [15]. The following sections detail the HIPPI-LE field contents and HARP message structure and contents. In a broadcast capable network the client MAY also support Type 1 and 6, Ethernet and IEEE 802 ARP packet formats. Layers on layers, but make it cute π
6.1. HIPPI-LE Header of HARP Messages π§
The HIPPI message format for Internet datagrams shall conform to the HIPPI-FP [2] and HIPPI-LE [3] standards. The length of a HIPPI message, including trailing fill, shall be a multiple of eight bytes as required by HIPPI-LE. The HIPPI-LE header fields of HARP and InHARP requests and replies SHALL be:
FC(3 bits) SHALL contain zero.- Double-wide SHOULD be set according to HIPPI-LE [3]. This memo does NOT address the implications on HARP when this bit is set to 1 indicating the possibility of a port being able to accept 64-bit HIPPI connections.
Message_TypeSHALL contain 0 to indicate a data message. HARP messages are identified using the Ethertype and the message type in the ar$op field of the HARP message.Destination_Switch_Address, SHALL be the Switch Address of the destination port.Destination_IEEE_AddressSHALL be the ULA of the destination port, if known, otherwise zero.Destination_Address_TypeSHALL be 2, a 12-bit logical address. The behavior with type = 1, source routing, is NOT defined in this specification.Source_Switch_Addressin requests SHALL be the sender's Switch Address.Source_IEEE_AddressSHALL be the sender's ULA if known, otherwise zero.Source_Address_TypeSHALL be 2, a 12-bit logical address. The behavior with type = 1, source routing, is NOT defined in this specification.
6.1.1. IEEE 802.2 LLC π
The IEEE 802.2 LLC Header SHALL begin in the first byte of the HIPPI-FP D2_Area.
The LLC value for SSAP-DSAP-CTL SHALL be 0xAA-AA-03 (3 bytes) indicating the presence of a SNAP header. Header vibes locked in β¨
6.1.2. SNAP π
The OUI value for Organization Code SHALL be 0x00-00-00 (3 bytes) indicating that the following two-bytes is an Ethertype.
The Ethertype value SHALL be set as defined in Assigned Numbers [16]: InHARP = InARP = HARP = ARP = 2054 = 0x0806.
The total size of the LLC/SNAP header is fixed at 8-bytes. Eight bytes, locked and loaded π¦
6.1.3. HIPPI-LE header Diagram
Okay so this is the HIPPI-LE header for HARP/InHARP PDUs, and it's giving very organized packet energy πβ¨
HIPPI-LE header for HARP/InHARP PDUs:
31 28 23 21 15 10 7 2 0
+-----+---------+-+-+-----------+---------+-----+---------+-----+
0 | 04 = IP ULP |1|0| 000 | 03 | 0 |
+---------------+-+-+---------------------+---------------+-----+
1 | n + 8 |
+-----+-+-------+-----------------------+-----------------------+
2 |[LA] |W|M_Type | 000 | Dest. Switch Addr |
+-----+-+-------+-----------------------+-----------------------+
3 | D_A_T | S_A_T | 000 | Source Switch Addr |
+-------+-------+---------------+-------+-----------------------+
4 | 00 00 | |
+-------------------------------+ |
5 | Destination ULA |
+-------------------------------+-------------------------------+
6 | [LA] | |
+-------------------------------+ |
7 | Source ULA |
+===============+===============+===============+===============+
8 | AA | AA | 03 | 00 |
+---------------+---------------+---------------+---------------+
9 | 00 | 00 | Ethertype (2054) |
+---------------+---------------+-------------------------------+
10 |Message byte 0 |Message byte 1 |Message byte 2 | . . . |
+---------------+---------------+---------------+--- |
| . . . |
+ ------------+---------------+---------------+---------------+
| . . . | byte (n-2) | byte (n-1) | FILL |
+---------------+---------------+---------------+---------------+
N-1| FILL | FILL | FILL | FILL |
+---------------+---------------+---------------+---------------+
HIPPI Message Format
Words 0-1: HIPPI-FP Header
Words 2-7: D1_Area (HIPPI-LE Header)
Words 8-9: D2_Area (IEEE 802.2 LLC/SNAP)
Words 10-(N-1): D2_Area (HARP message)
(n+8) is the nb of bytes in the HARP message, incl. LLC/SNAP.
+====+ denotes the boundary between D1_Area and D2_Area.
[LA] fields are zero unless used otherwise locally.
Abbreviations:
"W" = Double_Wide field SHALL be 0
"M_Type" = Message_Type field SHALL be set according to
HIPPI-LE
"D_A_T" = Destination_Address_Type SHALL be 2
"S_A_T" = Source_Address_Type SHALL be 2
[FILL] bytes complete the HIPPI message to an even
number of 32 bit words. The number of fill bytes
is not counted in the data length.
Quick breakdown of the abbreviations so nobody gets lost π«Ά
"W"(Double_Wide field) SHALL be 0."M_Type"(Message_Type field) SHALL be set according to HIPPI-LE."D_A_T"(Destination_Address_Type) SHALL be 2."S_A_T"(Source_Address_Type) SHALL be 2.
The [FILL] bytes are there to round the HIPPI message up to an even number of 32-bit words. β¨ They don't count toward the data length, so the fill bytes are basically invisible to the length field π
6.2. HIPPI Hardware Address Formats and Requirements
Hardware addresses are where the drama starts, bestie π For HIPPI-800, the Hardware Address is a 10-byte unit that SHALL contain the Switch Address AND the ULA. The layout looks like this:
31 23 15 7 0
+---------------+---------------+-------+-------+---------------+
| Mode Byte | 00 | 0 | X | XX |
+---------------+---------------+-------+-------+---------------+
| ULA byte 0 | ULA byte 1 | ULA byte 2 | ULA byte 3 |
+---------------+---------------+---------------+---------------+
| ULA byte 4 | ULA byte 5 |
+---------------+---------------+
Where "XXX" is the 12 bit HIPPI logical address defined in HIPPI-SC [4]. We'll get into the ULA details in the next section π¦
Two switch addresses count as the same when they have the same 12 bit destination HIPPI logical address. Lowkey simple, but it matters πΈ
NOTE: In the case of HIPPI-6400, the hardware address is ONLY the 6-byte ULA. Therefore the length of the hardware address clearly defines which version of HIPPI is being used. So if the address is 6 bytes, it's 6400. Easy β¨
6.2.1. 48-bit Universal LAN MAC Addresses
Okay this part is so important π₯Ί IEEE Standard 802.1A [11] specifies the Universal LAN MAC Address format. The globally unique part of the 48-bit space is administered by the IEEE. Each port on a HIPPI-SC LAN SHOULD be assigned a ULA. Multiple ULAs may be used if a port contains more than one IEEE 802.2 LLC protocol entity.
The HIPPI hardware address inside its HARP message follows IEEE 802.1A canonical bit order and HIPPI-FP bit and byte order. For example, the requester's ULA part of the HIPPI hardware address would break down like this:
31 23 15 7 0
+---------------+---------------+---------------+---------------+
|ULA byte 0 |L|G| ULA byte 1 | ULA byte 2 | ULA byte 3 |
+---------------+---------------+---------------+---------------+
| ULA byte 4 | ULA byte 5 |
+---------------+---------------+
Universal LAN MAC Address Format
The two little flags here are the main characters π
L(U/L bit) = 1 for Locally administered addresses, 0 for Universal.G(I/G bit) = 1 for Group addresses, 0 for Individual.
The use of ULAs is OPTIONAL, but RECOMMENDED. The use of ULAs is REQUIRED if a port wishes to interoperate with a conventional network. So you can skip them, but honestly you probably shouldn't π
ULAs may also be used by bridging devices that replace HIPPI hardware headers with the MAC headers of other LANs. Iconic bridge behaviour π
6.3. HARP and InHARP Message Formats
Now the actual message format, and it's giving full spec energy π The HARP protocols use the HIPARP hardware type (ar$hrd) [16], protocol type (ar$pro), and operation code (ar$op) data formats, same as the ARP and InARP protocols [15,7]. On top of that, HARP makes use of an additional operation code for ARP_NAK, introduced with [12]. The rest of the HARP/InHARP message format is different from the ARP/InARP message format defined in [15,7,10], and it's also different from the format in the first "IP and ARP on HIPPI" RFC-1374 [14]. Different era, different vibes π§
HARP messages SHALL be transmitted with the HIPARP hardware type code of 28 (decimal). Furthermore, HARP messages SHALL be accepted if received with hardware type codes of either 28, 1 or 6 (decimal). So send 28, but be chill and accept the others too π«Ά
The HARP message has several fields with the following formats and values:
Data sizes and field meaning:
ar$hrd 16 bits Hardware type
ar$pro 16 bits Protocol type of the protocol fields below
ar$op 16 bits Operation code (request, reply, or NAK)
ar$pln 8 bits byte length of each protocol address
ar$rhl 8 bits requester's HIPPI hardware address length (q)
ar$thl 8 bits target's HIPPI hardware address length (x)
ar$rpa 32 bits requester's protocol address
ar$tpa 32 bits target's protocol address
ar$rha qbytes requester's HIPPI Hardware address
ar$tha xbytes target's HIPPI Hardware address
Here's what each one needs to be π
ar$hrdSHALL contain 28 (HIPARP).ar$proSHALL contain the IP protocol code 2048 (decimal).ar$opSHALL contain the operational value (decimal): 1 for HARP_REQUESTs, 2 for HARP_REPLYs, 8 for InHARP_REQUESTs, 9 for InHARP_REPLYs, and 10 for HARP_NAK.ar$plnSHALL contain 4.ar$rlnSHALL contain 10 IF this is a HIPPI-800 HW address, ELSE, for HIPPI-6400, it SHALL contain 6.ar$thlSHALL contain 10 IF this is a HIPPI-800 HW address, ELSE, for HIPPI-6400, it SHALL contain 6.ar$rhain requests and NAKs SHALL contain the requester's HW address. In replies it SHALL contain the target port's HW address.ar$rpain requests and NAKs SHALL contain the requester's IP address if known, otherwise zero. In other replies it SHALL contain the target port's IP address.ar$thain requests and NAKs SHALL contain the target's HW address if known, otherwise zero. In other replies it SHALL contain the requester's HW addressA.ar$tpain requests and NAKs SHALL contain the target's IP address if known, otherwise zero. In other replies it SHALL contain the requester's IP address.
The six ULA bytes SHALL be formatted the same way as required in the HIPPI-LE header (see section 6.2). The only difference is how the ULAs line up against the 32-bit HIPPI word, since that alignment is different between ARP and HIPPI-LE. No bit reversal is needed here, which is a relief because FDDI makes you do it π
Last but not least, the full message layout:
31 28 23 21 15 10 7 2 0
+-----+---------+-+-+-----------+---------+-----+---------+-----+
0 | 04 |1|0| 000 | 03 | 0 |
+---------------+-+-+---------------------+---------------+-----+
1 | 45 |
+-----+-+-------+-----------------------+-----------------------+
2 |[LA] |W|MsgT= 0| 000 | Dest. Switch Addr |
+-----+-+-------+-----------------------+-----------------------+
3 | 2 | 2 | 000 | Source Switch Addr |
+---------------+---------------+-------+-----------------------+
4 | 00 00 | |
+-------------------------------+ |
5 | Destination ULA |
+-------------------------------+-------------------------------+
6 | [LA] | |
+-------------------------------+ |
7 | Source ULA |
+===============+===============+===============+===============+
8 | AA | AA | 03 | 00 |
+---------------+---------------+---------------+---------------+
9 | 00 | 00 | Ethertype (2054) |
+---------------+---------------+-------------------------------+
10 | hrd (28) | pro (2048) |
+---------------+---------------+---------------+---------------+
11 | op (ar$op) | pln (6) | rhl (q) |
+---------------+---------------+---------------+---------------+
12 | thl = (x) | Requester IP Address upper (24 bits) |
+---------------------------------------------------------------+
13 | Req. IP lower | Target IP Address upper (24 bits) |
+---------------+-----------------------------------------------+
14 | Tgt. IP lower | Requester HIPPI Hardware Address bytes 0 - 2 |
+---------------+-----------------------------------------------+
15 | Requester HIPPI Hardware Address bytes 3 - 6 |
+-----------------------------------------------+---------------+
16 | Requester HW Address bytes 7 - q | Tgt HW byte 0 |
+---------------+---------------+---------------+---------------+
17 | Target HIPPI Hardware Address bytes 1 - 4 |
+---------------------------------------------------------------+
18 | Target HIPPI Hardware Address bytes 5 - 8 |
+---------------+---------------+---------------+---------------+
19 |Tgt HW byte 9-x| FILL | FILL | FILL |
+---------------+---------------+---------------+---------------+
HARP - InHARP Message
6.3.1 Example Message encodings π
Okay bestie, time for the examples! These show exactly what each message looks like on the wire, so you can see the pattern at a glance. β¨
HARP_REQUEST message
HARP ar$op = 1 (HARP_REQUEST)
HARP ar$rpa = IPy HARP ar$tpa = IPa
HARP ar$rha = SWy ULAy HARP ar$tha = 0 **
** is what we would like to find out
HARP_REPLY message format
HARP ar$op = 2 (HARP_REPLY)
HARP ar$rpa = IPa HARP ar$tpa = IPy
HARP ar$rha = SWa ULAa * HARP ar$tha = SWy ULAy
* answer we were looking for
InHARP_REQUEST message format
HARP ar$op = 8 (InHARP_REQUEST)
HARP ar$rpa = IPy HARP ar$tpa = 0 **
HARP ar$rha = SWy ULAy HARP ar$tha = SWa ULAa
** is what we would like to find out
InHARP_REPLY message format
HARP ar$op = 9 (InHARP_REPLY)
HARP ar$rpa = IPs * HARP ar$tpa = IPy
HARP ar$rha = SWa ULAa HARP ar$tha = SWy ULAy
* answer we were looking for
6.3.2 HARP_NAK message format π«
The HARP_NAK message is basically a twin of the HARP_REQUEST it's responding to π―ββοΈ. You copy the received HARP_REQUEST data byte for byte, and the only thing that changes is the operation code, which flips over to the HARP_NAK value. HARP needs that extra operation code for HARP_NAK, so HARP_NAK MUST be implemented. No skipping it! π
6.3.3 Combined HIPPI-LE and HARP message addresses π
Okay this one is giving main character energy π. A combined HIPPI-LE/HARP message carries ten addresses in total: two for the destination and two for the source (those are HIPPI-LE), then three for the requester and three for the target (those are HARP).
Destination Switch Address (HIPPI-LE)
Destination ULA (HIPPI_LE)
Source Switch Address (HIPPI-LE)
Source ULA (HIPPI-LE)
Requester IP Address (HARP)
Requester ULA (HARP)
Requester Switch Address (HARP)
Target IP Address (HARP)
Target ULA (HARP)
Target Switch Address (HARP)
Here's an example of how these relate for a HARP_REQUEST and the InHARP_REQUESTs π¦:
LIS without broadcast - Dest SW Addr = HARP server SW Addr
(with HARP server) Dest ULA = HARP server ULA
Source SW Addr = Requester's SW Addr
Source ULA = Requester's ULA
7 Broadcast and Multicast π£
Ngl, this section is where things get a little spicy πΆοΈ. HIPPI-SC doesn't require switches to support broadcast, so broadcast support has been missing from loads of HIPPI networks. Lowkey tragic π.
During its registration phase, every port (including the HARP server(s)) figures out whether the underlying medium can do broadcast. See section 5.1.2 if you want the details π. If it can't, then the HARP server(s) MUST emulate broadcast through an IP broadcast emulation server. Fixing the gap, bestie π«Ά.
A HIPPI IP broadcast server (PIBES) is an extension to the HARP server, and it only makes sense when the LIS doesn't inherently support broadcast. The PIBES lets common upper layer networking protocols (RIP, TCP, UDP, etc.) reach IP LIS broadcast. It's like giving them a backstage pass ποΈ.
7.1 Protocol for an IP Broadcast Emulation Server - PIBES π§
To emulate broadcast within an LIS, a PIBES SHALL use the currently valid HARP table of the HARP server as a list of addresses called the target list. The broadcast server SHALL validate that all incoming messages have a source address which corresponds to an address in the target list. Only messages addressed to the IP LIS broadcast addresses, multicast address or 255.255.255.255 count as valid messages for broadcasting. Invalid messages MUST be dropped, no exceptions π. All valid incoming messages shall be forwarded to all addresses in the target list.
It is RECOMMENDED that the broadcast server run on the same port as the HARP server, since this memo doesn't define the protocol for exchanging the valid HARP table πΈ. The default address to use for the broadcast address is the operational HARP server address.
7.2 IP Broadcast Address π
This memo only defines IP broadcast. It's independent of the underlying hardware addressing and broadcast capabilities, so it's giving "doesn't care what your hardware is" π . Any port can tell IP traffic aimed at itself apart from a broadcast message by looking at the IP address. All IP broadcast messages SHALL use the IP LIS broadcast address or.
It is RECOMMENDED that the PIBES run on the same port as the HARP server. In that case, the PIBES SHALL use the same address as the HARP server π.
7.3 IP Multicast Address π
HIPPI doesn't directly support multicast addresses, so there are no mappings from IP multicast addresses to HIPPI multicast services. Not me having to explain this π. Current IP multicast implementations (i.e. MBONE and IP tunneling, see [9]) will keep working over HIPPI-based logical IP subnets as long as all IP multicast packets are sent using the same algorithm as if the packet were being sent to 255.255.255.255.
7.4 A Note on Broadcast Emulation Performance π
Okay so it's obvious that a broadcast emulation service (as defined in section 7.1) has an inherent performance limit π₯². In an LIS with n ports, the upper bound on the bandwidth that such a service can broadcast is:
(total bandwidth)/(n+1)
That's because each message has to enter the broadcast server first (that's the extra 1 in there) and then get sent to all n ports π¬. The broadcast server could forward the message destined to the port it runs on internally, which takes (n+1) down to (n) as a first optimization β¨.
This service is adequate for standard networking protocols like RIP, OSPF, NIS, etc., since they usually use a small fraction of the network bandwidth for broadcast π. For these purposes, the broadcast emulation server defined in this memo lets the HIPPI network look similar to an Ethernet network to the higher layers. Slay π.
It's further obvious that this emulation can't be used to broadcast high bandwidth traffic. For that, hardware support for true broadcast is required π₯.
8 HARP for Scheduled Transfer Protocol[17] π
This RFC also applies to resolving addresses used with Scheduled Transfer (STP) over HIPPI-800 instead of IP. The RFC's message types and algorithms can be used for STP (since STP uses Internet Addresses) as long as there is also an IP over HIPPI implementation on all of the ports π§βπ€βπ§.
9 Discovery of One's Own Switch Address π
This HARP specification assumes that each port already knows its own hardware address. Someone can configure that manually, by means outside the scope of this memo, or a port can discover its own logical address with the algorithm below πͺ.
Ports are NOT REQUIRED to implement this switch address discovery protocol, but they're encouraged to do so since it cuts down on admin overhead π₯°. The algorithm in this section is based on John Renwick's work as detailed in RFC-1374 [14]. The idea is to scan all possible switch addresses. The messages that come back will be the ones containing one of our own switch addresses π.
If a port implements this algorithm, it SHALL form a HIPPI-LE message as defined in HIPPI-LE: containing a Self_Address_Resolution_Request (see [3]) PDU Type, a Source_IEEE_Address and Destination_IEEE_Address (set to the correct ULA for the sender), and the Source_Switch_Address and Destination_Switch_Address.
This self address resolution message uses the same HIPPI-LE message format as described in HIPPI-SC and HIPPI-LE: the Self Address Resolution Request PDU and Self Address Resolution Response PDU type codes, and no piggybacked ULP data. The HIPPI-LE header contents for the request are:
HIPPI-LE Message_Type is = 3, Self Addr. Resolution Request
HIPPI-LE Destination_Address_Type = 0 (undefined)
HIPPI-LE Destination_Switch_Address = X (X element scan range)
HIPPI-LE Source_Address_Type = 0 (undefined)
HIPPI-LE Source_Switch_Address = 0 (unknown)
HIPPI-LE Destination_IEEE_Address = 0
HIPPI-LE Source_IEEE_Address = my ULA
There's no D2 data here. The message just contains the HIPPI-FP header and D1_Area with the HIPPI-LE header π¦.
Ports SHALL start the scan with a configurable logical address (default 0x000) and increment the value by one for each subsequent try. The port SHALL continue until it sees its own self address resolution request or it has reached the end, which may be another configurable value (default 0xFFF). It is RECOMMENDED that the range of addresses to scan be configurable, since some networks have equipment that doesn't gracefully handle HIPPI-LE messages π¬.
After a port sends the[se] request[s], two positive outcomes are possible π:
- the port receives its own request(s), and obtains one of its own Switch Address, or
- the port receives an AR_S_Response with the Destination_Switch_Address filled in.
10 Security Considerations π
Okay, this section is SERIOUS, bestie π±. HARP messages are not authenticated, which is a potentially flaw that could allow corrupt information to be introduced into the server system.
There are other known security issues relating to port impersonation via the address resolution protocols used in the Internet [8]. No special security mechanisms have been added to the address resolution mechanism defined here for use with networks using HARP. Not great, not terrible, just a lot to think about π« .
Not all of the security issues relating to ARP over HIPPI are clearly understood at this time. However, given the security hole ARP allows, other concerns are probably minor. Honestly that's the most chaotic sentence in the whole doc π.
11 Open Issues π§
Synchronization and coordination of multiple HARP servers and multiple broadcast servers are left for further study. That's a future problem for future us π§ββοΈ.
12 HARP Examples β¨
Okay, time for the fun part! Assume a HIPPI-SC switch is installed with three connected ports: x, y, and a. Each port has a unique hardware address made of a Switch Address (e.g. SWx, SWy, SWa) and a unique ULA (ULAx, ULAy and ULAa, respectively). There's a HARP server connected to a switch port that is mapped to the address HWa (SWa, ULAa), and this address is the authoritative HIPPI hardware address in the HRAL (HARP Request Address List) π.
The HARP server's table is empty π«. Ports X and Y each know their own hardware address. Eventually they want to talk to each other, but each knows the other's IP address (from the port database) and neither knows the other's ULA or Switch Address. Both ports X and Y have their interfaces configured DOWN π΄.
NOTE: The LLC, SNAP, Ethertype, HIPPI-LE Message Type, ar$hrd, ar$pro, ar$pln fields are left out from the examples below since they are constant. Likewise, ar$rhl = ar$thl = 9 are omitted since these are all HIPPI-800 examples. π§
12.1 Registration Phase of Client Y on Non-broadcast Hardware
okay bestie, this is where client Y signs up with the HARP server π
Port Y starts out with its HARP table entry for the server marked as PENDING πΈ
- Port Y brings up its interface and sends an InHARP_REQUEST to HWa, after starting a table entry for HWa. π¦
HIPPI-LE Destination_Switch_Address = SWa
HIPPI-LE Source_Switch_Address = SWy
HIPPI-LE Destination_IEEE_Address = ULAa
HIPPI-LE Source_IEEE_Address = ULAy
HARP ar$op = 8 (InHARP_REQUEST)
HARP ar$rpa = IPy
HARP ar$tpa = 0 **
HARP ar$rha = SWy ULAy
HARP ar$tha = SWa ULAa
** is what we would like to find out
- The HARP server gets Y's InHARP_REQUEST and checks the source addresses against its tables. This is Y's first time connecting, so there's no entry yet. The server makes one and timestamps it using the info from the request. Then it sends back an InHARP_REPLY that includes its own IP address. β¨
HIPPI-LE Destination_Switch_Address = SWy
HIPPI-LE Source_Switch_Address = SWa
HIPPI-LE Destination_IEEE_Address = ULAy
HIPPI-LE Source_IEEE_Address = ULAa
HARP ar$op = 9 (InHARP_REPLY)
HARP ar$rpa = IPs *
HARP ar$tpa = IPy
HARP ar$rha = SWa ULAa
HARP ar$tha = SWy ULAy
* answer we were looking for
- Port Y reads the incoming InHARP_REPLY and finishes its table entry for the HARP server. The entry moves into the
VALIDstate, and now it's ready for regular HARP traffic π Getting this reply also confirms that the HARP server has properly registered the client. iconic, honestly π
12.2 Registration Phase of Client Y on Broadcast Capable Hardware
so if the network can do broadcast π’, the authoritative address in the HRAL gets mapped to the broadcast address, HWb = SWb, ULAb (likely 0xFE1 and FF:FF:FF:FF:FF:FF) π
Port Y starts with its HARP table entry for HWa set to PENDING π
- Port Y brings up its interface and sends an InHARP_REQUEST to HWa. In this example that's the broadcast address, and it happens after Y starts a table entry. π
HIPPI-LE Destination_Switch_Address = SWb
HIPPI-LE Source_Switch_Address = SWy
HIPPI-LE Destination_IEEE_Address = ULAb
HIPPI-LE Source_IEEE_Address = ULAy
HARP ar$op = 8 (InHARP_REQUEST)
HARP ar$rpa = IPy
HARP ar$tpa = 0 **
HARP ar$rha = SWy ULAy
HARP ar$tha = SWb ULAb
** is what we would like to find out
- Since the network is broadcast, client Y gets a copy of its own InHARP_REQUEST π Y checks the source addresses, and they match what Y put in the request. So Y can work out that it's connected to a broadcast medium. Port Y then completes its table entry for HWa. This entry will not time out, because a particular underlying hardware type is considered unlikely to switch between broadcast and non-broadcast. That means this mapping will never change π§
12.3 Operational Phase (phase II)
the Operational Phase of HARP, as specified in this memo, is the same for both broadcast and non-broadcast capable HIPPI hardware π¦ For this example, the authoritative address in the HRAL will be HWa: <SWa, ULAa>, and IPs is used just to keep things simple π
12.3.1 Standard successful HARP_Resolve example
okay so assume the same process (steps 1-3 of section 10.1) happened for port X. That means the HARP server table entry is in the VALID state for both X and Y π Now let's look at the message traffic when X tries to send a message to Y. X doesn't have an entry for Y yet, so:
- Port X connects to the authoritative address of the HRAL and sends a HARP_REQUEST asking for Y's hardware address. πΈ
HIPPI-LE Destination_Switch_Address = SWa
HIPPI-LE Source_Switch_Address = SWx
HIPPI-LE Destination_IEEE_Address = ULAa
HIPPI-LE Source_IEEE_Address = ULAx
HARP ar$op = 1 (HARP_REQUEST)
HARP ar$rpa = IPx
HARP ar$tpa = IPy
HARP ar$rha = SWx ULAx
HARP ar$tha = 0 **
** is what we would like to find out
- The HARP server gets the HARP request and updates its entry for X if needed. Then it builds a HARP_REPLY with Y's hardware address info π
HIPPI-LE Destination_Switch_Address = SWx
HIPPI-LE Source_Switch_Address = SWa
HIPPI-LE Destination_IEEE_Address = ULAx
HIPPI-LE Source_IEEE_Address = ULAa
HARP ar$op = 2 (HARP_Reply)
HARP ar$rpa = IPy
HARP ar$tpa = IPx
HARP ar$rha = SWy ULAy *
HARP ar$tha = SWx ULAx
* answer we were looking for
- Port X connects to port Y and sends an IP message with the following info in the HIPPI-LE header π
HIPPI-LE Destination_Switch_Address = SWy
HIPPI-LE Source_Switch_Address = SWx
HIPPI-LE Destination_IEEE_Address = ULAy
HIPPI-LE Source_IEEE_Address = ULAx
if there had been a broadcast capable HIPPI network, the target ports would have caught the HARP_REQUEST from step 2 themselves and answered it the same way the HARP server did π’
12.3.2 Standard non-successful HARP_Resolve example
same deal as 12.3.1, so X and Y are fully registered with the HARP server, and their HARP server table entries are VALID π This time X tries to send a message to Q. Q's interface is not configured UP, meaning it's DOWN π X doesn't have an entry for Q, so:
- Port X connects to the HARP server switch address and sends a HARP_REQUEST for Q's hardware address. π
HIPPI-LE Destination_Switch_Address = SWa
HIPPI-LE Source_Switch_Address = SWx
HIPPI-LE Destination_IEEE_Address = ULAa
HIPPI-LE Source_IEEE_Address = ULAx
HARP ar$op = 1 (HARP_REQUEST)
HARP ar$rpa = IPx
HARP ar$tpa = IPq
HARP ar$rha = SWx ULAx
HARP ar$tha = 0 **
** is what we would like to find out
- The HARP server gets the HARP request and updates its entry for X if needed. Then it looks up IPq in its tables and comes up empty π So the server sends back a HARP_NAK reply message π
HIPPI-LE Destination_Switch_Address = SWx
HIPPI-LE Source_Switch_Address = SWa
HIPPI-LE Destination_IEEE_Address = ULAx
HIPPI-LE Source_IEEE_Address = ULAa
HARP ar$op = 10 (HARP_NAK)
HARP ar$rpa = IPx
HARP ar$tpa = IPq
HARP ar$rha = SWx ULAx
HARP ar$tha = 0 ***
*** No Answer, and notice that the fields do not get swapped,
i.e. the HARP message is the same as the HARP_REQUEST
except for the operation code.
so the NAK is basically the request with the op code changed, and nothing gets swapped π If there had been a broadcast capable HIPPI network, there would not have been a reply at all π«Ά
13 References β¨
- [1] ANSI X3.183-1991(R1996), Information Technology - High-Performance Parallel Interface - Mechanical, Electrical and Signaling Protocol Specification; (HIPPI-PH).
- [2] ANSI X3.210-1998, Information Technology - High-Performance Parallel Interface - Framing Protocol; (HIPPI-FP).
- [3] ANSI X3.218-1993, Information Technology - High-Performance Parallel Interface - Encapsulation of ISO 8802-2 (IEEE Std 802.2) Logical Link Control Protocol Data Units; (HIPPI-LE).
- [4] ANSI X3.222-1997, Information Technology - High-Performance Parallel Interface - Physical Switch Control; (HIPPI-SC).
- [5] ANSI X3.300-1997, Information Technology - High-Performance Parallel Interface - Serial Specification; (HIPPI-Serial).
- [6] Braden, R., "Requirements for Internet Hosts -- Communication Layers", STD 3, RFC 1122, October 1989.
- [7] Bradely, T. and C. Brown, "Inverse Address Resolution Protocol", RFC 2390, September 1998.
- [8] Bellovin, Steven M., "Security Problems in the TCP/IP Protocol Suite", ACM Computer Communications Review, Vol. 19, Issue 2, pp. 32-48, 1989.
- [9] Deering, S, "Host Extensions for IP Multicasting", STD 5, RFC 1112, August 1989.
- [10] Finlayson, R., Mann, T., Mogul, J. and M. Theimer, "A Reverse Address Resolution Protocol", RFC 903, June 1984.
- [11] ANSI/IEEE Std. 802.2-1989, Information Processing Systems - Local Area Networks - Logical Link Control, "IEEE Standards for Local Area Networks: Logical Link Control", IEEE, New York, New York, 1985.
- [12] Laubach, Mark., "Classical IP and ARP over ATM", RFC 2225, April 1998.
- [13] Plummer, D., "An Ethernet Address Resolution Protocol - or - Converting Network Addresses to 48-bit Ethernet Address for Transmission on Ethernet Hardware", RFC 826, November 1982.
- [14] Renwick, J. and A. Nicholson, "IP and ARP on HIPPI", RFC 1374, October 1992.
- [15] Renwick, J., "IP over HIPPI", RFC 2067, January 1997.
- [16] Reynolds, J. and J. Postel, "Assigned Numbers", STD 2, RFC 1700, October 1994.
- [17] ANSI NCITS xxx.199x, Project 1245-D, Scheduled Transfer Protocol ANSI NCITS, Scheduled Transfer Protocol draft standard.
- [18] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.
14 Acknowledgments π«Ά
this memo could not have happened without the critical review from Greg Chesson, Carlin Otto, the high performance interconnect group of Silicon Graphics (specifically Jim Pinkerton, Brad Strand and Jeff Young), and the expertise of the ANSI T11.1 Task Group responsible for the HIPPI standards work π
this memo is based on the second part of [14], written by John Renwick. ARP [13], written by Dave Plummer, and Inverse ARP [7], written by T. Bradley and C. Brown, provide the fundamental algorithms of HARP as presented in this memo. The HARP server is based on concepts and models presented in [12], written by Mark Laubach, who laid the structural groundwork for the HARP server πΈ
15 Changes from RFC-1374 [14] π¦
RFC-2067 obsoletes RFC-1374, but it left ARP outside of its scope because there wasn't enough implementation experience yet. This memo is an effort to clarify and expand the definition of ARP over HIPPI as found in RFC-1374, so implementations are more readily possible, especially with forward interoperability with HIPPI-6400 in mind π
the changes from RFC-1374 [14] are:
- A new message format to acknowledge the HIPPI hardware address format, and to remove the requirement of HIPPI-LE ARP for HARP to function. β¨
- Explicit registration phase. π
- Additional message formats: InHARP requests and replies, as well as HARP_NAKs. π
- Details about the IP subnetwork configuration. π
- Details about table aging. β³
- IP broadcast emulation. π’
16. Author's Address π
Okay bestie, here's who wrote this beast π§ Jean-Michel Pittet at Silicon Graphics Inc, and you can reach him at the details below π
Jean-Michel Pittet
Silicon Graphics Inc
1600 Amphitheatre Parkway
Mountain View, CA 94043
Phone: 650-933-6149
Fax: 650-933-3542
EMail: jmp@sgi.com, jmp@acm.org
17. Full Copyright Statement βοΈ
Copyright (C) The Internet Society (2000). All Rights Reserved. π
Okay, the legal bits are important, so listen up π Anyone can copy this document and hand it out, and they can also make derivative works that comment on it, explain it, or help people implement it. They can publish and distribute those too, all in whole or in part, with no restrictions π The one catch is that the copyright notice and this paragraph have to stay on every copy and every derivative work π
What you can't do is modify this document itself, like deleting the copyright notice or the references to the Internet Society or other Internet organizations π ββοΈ The exceptions are when you need it to develop Internet standards, in which case you have to follow the copyright procedures in the Internet Standards process, or when you need to translate it into a language other than English π
The permissions above are perpetual, which means the Internet Society and its successors or assigns won't take them back π¦
This document and the information in it is provided "AS IS", and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. π
Acknowledgement π«Ά
Funding for the RFC Editor function is currently provided by the Internet Society. πΈ
π¦ where this page comes from
- ietf: rfc2834 2000-05
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms