Greetings all...

We were trying to upgrade a couple of boxes (fw1 and fw2) running 3.6 to
3.8, but we came across an interesting problem with carp...

First we installed 3.8 from scratch on just fw2, and kept fw1 in
production with 3.6.
once fw2 was done, we tried just to plumb the carp interfaces with high
advskew, so fw2 would still be BACKUP.

So, we first added carp1 (described below) with this command:
fw2# sh /etc/netstart carp1.

All went well... vhid2 on fw2 stayed as BACKUP, and vhd2 on fw1 stayed
as MASTER. Perfect.

The problem is with carp0, that has a few aliases in
/etc/hostname.carp0... after executing "sh /etc/netstart carp0", vhd1 on
fw2 became MASTER, and vhid1 on fw1 stayed as MASTER, as well.

The funny part now is that when we bring carp0 up without any alias in
the /etc/hostname.carp0 file (just with the main carp0 IP),  everything
works flawlessly. ie, vhid1 on fw2 is BACKUP, while vhid1 on fw1 is
still MASTER


Are we doing something wrong with the aliasing here? any pointers are
really appreciated.

FW2 hostname.carpX (3.8)
---------------------------
fw2# cat /etc/hostname.carp0
inet 1.2.3.2 255.255.255.0 1.2.3.255 vhid 1 pass foo carpdev em0 advskew 127
inet alias 1.2.3.6 255.255.255.0 1.2.3.255 vhid 1 pass foo carpdev em0
advskew 127
inet alias 1.2.3.7 255.255.255.0 1.2.3.255 vhid 1 pass foo carpdev em0
advskew 127
inet alias 1.2.3.8 255.255.255.0 1.2.3.255 vhid 1 pass foo carpdev em0
advskew 127
inet alias 1.2.3.9 255.255.255.0 1.2.3.255 vhid 1 pass foo carpdev em0
advskew 127
--------------------------
fw2# /etc/hostname.carp1
inet 10.10.0.1 255.255.0.0 10.10.255.255 vhid 2 pass foo carpdev em1
advskew 127
-------------------------



FW1 hostname.carpX (3.6)
---------------------------
fw2# cat /etc/hostname.carp0
inet 1.2.3.2 255.255.255.0 1.2.3.255 vhid 1 pass foo advskew  0
inet alias 1.2.3.6 255.255.255.0 1.2.3.255 vhid 1 pass foo advskew 0
inet alias 1.2.3.7 255.255.255.0 1.2.3.255 vhid 1 pass foo advskew 0
inet alias 1.2.3.8 255.255.255.0 1.2.3.255 vhid 1 pass foo advskew 0
inet alias 1.2.3.9 255.255.255.0 1.2.3.255 vhid 1 pass foo advskew 0
--------------------------
fw2# /etc/hostname.carp1
inet 10.10.0.1 255.255.0.0 10.10.255.255 vhid 2 pass foo advskew 0
--------------------------


Thanks a lot

Reply via email to