From owner-freebsd-net@FreeBSD.ORG Tue Apr 3 07:50:19 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1819F106566C for ; Tue, 3 Apr 2012 07:50:19 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx08.syd.optusnet.com.au (fallbackmx08.syd.optusnet.com.au [211.29.132.10]) by mx1.freebsd.org (Postfix) with ESMTP id DB1ED8FC0A for ; Tue, 3 Apr 2012 07:50:17 +0000 (UTC) Received: from mail30.syd.optusnet.com.au (mail30.syd.optusnet.com.au [211.29.133.193]) by fallbackmx08.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id q337oAb1030412 for ; Tue, 3 Apr 2012 17:50:10 +1000 Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail30.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id q337nvP7026244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 3 Apr 2012 17:49:59 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.5/8.14.4) with ESMTP id q337nuR9023726; Tue, 3 Apr 2012 17:49:56 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.5/8.14.5/Submit) id q337nsvh023709; Tue, 3 Apr 2012 17:49:54 +1000 (EST) (envelope-from peter) Date: Tue, 3 Apr 2012 17:49:54 +1000 From: Peter Jeremy To: Beeblebrox Message-ID: <20120403074954.GA19241@server.vk2pj.dyndns.org> References: <20120329072054.GA45082@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-net@freebsd.org Subject: Re: lagg problems on diskless client 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: Tue, 03 Apr 2012 07:50:19 -0000 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Please don't top post. On 2012-Apr-02 12:25:06 +0300, Beeblebrox wrote: >I had looked into failover with wireless and tried it before posting, but >got nowhere. Wired/wireless on a diskfull system should be trivial. >1. With below setup in diskless client's rc.conf, the client is able to >boot and gets to login screen: >ifconfig_re1=3D"up ether 00:30:67:91:6c:c2" >cloned_interfaces=3D"lagg0" >ifconfig_lagg0=3D"up laggproto failover laggport re1 192.168.2.2 netmask >255.255.255.0" Assuming you're netbooting off re0, that looks correct. >2. ifconfig at that point shows all good: same mac addr and lagg0 active. >re0: flags=3D8843 metric 0 mtu 1500 >options=3D8209b >ether 00:30:67:91:6c:c2 >inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255 This is wrong - there should't be an IP address on re0 at this point. >media: Ethernet autoselect (100baseTX ) >status: active >re1: flags=3D8843 metric 0 mtu 1500 >options=3D8209b >ether 00:30:67:91:6c:c2 >media: Ethernet autoselect (1000baseT ) >status: active >lagg0: flags=3D8843 metric 0 mtu 1= 500 >options=3D8209b >ether 00:30:67:91:6c:c2 >media: Ethernet autoselect >status: active >laggproto failover >laggport: re1 flags=3D5 > >Now if I go and unplug NIC10/100 on diskless client and "list folder", the >client will freeze - so failover does not switch. After some time passes, >client informs that NFS server 192.168.2.1 is not responding. lagg0 shows only one laggport so there's no failover. Are you sure you installed /etc/rc.d/lagg or an equivalent script? >PS- I mistakenly double-posted: >http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D39210+0+current/freebsd-net I replied to this one because it had a meaningful subject. --=20 Peter Jeremy --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk96q6IACgkQ/opHv/APuIdRwACgsuzqqwfUKxIiruUpKN9ZAHOs 4owAn2MscXvMvMNUxJy3ydl7VQsjtPkN =u2Wf -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--