Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2008 19:25:57 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Vyacheslav Bocharov <adeepv@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re[2]: strange problem with ifconfig alias
Message-ID:  <20081212192435.L97918@maildrop.int.zabbadoz.net>
In-Reply-To: <566611296.20081212205648@gmail.com>
References:  <80861bfa0812110629h70527769w5e29f9acd7d0a5cd@mail.gmail.com> <20081212181246.GG34842@funkthat.com> <566611296.20081212205648@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 12 Dec 2008, Vyacheslav Bocharov wrote:

Hi,

>>> root@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@chip# ifconfig |grep 195.3.245.
> root@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.



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