Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] Ingress polices
@ 2002-08-07 12:57 Claudio Aznar
  2002-08-07 19:19 ` Stef Coene
  0 siblings, 1 reply; 2+ messages in thread
From: Claudio Aznar @ 2002-08-07 12:57 UTC (permalink / raw)
  To: lartc

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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] Ingress polices
  2002-08-07 12:57 [LARTC] Ingress polices Claudio Aznar
@ 2002-08-07 19:19 ` Stef Coene
  0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2002-08-07 19:19 UTC (permalink / raw)
  To: lartc

On Wednesday 07 August 2002 15:00, Claudio Aznar wrote:
> 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.

> 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

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-07 19:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-07 12:57 [LARTC] Ingress polices Claudio Aznar
2002-08-07 19:19 ` Stef Coene

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox