Incorrect route interface
Marek Zarychta
zarychtam at plan-b.pwste.edu.pl
Sun Mar 11 20:57:43 UTC 2018
On Sun, Mar 11, 2018 at 05:46:52PM +0000, Grzegorz Junka wrote:
>
> 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)?
>
Please consider bonding all NICs as one bridge(4) interface. Then
multiple IPs could be assigned to such interface.
--
Marek Zarychta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20180311/0df90126/attachment.sig>
More information about the freebsd-net
mailing list