Skip to contentSkip to conversation

Routing - new table

LARTC Catalin Bucur 1 participant 1 message Jun 8, 2004

lore
Share & tools
lore
#0 lore raw

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
--------------------------------------
Signature · 7 lines
Catalin Bucur      mailto:[email protected]
NOC @ Genius Network SRL - Galati - Romania


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/