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

2008-04-14 Thread openbsd firewall
Hello, What doesn't make sense is giving the same IP to two different carp interfaces in the same machine ! You are looking for interface bonding (trunk is the name openbsd uses I think!). Just trunk the two interfaces for each machine and then configure a carp for the trunk interface. If one inte

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

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 an

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

2008-04-14 Thread openbsd firewall
On 14/04/2008, Tom Geman <[EMAIL PROTECTED]> wrote: > > > 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

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

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 : 10.1.1.1