From owner-freebsd-net@FreeBSD.ORG Sat Aug 9 05:17:18 2008 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 BA990106564A for ; Sat, 9 Aug 2008 05:17:18 +0000 (UTC) (envelope-from jacoblowens@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.182]) by mx1.freebsd.org (Postfix) with ESMTP id E637A8FC18 for ; Sat, 9 Aug 2008 05:17:17 +0000 (UTC) (envelope-from jacoblowens@gmail.com) Received: by ik-out-1112.google.com with SMTP id c30so1898734ika.3 for ; Fri, 08 Aug 2008 22:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=HRMaLvYVHirlN+X560HRk6nyDw8puGdE/Nrjs0cqoak=; b=XkhDpMvQMTun5RoVUa4b2IuDiYaKmoiTEq8TEJwvcHK2qgIqUx41MuckUSrhgHdpTj QzfD2HEHHkH2QogWpEL5BC2HKI5Fa/dNIqiwJHOVe6qarkA6TBwnVRGBCY1tux+jGf2+ vSVm1xpGyLumUjfX5GBYMqksTVMy9Vbm1nrhc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=cR1+yJerwnejfvmz8HZs8FpV2mBMdDcMD6UXSJ0JHWrl2VzXY+/9aDHtz5m0V8t5vk BaBcko/UhF/yVPYCnovQYpR/czig251EpWQpT97srXf7c9u9ET63RETD3/2SOlb+wn2v KS1sOGQWzDLU/UxtSBiWyActW6y9V+TzqufWQ= Received: by 10.210.75.6 with SMTP id x6mr6458260eba.68.1218257367920; Fri, 08 Aug 2008 21:49:27 -0700 (PDT) Received: by 10.210.80.12 with HTTP; Fri, 8 Aug 2008 21:49:27 -0700 (PDT) Message-ID: Date: Fri, 8 Aug 2008 23:49:27 -0500 From: "Jacob Owens" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: lagg failover not automatic 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: Sat, 09 Aug 2008 05:17:18 -0000 Hello. I've got a old sun V100 which features two gigabit ports (using dc driver). I've been trying to get lagg failover working. on SPARC64 7.0 RELEASE On the box I put the following in /etc/rc.conf: ifconfig_dc0="UP" ifconfig_dc1="UP" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport dc0 laggport dc1 50.40.0.3netmask 255.255.0.0 I even added this to my loader.conf (per the man page) if_lagg_load="YES" I'm not using a smart switch, so no STP. What happens when I unplug the "master" interface, is that the network will stop working. the second I type in 'ifconfig -v' to see what the situation is, there is a small pause, and then the network fails over to the second nic and starts working. So it seems that typing 'ifconfig' somehow wakes the config up... Dmesg does not show the appropriate update (dc0: link state changed to DOWN/dc0: link state changed to UP) until after i type ifconfig either. Here is the before and after outfut of 'ifconfig -v' BEFORE: sunbox# ifconfig -v dc0: flags=8843 metric 0 mtu 1500 options=8 ether 00:03:ba:6c:be:04 media: Ethernet autoselect (100baseTX ) status: active lagg: laggdev lagg0 dc1: flags=8843 metric 0 mtu 1500 options=8 ether 00:03:ba:6c:be:04 media: Ethernet autoselect (100baseTX ) status: active lagg: laggdev lagg0 lo0: flags=8049 metric 0 mtu 16384 inet 127.0.0.1 netmask 0xff000000 groups: lo lagg0: flags=8843 metric 0 mtu 1500 options=8 ether 00:03:ba:6c:be:04 inet 50.40.0.3 netmask 0xffff0000 broadcast 50.40.255.255 media: Ethernet autoselect status: active groups: lagg laggproto failover laggport: dc1 flags=0<> laggport: dc0 flags=5 AFTER: sunbox# ifconfig -v dc0: flags=8843 metric 0 mtu 1500 options=8 ether 00:03:ba:6c:be:04 media: Ethernet autoselect (none) status: no carrier lagg: laggdev lagg0 dc1: flags=8843 metric 0 mtu 1500 options=8 ether 00:03:ba:6c:be:04 media: Ethernet autoselect (100baseTX ) status: active lagg: laggdev lagg0 lo0: flags=8049 metric 0 mtu 16384 inet 127.0.0.1 netmask 0xff000000 groups: lo lagg0: flags=8843 metric 0 mtu 1500 options=8 ether 00:03:ba:6c:be:04 inet 50.40.0.3 netmask 0xffff0000 broadcast 50.40.255.255 media: Ethernet autoselect status: active groups: lagg laggproto failover laggport: dc1 flags=4 laggport: dc0 flags=1 Thanks in advance. any ideas?