https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275225
Bug ID: 275225
Summary: On ARM64 carp preempt not working as expected
Product: Base System
Version: 14.0-RELEASE
Hardware: arm64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Hello,
It seems that carp completely ignores net.inet.carp.preempt value and always
promotes "master" to host having higher advskew.
Two hosts, RPI4 and Pine Rockpro64. Same issue with FBSD 13.1 and 14.0
Config:
/boot/loader.conf: carp_load="YES"
/etc/sysctl.conf: net.inet.carp.preempt=0
RPI4 /etc/rc.conf:
# primary
ifconfig_genet0="inet 192.168.1.19 netmask 255.255.255.0"
defaultrouter="192.168.1.1"
ifconfig_genet0_alias0="inet vhid 1 pass xyz alias 192.168.1.20/24"
#ifconfig_genet0_alias0="inet vhid 1 advskew 100 pass xyz alias
192.168.1.20/24"
ROCKPRO64 /etc/rc.conf:
ifconfig_dwc0="inet 192.168.1.21 netmask 255.255.255.0"
defaultrouter="192.168.1.1"
# primary
#ifconfig_dwc0_alias0="inet vhid 1 pass xyz alias 192.168.1.20/24"
# backup
ifconfig_dwc0_alias0="inet vhid 1 advskew 100 pass xyz alias 192.168.1.20/24"
As told before when host having higher advskew comes online it will always
promoted to be a primary regardless net.inet.carp.preempt=0/1 setting.
I tested with same configuration in Virtualbox with two AMD64 FBSD14 VM-s. It
worked as expected: primary A goes down, secondary B takes over, primary A
comes up and stays secondary and former secondary B stays primary.
--
You are receiving this mail because:
You are the assignee for the bug.