[<prev] [next>] [day] [month] [year] [list]
Message-ID: <46D058D8.3030206@gmx.net>
Date: Sat, 25 Aug 2007 18:29:12 +0200
From: Martin von Gagern <Martin.vGagern@....net>
To: netdev@...r.kernel.org
Subject: iproute2: no error messages for unsupported table requests
Hi!
A while ago I've tried to configure multiple routing tables using
iproute2-2.6.20. As my kernel at that time was configured without
CONFIG_IP_MULTIPLE_TABLES this could not work. However, I got no error
message from the ip command, the route was added to the main table, and
it took me quite a while to locate the error.
From what a quick diff to 2.6.22 tells me, there seems to be no change
addressing the issue, so I guess the same would hold for that version.
Originally I had reported this issue with my distro, Gentoo:
http://bugs.gentoo.org/show_bug.cgi?id=181928
Now a Gentoo dev directed me towards this list here.
There I also posted the steps I used to reproduce the issue:
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
I now have resolved the issue for me by reconfiguring my kernel, but you
could probably save others some trouble by generating an error message
in case the kernel doesn't support multiple tables.
Greetings,
Martin von Gagern
Download attachment "signature.asc" of type "application/pgp-signature" (253 bytes)
Powered by blists - more mailing lists