Re: Incorrect route interface

2018-03-12 Thread Grzegorz Junka
On 12/03/2018 20:13, Rodney W. Grimes wrote: On 12/03/2018 18:04, Rodney W. Grimes wrote: On 11/03/2018 20:57, Marek Zarychta wrote: On Sun, Mar 11, 2018 at 05:46:52PM +, Grzegorz Junka wrote: On 11/03/2018 06:04, Eugene Grosbein wrote: 11.03.2018 7:01, Grzegorz Junka wrote: Just do no

Re: Incorrect route interface

2018-03-12 Thread Rodney W. Grimes
> On 12/03/2018 18:04, Rodney W. Grimes wrote: > >> On 11/03/2018 20:57, Marek Zarychta wrote: > >>> On Sun, Mar 11, 2018 at 05:46:52PM +, Grzegorz Junka wrote: > On 11/03/2018 06:04, Eugene Grosbein wrote: > > 11.03.2018 7:01, Grzegorz Junka wrote: > > > >>> Just do not assign

Re: Incorrect route interface

2018-03-12 Thread Grzegorz Junka
On 12/03/2018 18:04, Rodney W. Grimes wrote: On 11/03/2018 20:57, Marek Zarychta wrote: On Sun, Mar 11, 2018 at 05:46:52PM +, 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

Re: Incorrect route interface

2018-03-12 Thread Rodney W. Grimes
> > On 11/03/2018 20:57, Marek Zarychta wrote: > > On Sun, Mar 11, 2018 at 05:46:52PM +, 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 > > dif

Re: Incorrect route interface

2018-03-11 Thread Grzegorz Junka
On 11/03/2018 20:57, Marek Zarychta wrote: On Sun, Mar 11, 2018 at 05:46:52PM +, 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 w

Re: Incorrect route interface

2018-03-11 Thread Marek Zarychta
On Sun, Mar 11, 2018 at 05:46:52PM +, 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

Re: Incorrect route interface

2018-03-11 Thread Grzegorz Junka
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

Re: Incorrect route interface

2018-03-10 Thread Eugene Grosbein
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

Re: Incorrect route interface

2018-03-10 Thread Grzegorz Junka
On 10/03/2018 22:43, Eugene Grosbein wrote: 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 n

Re: Incorrect route interface

2018-03-10 Thread Eugene Grosbein
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 networ

Incorrect route interface

2018-03-10 Thread Grzegorz Junka
Hi All, I have 2 NICs, one built-in with two ports em0 and em1 and one PCI card with 4 ports igb0-3. Only em0 is connected to the router. Then igb0 is connected to another system which isn't connected anywhere. FreeBSD somehow insists on directing all traffic through igb0 rather than em0. ne