Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 2009 12:11:45 +0200 (CEST)
From:      Maciej Jan Broniarz <gausus@gausus.net>
To:        Kevin Downey <redchin@gmail.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: problem with link aggregation failover
Message-ID:  <88656044.63711252836705223.JavaMail.root@dagobah.intersec.pl>
In-Reply-To: <1d3ed48c0909121425g4a255ebah293ce39e42623ab8@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

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@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@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to
> "freebsd-stable-unsubscribe@freebsd.org"
> >
> 
> 
> 
> -- 
> And what is good, Phaedrus,
> And what is not good—
> Need we ask anyone to tell us these things?


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88656044.63711252836705223.JavaMail.root>