Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2002 22:00:51 -0400
From:      Chris Faulhaber <jedgar@fxp.org>
To:        Rob Vella <unixguy09@msn.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Ifconfig Aliasing Problem - 4.6
Message-ID:  <20020710020051.GA28023@peitho.fxp.org>
In-Reply-To: <F294eYFUW8FSJ17JyHe0001a049@hotmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Wed, Jul 10, 2002 at 01:21:21AM +0000, Rob Vella wrote:
> I'm having trouble adding an alias to my Intel Etherexpress Pro (fxp0). 
> Here is the exact output:
> 
> root$ /sbin/ifconfig fxp0 inet 204.212.36.170 netmask 255.255.255.0 
> broadcast 204.212.36.255 alias
> ifconfig: ioctl (SIOCAIFADDR): File exists
> root$
> 

Use the correct netmask; from ifconfig(8):

     alias   Establish an additional network address for this interface.  This
             is sometimes useful when changing network numbers, and one wishes
             to accept packets addressed to the old interface.  If the address
             is on the same subnet as the first network address for this
             interface, a non-conflicting netmask must be given.  Usually
             0xffffffff is most appropriate.

-- 
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
Comment: FreeBSD: The Power To Serve

iD8DBQE9K5VTObaG4P6BelARArm7AJ9kcBy+fpg7YL+3E7hav6jOrYkBpACgoR/u
OdBKNA9J9RRuQjXqzVMZdxQ=
=OT4X
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020710020051.GA28023>