Re: Q: bad routing table cache entries

2016-01-04 Thread Stas Sergeev
04.01.2016 04:05, Sowmini Varadhan пишет: On (12/30/15 15:42), Stas Sergeev wrote: 29.12.2015 18:22, Sowmini Varadhan пишет: Do you have admin control over the ubuntu router? If yes, you might want to check the shared_media [#] setting on that router for the interfaces with overlapping subnets.

Re: Q: bad routing table cache entries

2016-01-03 Thread Stas Sergeev
04.01.2016 04:05, Sowmini Varadhan пишет: On (12/30/15 15:42), Stas Sergeev wrote: 29.12.2015 18:22, Sowmini Varadhan пишет: Do you have admin control over the ubuntu router? If yes, you might want to check the shared_media [#] setting on that router for the interfaces with overlapping subnets.

Re: Q: bad routing table cache entries

2016-01-03 Thread Sowmini Varadhan
On (12/30/15 15:42), Stas Sergeev wrote: > 29.12.2015 18:22, Sowmini Varadhan пишет: > > Do you have admin control over the ubuntu router? > > If yes, you might want to check the shared_media [#] setting > > on that router for the interfaces with overlapping subnets. > > (it is on by default, I wo

Re: Q: bad routing table cache entries

2015-12-30 Thread David Miller
From: Eric Dumazet Date: Wed, 30 Dec 2015 09:17:42 -0500 > On Wed, 2015-12-30 at 15:42 +0300, Stas Sergeev wrote: >> 29.12.2015 18:22, Sowmini Varadhan пишет: >> > Do you have admin control over the ubuntu router? >> > If yes, you might want to check the shared_media [#] setting >> > on that rou

Re: Q: bad routing table cache entries

2015-12-30 Thread Eric Dumazet
On Wed, 2015-12-30 at 15:42 +0300, Stas Sergeev wrote: > 29.12.2015 18:22, Sowmini Varadhan пишет: > > Do you have admin control over the ubuntu router? > > If yes, you might want to check the shared_media [#] setting > > on that router for the interfaces with overlapping subnets. > > (it is on by

Re: Q: bad routing table cache entries

2015-12-30 Thread Stas Sergeev
29.12.2015 18:22, Sowmini Varadhan пишет: > Do you have admin control over the ubuntu router? > If yes, you might want to check the shared_media [#] setting > on that router for the interfaces with overlapping subnets. > (it is on by default, I would try turning it off). That didn't help, problem

Re: Q: bad routing table cache entries

2015-12-29 Thread Stas Sergeev
29.12.2015 18:38, Stas Sergeev пишет: > Likely the router's side is doing the right thing, but of Or maybe not? Here's the ifconfig of router: eth0 Link encap:Ethernet HWaddr 00:1e:8c:a7:b5:36 inet addr:192.168.0.220 Bcast:192.168.3.255 Mask:255.255.252.0 eth0:1Link encap:Et

Re: Q: bad routing table cache entries

2015-12-29 Thread Stas Sergeev
29.12.2015 18:22, Sowmini Varadhan пишет: > Do you have admin control over the ubuntu router? > If yes, you might want to check the shared_media [#] setting > on that router for the interfaces with overlapping subnets. > (it is on by default, I would try turning it off). Ahha, good catch, thanks!

Re: Q: bad routing table cache entries

2015-12-29 Thread Sowmini Varadhan
Do you have admin control over the ubuntu router? If yes, you might want to check the shared_media [#] setting on that router for the interfaces with overlapping subnets. (it is on by default, I would try turning it off). AFAICT, the code does the right thing per rfc1812 when setting IPSKB_DORED

Re: Q: bad routing table cache entries

2015-12-29 Thread Stas Sergeev
29.12.2015 13:54, Stas Sergeev пишет: > Hello. > > I was hitting a strange problem when some internet hosts > suddenly stops responding until I reboot. ping to these > host gives "Destination Host Unreachable". After the > initial confusion, I've finally got to > ip route get > and got something q

Re: Q: bad routing table cache entries

2015-12-29 Thread Stas Sergeev
29.12.2015 15:32, Sowmini Varadhan пишет: > On (12/29/15 15:06), Stas Sergeev wrote: >> Router on 192.168.8.1 is just a PC with ubuntu, w/o any special >> software. I'd be very surprised if it does so. As I understand, >> linux would accept such ICMP redirect only from the router, or >> could someo

Re: Q: bad routing table cache entries

2015-12-29 Thread Sowmini Varadhan
On (12/29/15 15:06), Stas Sergeev wrote: > Router on 192.168.8.1 is just a PC with ubuntu, w/o any special > software. I'd be very surprised if it does so. As I understand, > linux would accept such ICMP redirect only from the router, or > could someone else also send them? If someone elase can sp

Re: Q: bad routing table cache entries

2015-12-29 Thread Stas Sergeev
29.12.2015 14:58, Sowmini Varadhan пишет: > On (12/29/15 13:54), Stas Sergeev wrote: >> >> ip route get 91.189.89.238 >> 91.189.89.238 via 192.168.0.1 dev eth0 src 192.168.10.202 >> cache > : >> Now, 192.168.0.1 is also a valid gateway, but it is outside >> of the network mask for th

Re: Q: bad routing table cache entries

2015-12-29 Thread Sowmini Varadhan
On (12/29/15 13:54), Stas Sergeev wrote: > > ip route get 91.189.89.238 > 91.189.89.238 via 192.168.0.1 dev eth0 src 192.168.10.202 > cache : > Now, 192.168.0.1 is also a valid gateway, but it is outside > of the network mask for the eth0 interface: : > So my question is: w

Q: bad routing table cache entries

2015-12-29 Thread Stas Sergeev
Hello. I was hitting a strange problem when some internet hosts suddenly stops responding until I reboot. ping to these host gives "Destination Host Unreachable". After the initial confusion, I've finally got to ip route get and got something quite strange. Example for GOOD address (the one that