Date: Sat, 08 Apr 2006 14:59:08 -0700 From: Darren Pilgrim <darren.pilgrim@bitfreak.org> To: Mike Meyer <mwm-keyword-freebsdhackers.102a7e@mired.org> Cc: Scott Long <scottl@samsco.org>, hackers@freebsd.org Subject: Re: Using any network interface whatsoever Message-ID: <4438322C.6010600@bitfreak.org> In-Reply-To: <17463.65076.117616.563302@bhuda.mired.org> References: <C05CAC06.C0BD%ceri@submonkey.net> <20060407225742.GA21619@odin.ac.hmc.edu> <20060407230247.GH16344@submonkey.net> <4437C9F6.5000008@samsco.org> <17463.65076.117616.563302@bhuda.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Meyer wrote: > If I do care - for instance, I want to distinguish > between the ethernet interface that's on the internet and the one > that's on my LAN, or I want root to be on the disk with the root file > system on it - then this is a PITA, because every time I add hardware > to the system, or re-arrange the cards in the cage, or similar things, > I risk breaking the system configuration. If the device names are > completely determined by the hardware settings, then this doesn't > happen. I wrote some add-on bits for /etc/rc.network in 4.x that compares the link addresses of attached network interfaces to a list of link addresses, then sets ifconfig_ifN* variables accordingly before rc.network does anything. It provides a means of wiring IP addresses to physical ports in a way that gets around the problem of probe order. If there's interest, I'll get to work on an rcNG version.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4438322C.6010600>