Skip to contentSkip to conversation

[ ] IProute2 error ..

LARTC Rio Martin. 3 participants 5 messages Mar 28, 2006 – Mar 29, 2006

lore
Share & tools
lore
#0 lore raw

Dear all,
I am having problem using iproute2 on my new Slackware 10.1 box. Here goes the problem:

root@localhost:~# echo "200 DOONET" >> /etc/iproute2/rt_tables
root@localhost:~# cat /etc/iproute2/rt_tables
#
# reserved values
#
255     local
254     main
253     default
0       unspec
#
# local
#
#1      inr.ruhep
200 DOONET
root@localhost:~# ip rule add from 10.255.255.0/24 table DOONET
RTNETLINK answers: Invalid argument

Weird ..
i never experienced any problem like this in another box.

Please help, thanks ..

- Rio.Martin -

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw
Quoted 4 lines · Rio Martin.

Dear all,
I am having problem using iproute2 on my new Slackware 10.1 box. Here goes the problem:

Quoted 16 lines
root@localhost:~# echo "200 DOONET" >> /etc/iproute2/rt_tables
root@localhost:~# cat /etc/iproute2/rt_tables
#
# reserved values
#
255     local
254     main
253     default
0       unspec
#
# local
#
#1      inr.ruhep
200 DOONET
root@localhost:~# ip rule add from 10.255.255.0/24 table DOONET
RTNETLINK answers: Invalid argument

Try

  # ip rule add from 10.255.255.0/24 table 200
 instead of above.

It should work with numbers.

Quoted 8 lines

Weird ..
i never experienced any problem like this in another box.

Please help, thanks ..

- Rio.Martin -

Signature · 9 lines
  _,-=._              /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
     `._ _,-.   )      _,.-'
        `    G.m-"^m`m'        Dmytro O. Redchuk

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#4 lore raw
In reply to Rio Martin.

Thank you.
It solved..

- Rio.Martin -

Quoted 6 lines · Wolfgang Karall
Quoted 4 lines · Rio Martin.

Nope .. it still didnt worked.

root@localhost:/# ip rule add from 10.255.255.0/24 table 200
RTNETLINK answers: Invalid argument
Quoted 8 lines

Does your kernel support Policy Routing (CONFIG_IP_MULTIPLE_TABLES)?

Regards
WK
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc