Technical article 127048

I get connection timeouts when trying to connect to a "failover Virtual IP system"

OpenServer 6.0.0OpenServer 5.0.7UnixWare 7.1.4

Written · Last revised

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

From the Xinuos technical article database, record 127048. Reproduced with permission. The original is at www.sco.com/ta/127048, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.