Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 1999 14:20:10 -0600
From:      "Matthew D. Fuller" <fullermd@futuresouth.com>
To:        "Jeffrey J. Libman" <jeffrl@wantabe.com>
Cc:        Wayne M Barnes <stabilizer@klentaq.com>, FreeBSD Stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: Help with ifconfig
Message-ID:  <19991111142009.Y393@futuresouth.com>
In-Reply-To: <Pine.BSF.4.10.9911110642450.12815-100000@binnacle.wantabe.com>
References:  <199911110440.WAA01899@klentaq.com> <Pine.BSF.4.10.9911110642450.12815-100000@binnacle.wantabe.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 11, 1999 at 06:45:00AM -0600, a little birdie told me
that Jeffrey J. Libman remarked
> for freeBSD this is the simplest:
> 
> i have the following lines in /etc/rc.conf:
> 
> ifconfig_lo0_alias1="inet 209.16.8.6 netmask 0xffffff00"
> ifconfig_lo0_alias2="inet 209.16.8.7 netmask 0xffffff00"
> ifconfig_lo0_alias3="inet 209.16.8.82 netmask 0xffffff00"
> ifconfig_lo0_alias4="inet 209.16.8.87 netmask 0xffffff00"
> ifconfig_lo0_alias5="inet 209.16.8.122 netmask 0xffffff00"
> ifconfig_lo0_alias6="inet 209.16.8.10 netmask 0xffffff00"
> ifconfig_lo0_alias7="inet 209.16.8.102 netmask 0xffffff00"
> ifconfig_lo0_alias8="inet 209.16.8.206 netmask 0xffffff00"
> 
> the rc.network code reads these and does the ifconfig lines automatically.

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??




-- 
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?19991111142009.Y393>