Discussion
DISCUSSION
The claim for the extended ARP scheme is that the average host need not even know it is in a multi-LAN environment.
If a host took the trouble to analyze its local cache of IA:AH address mappings it might discover that several of the IAs mapped to the same HA. And if it took timing measurements it might discover that some hosts responded with less delay that others. And further, it might be able to find a correlation between these discoveries. But few hosts would take the trouble.
Address Structure
In the explicit subnet scheme, some IA bits are devoted to identifying the subnet (i.e., the LAN). The address is broken up into network, subnet, and host fields. Generally, when fields are use the density of the assigned addresses in the address space goes down. That is, there is a less efficient use of the address space. Significant implementation problems may arise if more subnets than planned are installed and it becomes necessary to change the size of the subnet field. It seems totally impractical to use the explicit subnet scheme with a class C IA.
In the extended ARP scheme the address is simply the network, and host fields. The extended ARP scheme may be used with any class of IA.
Relocating Hosts
In the explicit subnet scheme when a host is unplugged from one LAN and plugged into another its IA must change.
In the extended ARP scheme it may keep the same IA.
One view of the situation suggests that there are really two problems:
-
How does the host discover if the destination is in this LAN or some other LAN?
This question assumes that a host should know the difference and should do something different in the two cases, and further that once the host knows the answer it also know how to send the data (e.g., directly to the host, or to the box).
The claim here is that the hosts should not know the difference and should always do the same thing.
-
How do the BOXes that connect LANs know which BOXes are the routes to which LANs?
This question assumes that the BOXes need some kind of topological knowledge, and exchange BOX-to-BOX protocol information about connectivity.
The claim here is that the BOXes do not need topological knowledge and do not need to explicitly know about the existence of other BOXes.
It has been suggested that there are two problems: first, how the hosts do routing; and second, how the BOXes do routing. A claim has been made that the competing strategies each have an approach to each problems and one could select a solution made up partly from one approach and partly from another.
For example: use ARP within the LAN and have the BOX send ARP replies and act as a agent (as in the extended ARP scheme), but use a BOX-to-BOX protocol to get the "which hosts are where" information into the BOXes (as in the explicit subnet scheme).
There are two places where code is involved: a large number of hosts, and a small number of BOXes. In considering the trade off between explicit subnet scheme and extended ARP scheme, the work done in the hosts should weigh a lot more than the work done in the BOXes.
What do hosts do?
Explicit Subnet Scheme
The host must be able to decide if this IA is on this LAN or some other LAN. If on this LAN then use some procedure to find the HA. If on some other LAN then use some procedure to find the HA of a BOX.
Extended ARP Scheme
In every case the host uses ARP to get a IA:HA mapping.
What do the BOXes do?
Explicit Subnet Scheme
The BOX must be able to decide which LAN within the site the destination host is on. The BOXes must have some routing table that tells for each LAN in the site which interface to send datagrams on. This routing table must be kept up to date, probably by a BOX-to-BOX protocol much like the Internet Gateway-to-Gateway protocol.
Extended ARP Scheme
The BOX must keep caches for each LAN it is attached to of IA:HA mappings, and it must keep a search list. It does not run any BOX-to-BOX protocol, It does not even know if any other BOXes exist.
Topology and Implementation Complexity
Trees
If the organization of the LANs and the BOXes is tree structured, the BOXes may be very simple, they don't have to keep the search lists at all, since there won't be any loops for the ARP-request to traverse.
Loops
If the organization has loops then the search lists are essential. If the topology is kept balanced so that there are no long loops (all loops are about the same size), and the LANs are reasonably compatible in delay characteristics, then the procedure described here will work well.
Complex
If the organization is very complex, topologically unbalanced, and/or composed of mix of different types of LANS with vastly different delay characteristics, then it may be better to use a BOX-to-BOX routing protocol.