Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 21:44:22 +0200 (CEST)
From:      Christian Kratzer <ck-lists@cksoft.de>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ifconfig alias: File Exists
Message-ID:  <20041019214157.Y88138@vesihiisi.cksoft.de>
In-Reply-To: <20041019162521.N98762@ganymede.hub.org>
References:  <20041019162521.N98762@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Tue, 19 Oct 2004, Marc G. Fournier wrote:

>
> Why would I be getting:
>
> # ifconfig fxp0 alias 200.46.204.9
> ifconfig: ioctl (SIOCAIFADDR): File exists
>
> when I know for a fact that it hasn't been configured?

you should use a netmask of 255.255.255.255 for ipv4 aliases.

 	ifconfig fxp0 alias 200.46.204.9 netmask 255.255.255.255

Greetings
Christian

-- 
Christian Kratzer                       ck@cksoft.de
CK Software GmbH                        http://www.cksoft.de/
Phone: +49 7452 889 135                 Fax: +49 7452 889 136



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