Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 1997 10:10:34 -0800 (PST)
From:      Dan Busarow <dan@dpcsys.com>
To:        Michael Ryan <mike@NetworX.ie>
Cc:        FreeBSD Support <questions@freebsd.org>
Subject:   Re: Aliasing an IP address on 2.1R
Message-ID:  <Pine.UW2.3.95.970402100855.15950E-100000@cedb>
In-Reply-To: <ECS9704021253C@NetworX.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2 Apr 1997, Michael Ryan wrote:
> #  ifconfig  ep0
> ep0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>          inet 194.9.12.4 netmask 0xffffff00 broadcast 194.9.12.255
>          ether 00:00:c0:a3:5c:2d
> #  ifconfig  ep0  alias  10.1.0.4  netmask  255.255.255.255

The ifconfig alias only needs a netmask of 255.255.255.255 when the
real address and the alias are in the same network.

Use a netmask of 255.255.0.0 for the alias.

Dan
-- 
 Dan Busarow                                                  714 443 4172
 DPC Systems / Beach.Net                                    dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.UW2.3.95.970402100855.15950E-100000>