Internal local ip address for host only

Marko Turk markoml at markoturk.info
Sat Jan 2 10:39:52 UTC 2016


On Sat, Jan 02, 2016 at 12:28:36PM +0300, 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?
> 

Hi,

add aliases to lo0 or maybe use epair(4).

BR,
Marko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160102/669567b7/attachment.sig>


More information about the freebsd-questions mailing list