ifconfig alias: File Exists

Marc G. Fournier scrappy at hub.org
Tue Oct 19 12:50:32 PDT 2004


On Tue, 19 Oct 2004, Christian Kratzer wrote:

> 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

Is that new?  You are right, that fixed it, but didn't think I had to do 
that before :(

Thanks ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664


More information about the freebsd-questions mailing list