From owner-freebsd-questions Thu Jul 31 08:27:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA15388 for questions-outgoing; Thu, 31 Jul 1997 08:27:58 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA15371 for ; Thu, 31 Jul 1997 08:27:51 -0700 (PDT) Received: (from nadav@localhost) by gatekeeper.barcode.co.il (8.8.5/8.6.12) id SAA19741; Thu, 31 Jul 1997 18:26:30 +0300 (IDT) Date: Thu, 31 Jul 1997 18:26:30 +0300 (IDT) From: Nadav Eiron To: jasonm@webace.com.au cc: questions@FreeBSD.ORG Subject: Re: Adding IP Addresses In-Reply-To: 14241350220241@argo.net.au Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 31 Jul 1997, Jason McKay wrote: > Having a problem adding IP address aliases for virtual web sites. I add > the line: > > ifconfig_ed0_alias0="inet 203.25.160.156 netmask 255.255.255.0" > > to my /etc/rc.conf (FreeBSD 2.2.2) ... Also add, > > 203.25.160.156 webology.webace.com.au webology > > in my /etc/hosts file. > > Now, strange thing is .. I can ping 203.25.160.156 from all other machines > on our LAN and from another provider.. but I can not ping 203.25.160.156 > from the local console... > > Any Ideas? If it's on the same subnet as the primary address for the interface, use a netmask of all 1's (i.e. 255.255.255.255) for the alias. > > - Jason. > > Nadav