From owner-freebsd-bugs Sat Dec 14 01:22:51 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA18040 for bugs-outgoing; Sat, 14 Dec 1996 01:22:51 -0800 (PST) Received: from irz401.inf.tu-dresden.de (irz401.inf.tu-dresden.de [141.76.1.12]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id BAA18035 for ; Sat, 14 Dec 1996 01:22:45 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz401.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA29833; Sat, 14 Dec 1996 10:22:43 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id KAA00572; Sat, 14 Dec 1996 10:22:42 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id KAA24218; Sat, 14 Dec 1996 10:11:01 +0100 (MET) From: J Wunsch Message-Id: <199612140911.KAA24218@uriah.heep.sax.de> Subject: Re: conf/2208: configuring multiple IP addresses To: apatron@optel.net Date: Sat, 14 Dec 1996 10:11:01 +0100 (MET) Cc: bugs@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199612140212.SAA01276@freefall.freebsd.org> from "apatron@optel.net" at "Dec 13, 96 06:12:51 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As apatron@optel.net wrote: > I have currently configured ep0 and lo0 with one IP, how do I add > another IP because I want to host on the same machine multiple > webs.?? Well, you should better have sent this to freebsd-questions@freebsd.org, since it's neither a bug report, nor a request to change something... It's basically documented in the man page for ifconfig(1), and it's also in the FAQ. But i suppose that's why this thing is named FAQ, since the questions are frequently asked, and nobody bothers to read the answers in advance. :-/ 9.8. How can I setup Ethernet aliases? Add ``netmask 0xffffffff'' to your ifconfig command-line like the following: ifconfig ed0 alias 204.141.95.2 netmask 0xffffffff Depending on the version of FreeBSD you're using, there is or is no support for automating this using /etc/sysconfig. Newer versions added the ability to do it there, for older versions, put it into /etc/netstart, or /etc/rc.local manually. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)