Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2018 05:43:21 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Grzegorz Junka <list1@gjunka.com>, freebsd-net@freebsd.org
Subject:   Re: Incorrect route interface
Message-ID:  <5AA45F89.7090800@grosbein.net>
In-Reply-To: <9dd657bc-ad58-f5cb-327a-572a561f1d6b@gjunka.com>
References:  <9dd657bc-ad58-f5cb-327a-572a561f1d6b@gjunka.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5AA45F89.7090800>