Re: Problem with htb and fwmark

Linux Advanced Routing and Traffic Control

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

 



Steen Suder, privat wrote:
Morten Isaksen wrote:

Hi!

I am trying to prioritize udp traffic to satisfy our gamers.


<SNIP>

I can see that the counters in "iptables -t mangle -L -v -n" is counting up,
but the counters in "tc -s class ls dev eth0" is not.


I have also tried not to use fwmark but added the rules directly with "tc
filter...", but with same results...

Have I forgotten something, or what is the problem?


I have the exact same problem here; has anyone found the reason and/or a fix?

I use 2.4.22 here. I worked with 2.4.20.

By some sort of accident I found the cause for the "problem" (here at least):


Make sure that the attached (to the root in case of HTB) filters actually filters the packets to the leaves (leafs?) in the (pseudo-)tree.

Then, if filters are correctly designed, no traffic will go to HTB default.

--
Mvh. / Best regards,
Steen Suder		<http://www.suder.dk/>
ICQ UIN			4133803

_______________________________________________
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