Ingress polices
Hi list,
I'm making BW control using filter police rate with ingress qdisc, it work fine but i have few question:
1. How to set different priorities for this filter, (I can dom it?), because if I set different priority, the filters are multiplied.
2. How I can combine different condition in only one filter, sharing the same BW of course. For example: port 80 and port 3128
with the same police rate of 128 Kbit. (Again, I can do it?).
The possible way is using classes and two interfaces, but the limitation is that I control port (protocols) in one interface (eth0) and clients (BW max for each) in other (eth1).
Thank in advance
Claudio Aznar
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 6 lines · Claudio Aznar
Hi list,
I'm making BW control using filter police rate with ingress qdisc, it work
fine but i have few question:1. How to set different priorities for this filter, (I can dom it?),
because if I set different priority, the filters are multiplied.
There is only 1 filter, but there is a bug in the output of tc so the filter is printed more the once.
Quoted 4 lines
2. How I
can combine different condition in only one filter, sharing the same BW of course. For example: port 80 and port 3128 with the same police rate of 128 Kbit. (Again, I can do it?).
You can't do it. To do so, you will have to create a IMQ device, redirect all incoming traffic to it and use htb or cbq to create a hierarchical setup.
Stef
Signature · 7 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/