From owner-freebsd-rc@FreeBSD.ORG Tue Jun 2 17:26:50 2009 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E28A91065673; Tue, 2 Jun 2009 17:26:50 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4AC728FC13; Tue, 2 Jun 2009 17:26:50 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n52HQgHW063962; Tue, 2 Jun 2009 18:26:43 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.2 smtp.infracaninophile.co.uk n52HQgHW063962 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1243963604; bh=vRXAtnYPDB3w7UwfhdWc4oblRTdDryygl/roKnemlaE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4A2560CB.4030307@infracaninophile.co.uk>|Date:=20T ue,=2002=20Jun=202009=2018:26:35=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.21=20(X11/20090420)|MIME-Vers ion:=201.0|To:=20Sam=20Leffler=20|CC:=20Brooks=20 Davis=20,=20freebsd-rc@freebsd.org|Subject:=20 Re:=20Removal=20of=20deprecation=20for=20network_interfaces=20!=3D =20AUTO|References:=20<4A21A4F6.5060709@dougbarton.us>=09<20090601 212506.GA2351@lor.one-eyed-alien.net>=09<4A24B99B.9050703@infracan inophile.co.uk>=20<20090602155403.GF14685@lor.one-eyed-alien.net>= 20<4A254EFB.2020001@freebsd.org>|In-Reply-To:=20<4A254EFB.2020001@ freebsd.org>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipar t/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"applicati on/pgp-signature"=3B=0D=0A=20boundary=3D"------------enig475E16B74 5D0A3726124CC73"; b=rcFnGeKkeBJKUZCuNlI6Vz7aSFk9YK1lFF72OdM1WMOl86xVntF7WtFfo4n3BYo5d 33flp/ZfG4qjY77+7wT1xfhdf2Yb4fyzxzI8P98MfoV5cdB7u2bE8zzFMTsg5xY0v6 KRsGD2vpHbW2SWhYO5O6RHr4HCw7r9hBd7ySNSpo= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4A2560CB.4030307@infracaninophile.co.uk> Date: Tue, 02 Jun 2009 18:26:35 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.21 (X11/20090420) MIME-Version: 1.0 To: Sam Leffler References: <4A21A4F6.5060709@dougbarton.us> <20090601212506.GA2351@lor.one-eyed-alien.net> <4A24B99B.9050703@infracaninophile.co.uk> <20090602155403.GF14685@lor.one-eyed-alien.net> <4A254EFB.2020001@freebsd.org> In-Reply-To: <4A254EFB.2020001@freebsd.org> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig475E16B745D0A3726124CC73" X-Virus-Scanned: clamav-milter 0.95.1 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Brooks Davis , freebsd-rc@freebsd.org Subject: Re: Removal of deprecation for network_interfaces != AUTO X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2009 17:26:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig475E16B745D0A3726124CC73 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sam Leffler wrote: > Brooks Davis wrote: >> On Tue, Jun 02, 2009 at 06:33:15AM +0100, Matthew Seaman wrote: >> =20 >>> Brooks Davis wrote: >>> >>> =20 >>>> I've never seen a valid use case, just failures to understand the >>>> current system. >>>> =20 >>> My laptop has iwi0 and bge0 interfaces. At work, both of these obtai= n >>> addresses and default routes by DHCP, but from two completely=20 >>> different DHCP >>> servers. When I'm plugged into the wired network I want the bge0=20 >>> interface to >>> be the default route, but iwi0 comes first in the list of interfaces = >>> produced >>> by ifconfig, so it gets configured first and sets the route. Of=20 >>> course, when >>> I'm not plugged into the wired network I want iwi0 to have the=20 >>> default route, >>> so I can't just use dhclient.conf to disregard routing information on= =20 >>> that >>> interface. >>> >>> All in all, setting network_interfaces=3D"bge0 iwi0 lo0" does exactly= =20 >>> what I >>> want with minimal effort. >>> =20 >> >> This is an interesting use case. This is certainly the easiest way >> to do this in 7. FYI, it won't work by default in 8.0 because we >> only run dhclient from devd so there is no ordering unless you set >> synchronous_dhclient=3D"YES". What I've been thinking here is that we= >> should have a way to tell dhclient which interface(s) to prefer for a >> default route. I've been meaning to fix that for a while, but since >> I've been using a cardbus wireless device, I've not needed to scratch >> that itch. >> =20 > Some people prefer to use lagg's failover handling to handle the=20 > wired-wireless switchover. How does that work if the two interfaces are in entirely different networ= ks? Can you trigger an arbitrary action (such as modifying the routing table)= when a lagg interface fails over? Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig475E16B745D0A3726124CC73 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkolYNIACgkQ8Mjk52CukIzuLgCgk/KKJprDye/bXj0Kmo9dzn9/ EP4An33HvF+t/nJGwy1R13xktmPDTKFo =FqNo -----END PGP SIGNATURE----- --------------enig475E16B745D0A3726124CC73--