strange problem with ifconfig alias
John-Mark Gurney
jmg at funkthat.com
Fri Dec 12 10:47:26 PST 2008
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 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
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."
More information about the freebsd-net
mailing list