Routing - new table

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx NOC @ Genius Network SRL - Galati - Romania


_______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux