Virtual IP address


A virtual IP address is an IP address that doesn't correspond to an actual physical network interface. Uses for VIPs include network address translation, fault-tolerance, and mobility.

Usage

For one-to-many NAT, a VIP address is advertised from the NAT device, and incoming data packets destined to that VIP address are routed to different actual IP addresses. These VIP addresses have several variations and implementation scenarios, including Common Address Redundancy Protocol and Proxy ARP. In addition, if there are multiple actual IP addresses, load balancing can be performed as part of NAT.
VIP addresses are also used for connection redundancy by providing alternative fail-over options for one machine. For this to work, the host has to run an interior gateway protocol like Open Shortest Path First, and appear as a router to the rest of the network. It advertises virtual links connected via itself to all of its actual network interfaces. If one network interface fails, normal OSPF topology reconvergence will cause traffic to be sent via another interface.
A VIP address can be used to provide nearly unlimited mobility. For example, if an application has an IP address on a physical subnet, that application can be moved only to a host on that same subnet. VIP addresses can be advertised on their own subnet, so its application can be moved anywhere on the reachable network without changing addresses.