CARP "Master" in All Nodes
-
Good night and thank you!
I am assembling a LAB that I intend to apply in my environment, and I am assembling it as follows2 PfSense in HA Config
LAN Interface with VLAN 14, 16, 18 in mode trunk
1 VIP Carp per VLANMy problem is VIP-IP it is master on the 2 servers.
VLAN 14 CARP-VIP - 192.168.14.1
VLAN 16 CARP-VIP - 192.168.16.1
VLAN 18 CARP-VIP - 192.168.18.1Master
Interface Vlan 14
192.168.14.2/23
Interface Vlan 16
192.168.16.2/23
Interface Vlan 18
192.168.18.2/23Slave
interface Vlan 14
192.168.14.3/23
interface Vlan 16
192.168.16.3/23
interface Vlan 18
192.168.18.3/23HA Interfaces
Master - 10.10.10.1
Slave - 10.10.10.2 -
@brunoroza
If both nodes are master the interfaces probably cannot communicate together with the CARP (VRRP) protocol.So how are the nodes connected? If they are connected to a switch ensure its ports are well configured for the VLANs and that it passes CARP packets.
-
@viragomann tks for reply
My firewall has the following interfaces
1 - WAN connected to the router
1 - HA (cross connection)
1 - switch interface vlan 14,16,18CARP portal is running on the interface that is with VLANS 14,16,18
pinging individually the IPS of the interfaces is working correctly, only the ips of the CARP that are active in the 2 firewalls and it doesn't work
-
@brunoroza If that is really the case then your switch is likely not properly passing the CARP advertisements. They are multicast to 224.0.0.18.
20:17:32.490656 IP 172.25.228.18 > 224.0.0.18: CARPv2-advertise 36: vhid=228 advbase=1 advskew=0 authlen=7 counter=2770184658337638700
If those are not received by the secondary node, it will also become MASTER and begin advertising its CARP VIP.