Internal local ip address for host only

Artem Kuchin artem at artem.ru
Sat Jan 2 18:19:26 UTC 2016


02.01.2016 17:35, Arthur Chance пишет:
> 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
>
>

Thank you. Done it this way. Works fine.


More information about the freebsd-questions mailing list