Hi list,

someone suggested I shall wait for the 3.9, see below. I googled a the 
whole day for a solution, and found this:
http://www.countersiege.com/doc/ifstated/
where ryan describes my problem exactly.

will openbsd 3.9 carp be able to keep the interfaces in sync without 
ifstated? I read the changelog so far, but did not found any evidence. I 
also read through the manual pages on openbsd.org (these are always for 
-current, or not?) but have not found anything that might solve the 
problem without carp. 
Can someone clarify if it will work with 3.9 without ifstated?

thanks a lot
lars


> 
> Try a 3.9 kernel and 3.9 ifconfig binary and see what happens
> i'm using 3.9-current from the snapshots right now to great effect
> 
> Lars Weste [EMAIL PROTECTED] wrote:
> > Hi, 
> > 
> > I have some problems with carp and vlans, at least I think so. 
> > I found this: 
> > http://archives.neohapsis.com/archives/openbsd/cvs/2005-04/0996.html
> > so my assumption may be wrong, as I use openbsd 3.8.
> > 
> > I have four physical 
> > interfaces in my two firewalls, one for pfsync, one to the Internet, 
DMZ
> > and LAN. At the LAN interface seven VLAN interfaces are configured. 
The 
> > Internet and DMZ interfaces are on em(4) and the pfsync and LAN vlans 
on
> > a bge(4) interface. 
> > 
> > When I remove one of the Internet or DMZ cables, all Interfaces on 
both 
> > firewalls behave as expected, the Interface where the cable is 
removed, 
> > goes to state INIT, the others become backup. When I do this with the
> LAN 
> > interface, then all carp interfaces for the seven vlans go to master 
> > state, but the two remaining carp interfaces for the Internet and DMZ 
> > stay in backup mode.
> > 
> > my configuration on both hosts:
> > net.inet.carp.preempt=1
> > net.inet.carp.allow=1
> > net.inet.carp.arpbalance=0
> > 
> > 
> > hostname.carp0
> > !ifconfig em0 up
> > vhid 1 carpdev em0 172.16.0.1 172.16.0.255 netmask 255.255.255.0 up
> > 
> > hostname.carp1
> > !ifconfig em1 up
> > vhid 1 carpdev em1 172.16.1.1 172.16.1.255 netmask 255.255.255.0 up
> > 
> > 
> > hostname.carp2 
> > !ifconfig bge0 up
> > !ifconfig vlan0 create
> > !ifconfig vlan0 vlan 3 vlandev bge0 up
> > vhid 1 carpdev vlan0 192.168.0.1 192.168.1.255 netmask 255.255.254.0 
up
> > 
> > hostname.carp3 up to hostname.carp9 (only the vlan interface numbers 
and
> > ip addresses are different)
> > !ifconfig vlan1 create
> > !ifconfig vlan1 vlan 4 vlandev bge0 up
> > vhid 1 carpdev vlan0 192.168.2.1 192.168.3.255 netmask 255.255.254.0 
up
> > 
> > 
> > I also tried to use the em interfaces for the vlan devices, with the
> same 
> > result, the interfaces do not stay in sync. assume the following: i 
> > remove a cable from the backup host from the carp interfaces, doesn't 
> > matter which one. The carp interface goes into init state, then i 
plug
> it 
> > back in, and the interface goes into backup state. but with a chance 
of 
> > about 1 of 5 the interface changes its state from backup to master, 
but 
> > the other interfaces stay in backup mode. The second host has all 
> > interfaces as master but the one as backup where at the first host 
the 
> > corresponding interface is in master mode.
> > 
> > 
> > I also tried with different vhid's on all interfaces, but with no 
> > different results. Anybody knows how to keep the carp interfaces on 
the 
> > vlan devices in same state with the carp interfaces bound to the
> physical 
> > interfaces? Any hint would be greatly appreciated.
> > 
> > 
> > lars


-- 
Analog-/ISDN-Nutzer sparen mit GMX SmartSurfer bis zu 70%!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer

Reply via email to