OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
2 carp devices for same IP on same host (with 2 nics)

From: Mikael Kermorgant (mikael.kermorgantgmail.com)
Date: Mon Apr 14 2008 - 14:23:05 CDT


Hello,

I'm working on testing this network topology :
http://kgt.free.fr/objectif-net2.png

I'm focusing on the inside side of fw1, which is linked (red cables)
to ifw1 and ifw2 for high availability.
These 2 nics are pcn2 and pcn3. I've configured them this way :

pcn2 : 10.1.1.11
pcn3 : 10.1.1.12
# cat /etc/hostname.carp1
inet 10.1.1.1 255.255.255.0 10.1.1.255 vhid 2 carpdev pcn2 advskew 0
# cat /etc/hostname.carp2
inet 10.1.1.1 255.255.255.0 10.1.1.255 vhid 2 carpdev pcn3 advskew 10

When I start the network, carp1 gets MASTER role but carp2 is on INIT
state and not backup.
I've checked /etc/pf.conf and it's ok.

Problem is that carp2 never gets MASTER when I take down pcn2...

Do you know if there's something inherently wrong with setting up 2
carp devices for the same IP on the same host ?

Thanks in advance,

Mikael Kermorgant

--
Mikael Kermorgant