2 carp devices for same IP on same host (with 2 nics)

2008-04-14 Thread Mikael Kermorgant
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 :

Re: 2 carp devices for same IP on same host (with 2 nics)

2008-04-14 Thread Tom Geman
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

Re: 2 carp devices for same IP on same host (with 2 nics)

2008-04-14 Thread Mikael Kermorgant
What's the point behind this setup ? It doesn't make any sense! John Well, it makes some sort of sense for me (but as I'm no expert, could be a sweet dream :) ) so it's best I try to share what I'm looking for : There are 2 level of firewalls : 1st with fw1 fw2 protects from internet and

Re: 2 carp devices for same IP on same host (with 2 nics)

2008-04-14 Thread Mikael Kermorgant
On Mon, Apr 14, 2008 at 11:16 PM, Tom Geman [EMAIL PROTECTED] wrote: Problem is that carp2 never gets MASTER when I take down pcn2... I have never tried the setup you are proposing, but something doesn't seem right. Shouldn't both NICs belong to the same carp1? What happens if you