Dear list, I set up two OpenBSD 3.7 -stable firewalls using carp. Everything works except preemption.
When only one interface on the master side fails (pull the Cable) the regarding carp0 interface on the backup side becomes master. But not carp1. I waited some minutes, but carp1 keeps being backup until I do a simple ifconfig(8) on the master side. Then it changes immediately. I can reproduce it, waiting some minutes, or only a fiew seconds. Once I do an ifconfig on the master side, the backup side becomes master on all carp's. Strange...? My config: MASTER Side: # cat /etc/hostname.bge0 inet 10.25.0.2 255.255.255.240 # cat /etc/hostname.carp0 inet 10.25.0.1 255.255.255.240 10.25.0.15 vhid 1 pass foo carpdev bge0 # cat /etc/hostname.bge1 inet 10.25.0.18 255.255.255.240 # cat /etc/hostname.carp1 inet 10.25.0.17 255.255.255.240 10.25.0.31 vhid 2 pass foo carpdev bge1 # cat /etc/hostname.pfsync0 up syncif bge0 BACKUP Side: # cat /etc/hostname.bge0 inet 10.25.0.3 255.255.255.240 # cat /etc/hostname.carp0 inet 10.25.0.1 255.255.255.240 10.25.0.15 vhid 1 advskew 100 pass foo carpdev bge0 # cat /etc/hostname.bge1 inet 10.25.0.18 255.255.255.240 # cat /etc/hostname.carp1 inet 10.25.0.17 255.255.255.240 10.25.0.31 vhid 2 advskew 100 pass foo carpdev bge1 preemtion is enabled on both machines using sysctl -w net.inet.carp.preempt=1 and in /etc/sysctl.conf Can anybody reproduce it, and has a solution for this problem? Any help would be very nice! :-) Thanks Ralf

