Virtual IP Status weird.

Started by itngo, July 19, 2023, 11:38:34 AM

Previous topic - Next topic
Hi,

I have about 15 VIPs configured with CARP. But "Virtual IPs: Status" shows 16.

2 with same IP.
        8 (freq. 1/0)   100.64.0.1     INIT
   WiFiGuest   10 (freq. 1/0)   100.64.0.1     MASTER

VHID 8 has been deleted and should not be there. Also in config.xml export VHID does not exist. What did I wrong?

If you have a VHID mismatch for one IP address between both nodes, that would explain what you are seeing.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Thank for response. Config is in Sync and VHID are the same on both nodes.

Maybe you can use less CARP addresses too.

You can "stack" addresses onto a single CARP VHID using IP Alias for the same interface. I use this for WAN a lot.

Example:
WAN CARP = 202.202.202.202/24 with VHID 100

You can add additional WAN addresses onto the same interface:
WAN IP Alias = 202.202.202.203/24 with VHID 100
WAN IP Alias = 202.202.202.204/24 with VHID 100


See the attachment for an example I added to my LAN for you to see....

See https://docs.opnsense.org/manual/firewall_vip.html