[LARTC] Routing - new table

Catalin Bucur cata@geniusnet.ro
Tue, 08 Jun 2004 17:30:46 +0300


Hello,

I have tested a simple thing in two version of Linux and there was a 
problem when I have used fwmark as a selector for rule lookups. As you 
can see below on the Slack, the <test> table doesn't have any label 
about fwmark. Is there an iproute problem?

--------------------------------------
# cat /etc/fedora-release
Fedora Core release 2 (Tettnang)
# uname -r
2.6.5-1.358
# rpm -qa|grep iproute
iproute-2.4.7-14
# cat /etc/iproute2/rt_tables
5 test
# ip rule add fwmark 5 table 5
# ip ru sh
0:      from all lookup local
32765:  from all fwmark 0x5 lookup test
32766:  from all lookup main
32767:  from all lookup default
--------------------------------------
# cat /etc/slackware-version
Slackware 8.1
# uname -r
2.4.26
# ls iproute*
iproute2-2.4.7-now-ss020116-try.tar.gz
# cat /etc/iproute2/rt_tables
255     local
254     main
253     default
0       unspec
5 test
# ip rule add fwmark 5 table 5
# ip ru sh
0:      from all lookup local
32765:  from all lookup test
32766:  from all lookup main
32767:  from all lookup default
--------------------------------------


-- 
Catalin Bucur      mailto:cata@geniusnet.ro
NOC @ Genius Network SRL - Galati - Romania