From owner-freebsd-stable@FreeBSD.ORG Sun Sep 27 17:01:54 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31C29106568D; Sun, 27 Sep 2009 17:01:54 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (cl-43.dus-01.de.sixxs.net [IPv6:2a01:198:200:2a::2]) by mx1.freebsd.org (Postfix) with ESMTP id A18EF8FC14; Sun, 27 Sep 2009 17:01:53 +0000 (UTC) Received: from acme.spoerlein.net (localhost.spoerlein.net [IPv6:::1]) by acme.spoerlein.net (8.14.3/8.14.3) with ESMTP id n8RH1qwD009923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 27 Sep 2009 19:01:52 +0200 (CEST) (envelope-from uqs@spoerlein.net) Received: (from uqs@localhost) by acme.spoerlein.net (8.14.3/8.14.3/Submit) id n8RH1pWp009922; Sun, 27 Sep 2009 19:01:51 +0200 (CEST) (envelope-from uqs@spoerlein.net) Date: Sun, 27 Sep 2009 19:01:51 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Daniel Eischen Message-ID: <20090927170151.GK69612@acme.spoerlein.net> Mail-Followup-To: Daniel Eischen , Maciej Jan Broniarz , freebsd-stable@freebsd.org References: <1704894341.63251252787681862.JavaMail.root@dagobah.intersec.pl> <20090927091314.GG69612@acme.spoerlein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org, Maciej Jan Broniarz Subject: Re: problem with link aggregation failover X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2009 17:01:54 -0000 On Sun, 27.09.2009 at 09:49:03 -0400, Daniel Eischen wrote: > On Sun, 27 Sep 2009, Ulrich Spörlein wrote: > > > On Sat, 12.09.2009 at 22:34:41 +0200, Maciej Jan Broniarz 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? > > > > Well, where is xl0 and fxp0 connected to? My first bet would be a > > standard switch, if so try setting both devices to the same MAC address. > > Otherwise the peers you connect to will send the IP packets to the wrong > > MAC address and only after a timeout (or a forced push thanks to the > > ping) will get their ARP cache into shape. > > lagg should automatically make xl0 and fxp0 appear at the same MAC > address. The only time you should have to manually set the MAC > address would be on cloned interfaces such as wlan, because the > cloned interfaces don't propagate the MAC change down to the > interface from which they were cloned. Interesting, thanks for the hint. I only use it for LAN/WLAN failover, so that's why I have to do this anyway. Regards, Uli