Virtual IP address (VIP)
A virtual IP address (VIP) is an address used as a stable endpoint for a service or a logical router, rather than as the identity of one permanent physical interface. Its reachability is managed by a failover, routing, or load-balancing mechanism.
A stable address with a separate ownership mechanism
A virtual IP separates the address clients use from the identity of one permanent server or router. The address still needs to be reachable, and something must decide which node or nodes handle it. The label VIP alone does not specify that mechanism.
In an active/standby design, one node may handle the address at a time. VRRP is one protocol for managing responsibility for a virtual router. Other systems use their own leader election. In a routed design, multiple nodes can advertise reachability and an upstream router can use the paths allowed by its routing policy.
Failover example
Clients use service address 192.0.2.100. Node A and node B have their own management addresses, 192.0.2.11 and 192.0.2.12.
- Node A initially handles
192.0.2.100. - A failover decision transfers responsibility to node B.
- The system updates the network's way of reaching that service address, for example through local-link announcements or routing advertisements.
- Clients continue using
192.0.2.100rather than learning node B's management address.
Address continuity does not imply connection continuity. Existing sessions can fail if their state is unavailable on the new node. Detection and network convergence also take time; a VIP is not a guarantee of instantaneous, lossless failover.
Inspect the relevant layers
For a Linux node, useful read-only starting points include:
ip address show
ip -4 route get 192.0.2.100
ip -4 neigh show
Depending on the implementation, the endpoint may be represented by interface addresses, routing entries, packet-processing rules or a load balancer. Do not assume that every service address must appear as a normal address on every node.
Common confusions
A VIP is not necessarily a public Internet address. It is not a virtual machine, a MAC address or a synonym for NAT. In Kubernetes, a Service ClusterIP and an externally advertised LoadBalancer address have different reachability scopes, even though both can act as logical service endpoints. Check which address the documentation means before troubleshooting external access.