Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 181928

Summary: sys-apps/iproute2-2.6.20.20070313: ip route table argument without effect
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
URL: http://lartc.org/howto/lartc.rpdb.multiple-links.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin von Gagern 2007-06-13 17:06:44 UTC
I'm trying to follow the setup described in http://lartc.org/howto/lartc.rpdb.multiple-links.html but I can't add a route to a specific table, it will always be added to the table "main". Feels like a bug in iproute2 to me.

Steps to reproduce:
 ip route add 123.45.67.89 dev ppp0 table 100
 ip route show table 100
 ip route show table main
Expected result:
 route listed in table 100 but not listed in table main
Actual result:
 route listed in table main, table 100 still empty
Comment 1 Martin von Gagern 2007-06-20 18:22:49 UTC
I just found out that I had to set CONFIG_IP_ADVANCED_ROUTER and CONFIG_IP_MULTIPLE_TABLES for my kernel, and after this it works.

Still it feels like an error to silently ignore an unsupported argument; I talked to some debian user and he recalled getting some error message under these circumstances.
Comment 2 SpanKY gentoo-dev 2007-08-25 16:40:47 UTC
please send an e-mail to netdev@vger.kernel.org as they would be the people who could give you real information