strange problem with ifconfig alias
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Fri Dec 12 11:30:09 PST 2008
On Fri, 12 Dec 2008, Vyacheslav Bocharov wrote:
Hi,
>>> root at chip# ifconfig em1 alias 195.3.245.xx/30
>>> ifconfig: ioctl (SIOCAIFADDR): File exists
>
>> If there is already an ip in that range on the interface, you need to use:
>> ifconfig em1 alias 195.3.245.xx/32
> There are no other ip on any interfaces in that range
>
>> Next time include ifconfig -a so we know what addresses and interfaces
>> you have. Makes diagnostics easier.
> I have included in mail:
>
> root at chip# ifconfig |grep 195.3.245.
> root at chip#
which freebsd version are you using?
/bz
PS: parameters like alias belong to the end of the command (but that
won't help you; just the general advise).
--
Bjoern A. Zeeb The greatest risk is not taking one.
More information about the freebsd-net
mailing list