problem with link aggregation failover

Maciej Jan Broniarz gausus at gausus.net
Sun Sep 13 10:02:40 UTC 2009


Hello,

> xl0 and fxp0 both need to have the same mac address

I have configured the same mac on both cards. 
My lagg0 looks like this:

lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=9<RXCSUM,VLAN_MTU>
	ether 00:01:02:20:24:ef
	inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255
	media: Ethernet autoselect
	status: active
	laggproto failover
	laggport: fxp0 flags=0<>
	laggport: xl0 flags=5<MASTER,ACTIVE>


When I disconnect the cable from xl0, the network connection dies, and my lagg0 looks like this:

lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=9<RXCSUM,VLAN_MTU>
	ether 00:01:02:20:24:ef
	inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255
	media: Ethernet autoselect
	status: active
	laggproto failover
	laggport: fxp0 flags=4<ACTIVE>
	laggport: xl0 flags=1<MASTER>


Still, if I start pinging anything from that host, the connections comes back to live:

lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=9<RXCSUM,VLAN_MTU>
	ether 00:01:02:20:24:ef
	inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255
	media: Ethernet autoselect
	status: active
	laggproto failover
	laggport: fxp0 flags=4<ACTIVE>
	laggport: xl0 flags=1<MASTER>

What might be the problem with that setup?

Thanks for your help,
mjb
 
> On Sat, Sep 12, 2009 at 1:34 PM, Maciej Jan Broniarz
> <gausus at gausus.net> wrote:
> > Hello,
> >
> > I am trying to configure lagg failover mode on 7.2.
> >
> > I do:
> >
> > # ifconfig xl0 up
> > # ifconfig fxp0 up
> > # ifconfig lagg0 create
> > # ifconfig lagg0 up laggproto failover laggport xl0 laggport fxp0
> > # dhclient lagg0
> >
> > And all seems to work ok. Still I disconnect the cable from the
> master card the connection stops.
> > Although fxp0 becomes active the connection is still dead. If I
> start pinging any host from that machine
> > the conection comes back to live, but having ping in background all
> the time is not the solution.
> >
> > Am I doing something wrong or have I missed something in the
> configuration?
> >
> > Best regards,
> > mjb
> > _______________________________________________
> > freebsd-stable at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to
> "freebsd-stable-unsubscribe at freebsd.org"
> >
> 
> 
> 
> -- 
> And what is good, Phaedrus,
> And what is not good—
> Need we ask anyone to tell us these things?


More information about the freebsd-stable mailing list