From owner-freebsd-stable Thu Jan 20 0:23:27 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mail.nyct.net (bsd4.nyct.net [204.141.86.6]) by hub.freebsd.org (Postfix) with ESMTP id BB1A1153A3 for ; Thu, 20 Jan 2000 00:23:24 -0800 (PST) (envelope-from efutch@nyct.net) Received: from bsd1.nyct.net (efutch@bsd1.nyct.net [204.141.86.3]) by mail.nyct.net (8.8.8/8.8.7) with ESMTP id DAA22153; Thu, 20 Jan 2000 03:23:18 -0500 (EST) (envelope-from efutch@nyct.net) Date: Thu, 20 Jan 2000 03:23:18 -0500 (EST) From: "Eric D. Futch" To: Kai Voigt Cc: Jim Manley , freebsd-stable@FreeBSD.ORG Subject: Re: Multiple IP addresses In-Reply-To: <20000120082732.V78143@abc.123.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 20 Jan 2000, Kai Voigt wrote: >And to get all this done automatically at boot time, add this >to your /etc/rc.conf > >network_interfaces="de0 lo0" # List of network interfaces (lo0 is loopback). >ifconfig_de0="inet 195.244.241.123 netmask 255.255.255.0" >ifconfig_de0_alias0="inet 195.244.241.124 netmask 255.255.255.255" >ifconfig_de0_alias1="inet 195.244.241.125 netmask 255.255.255.255" >ifconfig_de0_alias2="inet 195.244.241.126 netmask 255.255.255.255" >ifconfig_de0_alias3="inet 195.244.241.127 netmask 255.255.255.255" >ifconfig_de0_alias4="inet 195.244.241.128 netmask 255.255.255.255" > Or you could take advantage of that neat little thing in rc.network that runs /etc/start_if. for you. This is what I do on all my boxes. I stuff all my aliases into /etc/start_if.fxp0 so I don't have to overload rc.conf (it's overloaded enough already :)). Relevant lines from /etc/rc.network (starts line #57 rc.network version 1.39.2.14): ... for ifn in ${network_interfaces}; do showstat=false if [ -e /etc/start_if.${ifn} ]; then . /etc/start_if.${ifn} showstat=true fi ... Just something to consider. >Kai Eric >PS: People, please learn to quote, thank you. Ok. >-- >kai voigt hamburger chaussee 36 > 24113 kiel > 04 31 - 22 19 98 69 > http://k.123.org/ -- Eric Futch New York Connect.Net, Ltd. efutch@nyct.net Technical Support Staff http://www.nyct.net (212) 293-2620 "Bringing New York The Internet Access It Deserves" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message