Date: Fri, 12 Dec 2008 10:12:46 -0800 From: John-Mark Gurney <jmg@funkthat.com> To: Vyacheslav Bocharov <adeepv@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: strange problem with ifconfig alias Message-ID: <20081212181246.GG34842@funkthat.com> In-Reply-To: <80861bfa0812110629h70527769w5e29f9acd7d0a5cd@mail.gmail.com> References: <80861bfa0812110629h70527769w5e29f9acd7d0a5cd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Vyacheslav Bocharov wrote this message on Thu, Dec 11, 2008 at 16:29 +0200: > I have strange problem with ifconfig: I can't add ip address to interface: Have you followed the instructions in the handbook: http://www.freebsd.org/doc/en/books/handbook/configtuning-virtual-hosts.html > 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 Next time include ifconfig -a so we know what addresses and interfaces you have. Makes diagnostics easier. P.S. This question is better targeted to -questions. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081212181246.GG34842>