LARTC
[Top] [All Lists]

[LARTC] [BUG?] ip ru flush && RTNETLINK answers: Numerical result out of

To: lartc@mailman.ds9a.nl
Subject: [LARTC] [BUG?] ip ru flush && RTNETLINK answers: Numerical result out of range
From: Luciano Ruete <luciano@lugmen.org.ar>
Date: Mon, 19 Mar 2007 00:46:46 -0300
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: KMail/1.9.5
After an: 
# ip ru flush
I loose all my ip rules but the priority 0 one. 
root@sarasvati:~# ip ru
0:      from all lookup 255
root@sarasvati:~#  

Ok with that, but now i'm not able to insert any new rule.
This leads to a total loose of conectivity.

root@sarasvati:~# ip ru add from all table default
RTNETLINK answers: Numerical result out of range
root@sarasvati:~# ip ru add from all lookup main
RTNETLINK answers: Numerical result out of range

Even seting the priority value by hand, i got the same error:

root@sarasvati:~# ip ru add from all lookup main priority 32766
RTNETLINK answers: Numerical result out of range

To be able to send this e-mail without rebooting i had to insert my gw ip 
routes in table 255.

Is this a bug in iproute?

Some adiotional data:
# ip -V
ip utility, iproute2-ss060323
# uname -a
Linux sarasvati 2.6.20-5-386 #2 Sat Jan 6 14:44:57 UTC 2007 i686 GNU/Linux
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.04
DISTRIB_CODENAME=feisty
DISTRIB_DESCRIPTION="Ubuntu feisty (development branch)"
-- 
Luciano
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>