From owner-freebsd-net@FreeBSD.ORG Thu Sep 24 06:32:47 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45E5C106566C for ; Thu, 24 Sep 2009 06:32:47 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id C7A988FC1D for ; Thu, 24 Sep 2009 06:32:46 +0000 (UTC) Received: by fxm22 with SMTP id 22so1265321fxm.36 for ; Wed, 23 Sep 2009 23:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=g1iQr57V1S+X1SJsGJVDm5bjMRXOrPImPQ7dZnhK1eA=; b=n8YFGlo2ogtdXQTNuaTHlFio+5VwOBhbBnWI7AcR1V4g+KZPuH1YH+mz/QZ5b+aOJb rDgAqdXSIMkrg8VQdkmeaKLIRVGgT5eNUC7rJ10SypwGoQHHVDIjeWeJ4CgldJ1muzmr rdDLeBzg8Hc0gBpDCfPPDtiJF+aOqzSjd/xDA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=il5QVwUPNEAP2boruQgEs7MqCc6kRVUAmB3wT3+MwJ6Ir7OMEpZv3rewVD/Pp3HUhv 2spx9d/KtR0wi4tIJLCZN0IiYbn+96c4HLjZ3bV2yzRe4ucCBzcj1izNC9/ODXXtpdu5 8R9PBAkSccO1T3Brbjlt9N5Zg9EXvqtLFxxQE= Received: by 10.204.26.150 with SMTP id e22mr2663803bkc.68.1253773965535; Wed, 23 Sep 2009 23:32:45 -0700 (PDT) Received: from ?10.0.0.10? (93-152-151-19.ddns.onlinedirect.bg [93.152.151.19]) by mx.google.com with ESMTPS id y15sm2062022fkd.21.2009.09.23.23.32.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 23 Sep 2009 23:32:43 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Nikolay Denev In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3042DBE7@MBX03.exg5.exghost.com> Date: Thu, 24 Sep 2009 09:32:40 +0300 Content-Transfer-Encoding: 7bit Message-Id: References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3042DBE7@MBX03.exg5.exghost.com> To: Peter Steele X-Mailer: Apple Mail (2.1076) Cc: freebsd-net@freebsd.org Subject: Re: Can lagg0 failback be prevented? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2009 06:32:47 -0000 How long exactly is that "momentary network outage"? If it's longer than a few (1-5) seconds it may be due to RSTP or STP enabled on the switch. You could try disabling STP on these ports and see if it will start forwarding traffic faster. -- Regards, Nikolay Denev On 16 Sep, 2009, at 03:23 , Peter Steele wrote: > We're using the lag driver to provide automatic failover in case of > a network outage. The default configuration looks like this: > > lagg0: flags=8843 metric 0 > mtu 1500 > > options=19b > ether 00:a0:d1:e3:58:26 > inet 192.168.17.40 netmask 0xfffff000 broadcast 192.168.31.255 > inet 192.168.22.11 netmask 0xffffff00 broadcast 192.168.22.255 > media: Ethernet autoselect > status: active > laggproto failover > laggport: nfe1 flags=0<> > laggport: nfe0 flags=5 > > If nfe0 was to fail, we get an (almost) automatic failover to nfe1: > > lagg0: flags=8843 metric 0 > mtu 1500 > > options=19b > ether 00:a0:d1:e3:58:26 > inet 192.168.17.40 netmask 0xfffff000 broadcast 192.168.31.255 > inet 192.168.22.11 netmask 0xffffff00 broadcast 192.168.22.255 > media: Ethernet autoselect > status: active > laggproto failover > laggport: nfe1 flags=4 > laggport: nfe0 flags=1 > > The problem we're having is when nfe0 comes online again, a failback > occurs making nfe0 active again. This causes a momentary network > outage that we want to prevent. Is there a way to configure the lagg > device to stay with the currently active interface, even if the > MASTER interface comes back online? > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >