Hi List,

I'm having an issue with CARP preempt. I have two pfSense machines running 2.4.1-RELEASE. CARP fails over all individual IPs correctly, but doesn't preempt correctly in the case of a single failure.

On both machines, I've checked that net.inet.carp.preempt is enabled. The master appears to be detecting the demotion, as it sets net.inet.carp.demotion to 240 during a failure, but ifconfig still reports advskew as 0.

I'm not 100% sure if that number should update, or if the demotion number is added to the advskew reported by ifconfig.

Relevent sysctl, ifconfig, and log output taken from the master firewall during a failure is attached.

Any help is greatly appreciated!

---
Thanks,

Andrew Kester
The Storehouse
https://sthse.co
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 
1500
        
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
        ether 3e:4c:88:b9:f1:39
        hwaddr 3e:4c:88:b9:f1:39
        inet6 fe80::3c4c:88ff:feb9:f139%em0 prefixlen 64 scopeid 0x1 
        inet [...] netmask 0xfffffc00 broadcast [...]
        inet [...] netmask 0xfffffc00 broadcast [...] vhid 2 
        inet [...] netmask 0xfffffc00 broadcast [...] vhid 3 
        inet [...] netmask 0xfffffc00 broadcast [...] vhid 4 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        carp: MASTER vhid 2 advbase 1 advskew 0
        carp: MASTER vhid 3 advbase 1 advskew 0
        carp: MASTER vhid 4 advbase 1 advskew 0
Nov 1 15:15:38  check_reload_status             Carp backup event
Nov 1 15:15:38  kernel                          carp: 6@em4: MASTER -> INIT 
(hardware interface down)
Nov 1 15:15:38  kernel                          carp: demoted by 240 to 240 
(interface down)
Nov 1 15:15:38  kernel                          em4: link state changed to DOWN
Nov 1 15:15:38  check_reload_status             Linkup starting em4
Nov 1 15:15:39  php-fpm         861             /rc.carpbackup: HA cluster 
member “([…]@em4): (OFFICE)" has resumed CARP state "BACKUP" for vhid 6
Nov 1 15:15:39  php-fpm         861             /rc.linkup: Hotplug event 
detected for OFFICE(opt3) static IP ([…])
Nov 1 15:15:39  check_reload_status             Reloading filter
net.inet.carp.ifdown_demotion_factor: 240
net.inet.carp.senderr_demotion_factor: 0
net.inet.carp.demotion: 240
net.inet.carp.log: 1
net.inet.carp.preempt: 1
net.inet.carp.allow: 1
net.pfsync.carp_demotion_factor: 0
_______________________________________________
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Reply via email to