CARP make panics after upgrade

Marko Lerota mlerota at iskon.hr
Wed May 16 19:52:51 UTC 2007


>From FreeBSD 5.4 to FreeBSD 6.2. 

I had two old FreeBSD 5.4 servers, and when I upgraded one of them 
CARP was crashing that upgraded machine which was in backup mode. 
I had to shutdown the carp interface so I can work. Later I figured 
out that in new versions of FreeBSD configuration was changed, so 
when I switched to new configuration everything worked fine.

I think it's worth mentioning it here. 

Here is the old config that panics, man pfsync(4) from 5.4

cloned_interfaces="carp0 carp1"
network_interfaces="lo0 sis0 sis1 sis2 carp0 carp1 pfsync0"
ifconfig_sis0="10.0.0.254/24"
ifconfig_sis1="192.168.0.254/24"
ifconfig_sis2="192.168.254.254/24"
ifconfig_carp0="vhid 1 pass foo 10.0.0.1/24"
ifconfig_carp1="vhid 2 pass bar 192.168.0.1/24"
ifconfig_pfsync0="up syncif sis2"

And here is the new config that doesn't

network_interfaces="lo0 sis0 sis1 sis2"
cloned_interfaces="carp0 carp1"
ifconfig_sis0="10.0.0.254/24"
ifconfig_sis1="192.168.0.254/24"
ifconfig_sis2="192.168.254.254/24"
ifconfig_carp0="vhid 1 pass foo 10.0.0.1/24"
ifconfig_carp1="vhid 2 pass bar 192.168.0.1/24"
pfsync_enable="YES"
pfsync_syncdev="sis2"


-- 
One cannot sell the earth upon which the people walk
                               			Tacunka Witco 


More information about the freebsd-stable mailing list