ifconfig alias: File Exists

Marc G. Fournier scrappy at hub.org
Tue Oct 19 12:44:01 PDT 2004


On Tue, 19 Oct 2004, Kevin Glick wrote:

>> -----Original Message-----
>> From: owner-freebsd-questions at freebsd.org
>> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of
>> Marc G. Fournier
>> Sent: Tuesday, October 19, 2004 12:28 PM
>> To: freebsd-questions at freebsd.org
>> Subject: ifconfig alias: File Exists
>>
>>
>> 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?
>>
>> # ping 200.46.204.9
>> PING 200.46.204.9 (200.46.204.9): 56 data bytes
>> ^C
>> --- 200.46.204.9 ping statistics ---
>> 1 packets transmitted, 0 packets received, 100% packet loss
>>
>> there is nothing even in my arp cache:
>>
>> # arp -a | grep "(200.46.204.9)"
>> # arp -a | grep "(200.46.204.91)"
>> zer01.net (200.46.204.91) at 00:e0:81:21:d7:f6 on fxp0 [ethernet]
>>
>> ----
>> Marc G. Fournier           Hub.Org Networking Services
>> (http://www.hub.org)
>> Email: scrappy at hub.org           Yahoo!: yscrappy
>>  ICQ: 7615664
>
> What does the output of "ifconfig fxp0" show before you try the alias?

# ifconfig fxp0
fxp0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
         inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
         inet 200.46.204.4 netmask 0xffffff00 broadcast 200.46.204.255
         inet 200.46.204.13 netmask 0xffffffff broadcast 200.46.204.13
         inet 200.46.204.144 netmask 0xffffffff broadcast 200.46.204.144
         inet 200.46.204.107 netmask 0xffffffff broadcast 200.46.204.107
         inet 200.46.204.115 netmask 0xffffffff broadcast 200.46.204.115
         inet 200.46.204.200 netmask 0xffffffff broadcast 200.46.204.200
         inet 200.46.204.114 netmask 0xffffffff broadcast 200.46.204.114
         inet 200.46.204.108 netmask 0xffffffff broadcast 200.46.204.108
         inet 200.46.204.113 netmask 0xffffffff broadcast 200.46.204.113
         inet 200.46.204.72 netmask 0xffffffff broadcast 200.46.204.72
         inet 200.46.204.83 netmask 0xffffffff broadcast 200.46.204.83
         inet 200.46.204.238 netmask 0xffffffff broadcast 200.46.204.238
         inet 200.46.204.185 netmask 0xffffffff broadcast 200.46.204.185
         inet 200.46.204.150 netmask 0xffffffff broadcast 200.46.204.150
         inet 200.46.204.244 netmask 0xffffffff broadcast 200.46.204.244
         inet 200.46.204.170 netmask 0xffffffff broadcast 200.46.204.170
         inet 200.46.204.109 netmask 0xffffffff broadcast 200.46.204.109
         ether 00:03:47:bd:67:66
         media: Ethernet autoselect (100baseTX <full-duplex>)
         status: active


----
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