From owner-freebsd-stable Thu Nov 11 12:20:40 1999 Delivered-To: freebsd-stable@freebsd.org Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.28]) by hub.freebsd.org (Postfix) with ESMTP id E9EA714F50 for ; Thu, 11 Nov 1999 12:20:28 -0800 (PST) (envelope-from fullermd@futuresouth.com) Received: (from fullermd@localhost) by shell.futuresouth.com (8.9.3/8.9.3) id OAA25503; Thu, 11 Nov 1999 14:20:10 -0600 (CST) Date: Thu, 11 Nov 1999 14:20:10 -0600 From: "Matthew D. Fuller" To: "Jeffrey J. Libman" Cc: Wayne M Barnes , FreeBSD Stable Subject: Re: Help with ifconfig Message-ID: <19991111142009.Y393@futuresouth.com> References: <199911110440.WAA01899@klentaq.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: X-OS: FreeBSD Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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