Date: Tue, 02 Jun 2009 06:33:15 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Brooks Davis <brooks@freebsd.org> Cc: freebsd-rc@freebsd.org, Doug Barton <dougb@dougbarton.us> Subject: Re: Removal of deprecation for network_interfaces != AUTO Message-ID: <4A24B99B.9050703@infracaninophile.co.uk> In-Reply-To: <20090601212506.GA2351@lor.one-eyed-alien.net> References: <4A21A4F6.5060709@dougbarton.us> <20090601212506.GA2351@lor.one-eyed-alien.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Brooks Davis wrote:
> I've never seen a valid use case, just failures to understand the
> current system.
My laptop has iwi0 and bge0 interfaces. At work, both of these obtain
addresses and default routes by DHCP, but from two completely different DHCP
servers. When I'm plugged into the wired network I want the bge0 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 course, when
I'm not plugged into the wired network I want iwi0 to have the default route,
so I can't just use dhclient.conf to disregard routing information on that
interface.
All in all, setting network_interfaces="bge0 iwi0 lo0" does exactly what I
want with minimal effort.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkokuaEACgkQ8Mjk52CukIw7mACgiQTQitakfi11OiL68hP5f2Lw
wCIAn1CEWwtaZuMLV4H4wWgtbiDSzvJv
=82OP
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A24B99B.9050703>
