netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IPV6 routing problem
@ 2014-01-22  1:41 Sharat Masetty
  2014-01-22  7:07 ` Hannes Frederic Sowa
  0 siblings, 1 reply; 9+ messages in thread
From: Sharat Masetty @ 2014-01-22  1:41 UTC (permalink / raw)
  To: netdev

 I have an IPV6 routing problem that has only surfaced on a 3.10
kernel version. This problem is not seen on 3.4 kernel. I will keep
the problem statement as brief as possible.

I have two interfaces say eth0 and eth1. I have a host route to a
destination over eth1, but this route has a global gateway
address(via) of the router on the link. When this global gateway is
present in the route, the kernel does not seem to pick up the route,
but falls back to the default route which is eth0. When this gateway
is removed from the route or if the gateway is changed to a link local
address of the router, instead of the global address, then routing
seems to work as expected and kernel picks up interface eth1.

== does not work ==
<dest-addr> via <global scope -gateway addr>dev eth1 metric 1024
<global scope -gateway addr> dev eth1  metric 1024

I checked the git commits diff between 3.4 and 3.10 for ipv6/route.c
and ipv6/ip6_fib.c, but looks like they are close to an year apart
with lots of changes. Hence I wanted to reach out to you to see if any
recent changes in IPV6 routing is causing this difference in behavior.

Any help would be greatly appreciated.

Thanks
Sharat

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-01-26 13:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-22  1:41 IPV6 routing problem Sharat Masetty
2014-01-22  7:07 ` Hannes Frederic Sowa
2014-01-22  7:11   ` Hannes Frederic Sowa
2014-01-23  7:15     ` Sharat Masetty
2014-01-24  9:36       ` Emmanuel Thierry
2014-01-24 13:59         ` Hannes Frederic Sowa
2014-01-24 18:50           ` Sharat Masetty
2014-01-24 20:05             ` Cong Wang
2014-01-26 13:57               ` Rami Rosen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).