Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 1997 18:26:30 +0300 (IDT)
From:      Nadav Eiron <nadav@barcode.co.il>
To:        jasonm@webace.com.au
Cc:        questions@FreeBSD.ORG
Subject:   Re: Adding IP Addresses
Message-ID:  <Pine.BSF.3.91.970731182524.19683A-100000@gatekeeper.barcode.co.il>
In-Reply-To: 14241350220241@argo.net.au

next in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970731182524.19683A-100000>