From owner-freebsd-questions Fri Jul 7 12:32:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pop.wilkshire.net (mail.wilkshire.net [207.206.44.15]) by hub.freebsd.org (Postfix) with SMTP id D364737BF4E for ; Fri, 7 Jul 2000 12:32:54 -0700 (PDT) (envelope-from jeff@wilkshire.net) Received: (qmail 20519 invoked from network); 7 Jul 2000 19:52:58 -0000 Received: from jeff.noc.wilkshire.net (HELO graphics1) (207.57.128.5) by mail.wilkshire.net with SMTP; 7 Jul 2000 19:52:58 -0000 Message-ID: <000501bfe849$35c19940$058039cf@noc.wilkshire.net> From: "Jeff" To: Subject: Multiple Ip Addresses on single Nic Date: Fri, 7 Jul 2000 15:26:11 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I was wondering if anyone could help with a question concerning a virtual hosting server I am creating with FreeBSD 4.0 I wish to add multiple Ip Addresses to a single nic card for virtual hosting services. In the past I have used the following with no problem: (Note that I am substituting my real ip addresses with fake ones) /etc/rc.conf entry ifconfig fxp0 inet 192.168.10.5 netmask 255.255.255.0 ifconfig fxp0 inet 192.168.10.6 netmask 255.255.255.255 alias route add -host 192.168.10.6 127.0.0.1 0 (note the last "0" on 127.0.0.1 0 is the metric hop count) this should allow my server to host both 192.168.10.5 and .6 on the interface fxp0 however, when I restart my server, I get an error saying that 127.0.0.1 exists and does not load the secondary alias entry. any ideas? or does anyone currently do virtual hosting with FreeBSD 4.0 with multiple real ip's on a single interface that can point me in the right direction? thank you Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message