摘要 |
One embodiment of the present invention provides a system for providing link-local IPv4 addressing across multiple interfaces of a source network-node. During system operation, the source network-node broadcasts an Address Resolution Protocol (ARP) request packet on multiple interfaces, wherein the ARP-request packet asks for the hardware address of a network node whose link-local IPv4 address is Y. Next, the source network-node receives an ARP-reply packet on interface Z<SUB>1 </SUB>from a target network-node whose link-local IPv4 address is Y and whose hardware address is X. If Y is not present in the ARP cache of the source network-node, an entry is added to the ARP cache, which specifies that IP address Y is at the hardware address X on interface Z<SUB>1</SUB>. On the other hand, if Y is already present in the ARP cache of the source network-node and is associated with a different interface Z<SUB>2</SUB>, the source network-node chooses a winner interface out of Z<SUB>1 </SUB>and Z<SUB>2</SUB>. If interface Z<SUB>1 </SUB>is chosen as the winner, the source network-node updates the ARP cache so that it specifies that IP address Y is at the hardware address X on interface Z<SUB>1</SUB>. Finally, the source network-node sends one or more contention-resolution packets on the loser interface to cause the loser network-node to choose another link-local IPv4 address for itself.
|