Date: Sat, 2 Jan 2016 14:35:09 +0000 From: Arthur Chance <freebsd@qeng-ho.org> To: Artem Kuchin <artem@artem.ru>, freebsd-questions@freebsd.org Subject: Re: Internal local ip address for host only Message-ID: <5687E01D.1080008@qeng-ho.org> In-Reply-To: <56879844.1030901@artem.ru> References: <56879844.1030901@artem.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/01/2016 09:28, Artem Kuchin wrote: > I have a didicated server inside provider's network. > I have igb0 interface > Now, i need some 10.0.0.x ups for jails, so i configure aliases on igb0 > interface > > inet 10.0.0.1 netmask 0xffffffff broadcast 10.0.0.1 > inet 10.0.0.2 netmask 0xffffffff broadcast 10.0.0.2 > inet 10.0.0.3 netmask 0xffffffff broadcast 10.0.0.3 > > But this is wrong, because there can be another server with the same ips > in the local network and > in fact during boot i get > > Jan 1 16:37:41 omni kernel: arp: 00:25:90:47:4f:9c is using my IP > address 10.0.0.1 on igb0! > > So, how i can i make perfectly virtual nic visible only inside my host? Create a new loopback device: ifconfig lo1 create or to make it happen at boot time, add cloned_interfaces="lo1" to /etc/rc.conf -- Moore's Law of Mad Science: Every eighteen months, the minimum IQ necessary to destroy the world drops by one point.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5687E01D.1080008>