Date: Sun, 11 Mar 2018 17:46:52 +0000 From: Grzegorz Junka <list1@gjunka.com> To: freebsd-net@freebsd.org Subject: Re: Incorrect route interface Message-ID: <789ff583-7995-75ce-94c8-9e2fe8b17488@gjunka.com> In-Reply-To: <5AA4C6E3.2050909@grosbein.net> References: <9dd657bc-ad58-f5cb-327a-572a561f1d6b@gjunka.com> <5AA45F89.7090800@grosbein.net> <21e1b380-4d4a-cd26-5694-fac51cc0dfa2@gjunka.com> <5AA4C6E3.2050909@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/03/2018 06:04, Eugene Grosbein wrote: > 11.03.2018 7:01, Grzegorz Junka wrote: > >>> 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" > Interfaces meant to be all equal, last line should be: > > ifconfig_em0_alias1="inet 10.20.2.16/32" > OK, I see. So this is in case I want many IPs assigned to the same interface. What if I want one IP assigned to multiple interfaces (i.e. so that the additional igb0-3 effectively work as a 4-port switch)?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?789ff583-7995-75ce-94c8-9e2fe8b17488>