From owner-freebsd-questions Tue Sep 18 8: 2:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ipperformance.com (ipperf.com [206.225.36.162]) by hub.freebsd.org (Postfix) with ESMTP id 2724837B40A for ; Tue, 18 Sep 2001 08:02:05 -0700 (PDT) Received: from ipperformance.com ([172.17.3.7]) by ipperformance.com (8.9.3/8.9.3) with ESMTP id KAA05514; Tue, 18 Sep 2001 10:01:31 -0500 (CDT) (envelope-from matt@ipperformance.com) Message-ID: <3BA762F1.9BFDC8C6@ipperformance.com> Date: Tue, 18 Sep 2001 10:06:25 -0500 From: Matt Finlay X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Brent Cc: Brent@SpiritRising.TV, questions@FreeBSD.ORG Subject: Re: Adding IP Addresses to a FreeBSD box References: <20010918143959.35134.qmail@web20502.mail.yahoo.com> <002701c14051$1d63e860$21b4a8c0@pretorian> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG if you are trying to get one interface to handle multiple ip addresses than you need to configure each additional ip address as an alias. you can do this by the command line or in /etc/rc.conf: by the command line: ifconfig ed1 10.0.1.150 netmask 255.255.255.0 alias in /etc/rc.conf: if this is your first interface... ifconfig_ed1="inet 192.168.0.5 netmask 255.255.255.0" this is how you can create an alias. ifconfig_ed1_alias0="inet 192.168.0.6 netmask 255.255.255.0" if you do a 'man rc.conf' you can get more information Brent wrote: > go to /etc/rc.conf you can change the IP there by doing something > > ifconfig_ed1="inet 192.168.0.5 netmask 255.255.255.0" > > ed1 is what your ethernet device name is. > > B > > ----- Original Message ----- > From: "Brent N. Hunter" > To: > Sent: Tuesday, September 18, 2001 10:39 AM > Subject: Adding IP Addresses to a FreeBSD box > > > Do you know what file or files need to be changed to > > get a new IP address onto a FreeBSD box? (to host web > > pages on multiple domains) > > > > Thank you! > > > > Brent > > > > > > ===== > > Brent N. Hunter, President > > Spirit Rising Productions > > http://www.spiritrising.tv > > Email: Brent@SpiritRising.TV > > Personal Web: http://www.the-park.com/brent.htm > > Office: 415-701-7779, FAX: 415-626-9989 > > > > > > __________________________________________________ > > Terrorist Attacks on U.S. - How can you help? > > Donate cash, emergency relief information > > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message