My configuration seems to have a problem. I cannot see the VIP when I use the "ip a" command on the MASTER node.
eth1's ip: 7.7.7.2
eth2's ip: 6.6.6.2
! Configuration File for keepalived
global_defs {
router_id TEST1
}
vrrp_instance WAN {
interface eth1
state MASTER
virtual_router_id 51
priority 101
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
7.7.7.2/24
}
track_interface {
eth2
}
}
vrrp_instance LANb {
interface eth2
state MASTER
virtual_router_id 52
priority 101
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
6.6.6.2/24
}
track_interface {
eth1
}
}