carp on vlan's

2005-08-23 Thread David Hill
Hello -

I have vlan0 mapped on to fxp0
I have vlan1 mapped on to fxp0 as well.

I have carp0 mapped on to vlan0
I have carp1 mapped on to vlan1
I have carp2 mapped on to fxp1 (internal)

If I unplug the cable on fxp1, everything works.
If I unplug the cable on fxp0, the second box changes to MASTER, but the first 
box stays MASTER too and things get screwed up.

Is it possible to have fxp0 flag vlan0, then vlan0 flag carp0 that the link is 
down?  Or make ifconfig carp0 carpdev vlan0 monitordev fxp0 so that it sends 
traffic out vlan0, but watches fxp0 for changes?

- David



Re: carp on vlan's

2005-08-23 Thread Stuart Henderson

--On 23 August 2005 18:26 -0400, David Hill wrote:


Is it possible to have fxp0 flag vlan0, then vlan0 flag carp0 that
the link is down?


yes, in -current. plus.html says: Make vlan(4) aware of the underlying 
link state, and report that up to other interfaces layered on top.




Re: carp on vlan's

2005-08-23 Thread David Hill
On Tue, Aug 23, 2005 at 11:41:10PM +0100, Stuart Henderson wrote:
 --On 23 August 2005 18:26 -0400, David Hill wrote:
 
 Is it possible to have fxp0 flag vlan0, then vlan0 flag carp0 that
 the link is down?
 
 yes, in -current. plus.html says: Make vlan(4) aware of the underlying 
 link state, and report that up to other interfaces layered on top.
 
 

Beautiful, thanks!