netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IPv6 multiple routing tables - all routes were added to main table
@ 2014-01-28  9:38 Asi Lichtenstein
  2014-01-29 23:17 ` Ben Greear
  0 siblings, 1 reply; 2+ messages in thread
From: Asi Lichtenstein @ 2014-01-28  9:38 UTC (permalink / raw)
  To: netdev

Hi there,

I'm using an old kernel 2.6.16 where i applied this patchset:
http://thread.gmane.org/gmane.linux.network/41149/focus=41150

i was able to create new table but all routes I've added to specific
table were added to main table.

please see output:

# ip -6 rule
0:      from all vrf 0 lookup local
16383:  from all iif eth0 vrf 0 lookup 3
16383:  from all iif eth1 vrf 0 lookup 5
32766:  from all vrf 0 lookup main

# ip -6 route show
2050:: dev eth0  proto static  metric 10  expires 2132979sec mtu 1500
advmss 1440 metric10 4294967295
2050:: dev eth1  proto static  metric 10  expires 2132996sec mtu 1500
advmss 1440 metric10 4294967295
unreachable default dev lo  proto none  metric -1  error -128 metric10 255
unreachable default dev lo  proto none  metric -1  error -128 metric10 255
unreachable default dev lo  proto none  metric -1  error -128 metric10 255
2000::/64 dev eth0.1  metric 256  expires 2132967sec mtu 1500 advmss
1440 metric10 4294967295
2000::/64 dev eth0  metric 256  expires 2132978sec mtu 1500 advmss
1440 metric10 4294967295
fe80::/64 dev eth0  metric 256  expires 2132960sec mtu 1500 advmss
1440 metric10 4294967295
fe80::/64 dev eth1  metric 256  expires 2132960sec mtu 1500 advmss
1440 metric10 4294967295
fe80::/64 dev eth0.4001  metric 256  expires 2132960sec mtu 1500
advmss 1440 metric10 4294967295
fe80::/64 dev eth0.1  metric 256  expires 2132961sec mtu 1500 advmss
1440 metric10 4294967295
unreachable default dev lo  proto none  metric -1  error -128 metric10 255
ff00::/8 dev eth1  metric 256  expires 2132960sec mtu 1500 advmss 1440
metric10 4294967295
ff00::/8 dev eth0.4001  metric 256  expires 2132960sec mtu 1500 advmss
1440 metric10 4294967295
ff00::/8 dev eth0  metric 256  expires 2132960sec mtu 1500 advmss 1440
metric10 4294967295
ff00::/8 dev eth0.1  metric 256  expires 2132961sec mtu 1500 advmss
1440 metric10 4294967295
unreachable default dev lo  proto none  metric -1  error -128 metric10 255


Does anyone know if adding route to specific table should be working
after applying this patch?

10x

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

* Re: IPv6 multiple routing tables - all routes were added to main table
  2014-01-28  9:38 IPv6 multiple routing tables - all routes were added to main table Asi Lichtenstein
@ 2014-01-29 23:17 ` Ben Greear
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Greear @ 2014-01-29 23:17 UTC (permalink / raw)
  To: Asi Lichtenstein; +Cc: netdev

On 01/28/2014 01:38 AM, Asi Lichtenstein wrote:
> Hi there,
> 
> I'm using an old kernel 2.6.16 where i applied this patchset:
> http://thread.gmane.org/gmane.linux.network/41149/focus=41150
> 
> i was able to create new table but all routes I've added to specific
> table were added to main table.

No idea if your patches will work on that ancient kernel.  Did you update
your ip tool as well?

try:  ip route show table X

and show us what commands you used to try to add the routes to a specific
table?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

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

end of thread, other threads:[~2014-01-29 23:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-28  9:38 IPv6 multiple routing tables - all routes were added to main table Asi Lichtenstein
2014-01-29 23:17 ` Ben Greear

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).