ifconfig alias: File Exists

Christian Kratzer ck-lists at cksoft.de
Tue Oct 19 12:44:31 PDT 2004


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 at cksoft.de
CK Software GmbH                        http://www.cksoft.de/
Phone: +49 7452 889 135                 Fax: +49 7452 889 136


More information about the freebsd-questions mailing list