Removal of deprecation for network_interfaces != AUTO
Matthew Seaman
m.seaman at infracaninophile.co.uk
Tue Jun 2 05:33:35 UTC 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20090602/9dc11451/signature.pgp
More information about the freebsd-rc
mailing list