Date: Thu, 11 Nov 1999 15:45:39 -0600 From: "Matthew D. Fuller" <fullermd@futuresouth.com> To: matt <matt@BabCom.ORG> Cc: FreeBSD Stable <freebsd-stable@FreeBSD.ORG> Subject: Re: Help with ifconfig Message-ID: <19991111154539.A393@futuresouth.com> In-Reply-To: <Pine.BSF.4.20.9911111535320.1508-100000@s01.arpa-canada.net> References: <19991111142009.Y393@futuresouth.com> <Pine.BSF.4.20.9911111535320.1508-100000@s01.arpa-canada.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 11, 1999 at 03:38:21PM -0500, a little birdie told me that matt remarked > On Thu, 11 Nov 1999, Matthew D. Fuller wrote: > [...] > : This becomes ungodly ugly when you have 3 or 4 C's. Better to use an > : external script. And do you REALLY want a /24 netmask on all of them?? > > I made a script called /etc/rc.ifconfig, I suppose this should be > /usr/local/etc for technical correctness, but it works nicer than > the ifconfig_ed0_aliasX types in /etc/rc.conf, I make rc.local call > rc.ifconfig- This is what it looks like: Actually, you should call it from rc.network; things like Apache need to be started *AFTER* you ifconfig the aliases, or it won't bind() to them. And if you look, rc.network already has provisions for this: # Set up all the network interfaces, calling startup scripts if needed for ifn in ${network_interfaces}; do if [ -e /etc/start_if.${ifn} ]; then . /etc/start_if.${ifn} fi So just rename the script to /etc/start_if.ed0 and don't worry 'bout it :) -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Unix Systems Administrator | fullermd@futuresouth.com Specializing in FreeBSD | http://www.over-yonder.net/ FutureSouth Communications | ISPHelp ISP Consulting "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991111154539.A393>