[LARTC] Routing based on fwmark

Linux Advanced Routing and Traffic Control

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

 



I'm having trouble routing on high fwmarks, I want to use a lot of different marks for 2 routes so that I can QoS based on the marks
ip rule looks like this:


0:      from all lookup local
32751:  from all fwmark       31 lookup dslout
32752:  from all fwmark       30 lookup dslout
32753:  from all fwmark       29 lookup dslout
32754:  from all fwmark       28 lookup dslout
32755:  from all fwmark       27 lookup dslout
32756:  from all fwmark       26 lookup dslout
32757:  from all fwmark       25 lookup dslout
32758:  from all fwmark       24 lookup dslout
32759:  from all fwmark       21 lookup dslout
32760:  from all fwmark       11 lookup dslout
32761:  from all fwmark       10 lookup fibout
32762:  from all fwmark        8 lookup dslout
32763:  from all fwmark        7 lookup fibout
32764:  from all fwmark        2 lookup dslout
32765:  from all fwmark        1 lookup fibout
32766:  from all lookup main
32767:  from all lookup default


now when I mark say web traffic with 8 or 2 it goes to the dslout table, but if I use 11 or 21 it doesn't. I guess I've a limited number of marks to play with?



kernel 2.4.20, iptables 1.2.7.a with wrr and imq



Thanks _____________________________________________________________ David Watson, Network Manager, Team17 Software Ltd. Phone: +44-1924-267776 Fax: +44-1924-267658 _____________________________________________________________



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