Incorrect route interface
Eugene Grosbein
eugen at grosbein.net
Sat Mar 10 22:43:50 UTC 2018
11.03.2018 5:01, Grzegorz Junka wrote:
> In rc.conf I have:
>
> hostname="some.server.com"
> ifconfig_em0="inet 10.20.2.14 netmask 255.255.0.0"
> ifconfig_em1="inet 10.20.2.15 netmask 255.255.0.0"
> ifconfig_igb0="inet 10.20.2.16 netmask 255.255.0.0"
Just do not assign addresses from same network 10.20.0.0/16 to different network interfaces
and you will be fine. Assign them all to right interface:
ifconfig_em0="inet 10.20.2.14 netmask 255.255.0.0"
ifconfig_em0_alias0="inet 10.20.2.15/32"
ifconfig_igb0_alias0="inet 10.20.2.16/32"
Do not try to use several physical network cards to connect hosts using just one IP network
as generally each card/interface needs distinct IP network to work flawlessly.
More information about the freebsd-net
mailing list