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>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

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

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

lagg0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15=
00
=09options=3D9<RXCSUM,VLAN_MTU>
=09ether 00:01:02:20:24:ef
=09inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255
=09media: Ethernet autoselect
=09status: active
=09laggproto failover
=09laggport: fxp0 flags=3D0<>
=09laggport: xl0 flags=3D5<MASTER,ACTIVE>


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

lagg0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15=
00
=09options=3D9<RXCSUM,VLAN_MTU>
=09ether 00:01:02:20:24:ef
=09inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255
=09media: Ethernet autoselect
=09status: active
=09laggproto failover
=09laggport: fxp0 flags=3D4<ACTIVE>
=09laggport: xl0 flags=3D1<MASTER>


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

lagg0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15=
00
=09options=3D9<RXCSUM,VLAN_MTU>
=09ether 00:01:02:20:24:ef
=09inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255
=09media: Ethernet autoselect
=09status: active
=09laggproto failover
=09laggport: fxp0 flags=3D4<ACTIVE>
=09laggport: xl0 flags=3D1<MASTER>

What might be the problem with that setup?

Thanks for your help,
mjb
=20
> 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"
> >
>=20
>=20
>=20
> --=20
> And what is good, Phaedrus,
> And what is not good=E2=80=94
> Need we ask anyone to tell us these things?



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