[LARTC] Problems with HTB

Linux Advanced Routing and Traffic Control

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

 



> applied. iproute2 compiled with HTB patch, PH_ECHO line removed).
> Firewall box has two interfaces: eth0 - 172.18.200.1/24 and eth1 - to
> Internet.
>[snip] 
> Traffic from IPs 172.18.200.223 to 172.18.200.226 should go to class
> 1:10. Traffic from IPs 172.18.200.2 and 172.18.200.4 should go to class
> 1:11. Traffic from IP 172.18.200.232 should go to class 1:12. All other
> traffic must follow 1:13.
> 
> The problem is also simple: nothing is being filtered. All traffic
> follow 1:13. I'm quite frustrated and really don't know what could be

probably you have wrong idea. htb sits on eth0. Traffic from
172.18.200.232 enters FROM eth0 and qos is not aplied to the
incoming traffic.
So what direction you'd like to shape, your_net to internet or reverse ?
If internet->your_net then simple replace "src" in your tc filter add
by "dst"....
devik



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