Problem
I have two SCO Unix systems with different IP addresses.
One system is active and the other system is a standby.
Both systems, potentially, share the same virtual IP address.
If I shutdown my active system and activate the standby system the virtual IP gets assigned to it with either the 'ipalias' command or with a fail-over solution such as SCO Professional Services 'manual' fail-over solution or ReliantHA.
If I now want to access systems in a different subnet the connection times out.
Cause
Some routers do not update their MAC address cache entries.
Solution
Whenever you make the other system the active system the MAC address changes while the virtual IP address remains the same.
Use the following command to solve this issue:
arp -i "interface name" "target IP address"If the sender and target IP addresses are identical, a gratuitous ARP request is broadcast.
This allows other hosts (and routers) on the network to update their cache entries for the sender's IP address with the hardware address contained in the request.
No reply is expected. If an interface has been configured with several alias IP addresses, a separate gratuitous ARP request must be issued for each IP address which needs to notify its corresponding hardware address to the network.
Example:Your IP address is 10.43.100.1 and you have one interface configured.
Perform the following command:# arp -i net0 10.43.100.1