* [LARTC] Police to xxx mbit with port range
@ 2002-02-10 22:25 Mark beck
2002-02-11 10:04 ` Stef Coene
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Mark beck @ 2002-02-10 22:25 UTC (permalink / raw)
To: lartc
Hi,
I want to POLICE to a certain bw in one direction only - over a range of
500 ports. Is this possible and if so could someone please give me some
pointers to the configuration and any Kernel requirements necessary.
Many thanks,
Mark
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] Police to xxx mbit with port range
2002-02-10 22:25 [LARTC] Police to xxx mbit with port range Mark beck
@ 2002-02-11 10:04 ` Stef Coene
2002-02-11 22:32 ` Mark Beck
2002-02-12 8:23 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2002-02-11 10:04 UTC (permalink / raw)
To: lartc
On Sunday 10 February 2002 23:25, Mark beck wrote:
> Hi,
>
> I want to POLICE to a certain bw in one direction only - over a range of
> 500 ports. Is this possible and if so could someone please give me some
> pointers to the configuration and any Kernel requirements necessary.
RTFM : http://ds9a.nl/2.4Routing/HOWTO/cvs/2.4routing/output/2.4routing.html
Stef
--
stef.coene@docum.org
More QOS info : http://www.docum.org/
Title : "Using Linux as bandwidth manager"
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] Police to xxx mbit with port range
2002-02-10 22:25 [LARTC] Police to xxx mbit with port range Mark beck
2002-02-11 10:04 ` Stef Coene
@ 2002-02-11 22:32 ` Mark Beck
2002-02-12 8:23 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Mark Beck @ 2002-02-11 22:32 UTC (permalink / raw)
To: lartc
Oh so helpful!
In the howto it only mentions how to do this on a single port basis - and I
cant find TC documentation:
# tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match ip sport
80 0xffff flowid 10:1
I assume after the 80 we have a hex mask, so would the following match
ports 10240->10751?
# tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match ip sport
10240 0x200 flowid 10:1
Thanks in advance,
Mark
At 11:04 11/02/2002 +0100, Stef Coene wrote:
>On Sunday 10 February 2002 23:25, Mark beck wrote:
> > Hi,
> >
> > I want to POLICE to a certain bw in one direction only - over a range of
> > 500 ports. Is this possible and if so could someone please give me some
> > pointers to the configuration and any Kernel requirements necessary.
>RTFM : http://ds9a.nl/2.4Routing/HOWTO/cvs/2.4routing/output/2.4routing.html
>
>Stef
>
>
>--
>
>stef.coene@docum.org
> More QOS info : http://www.docum.org/
> Title : "Using Linux as bandwidth manager"
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] Police to xxx mbit with port range
2002-02-10 22:25 [LARTC] Police to xxx mbit with port range Mark beck
2002-02-11 10:04 ` Stef Coene
2002-02-11 22:32 ` Mark Beck
@ 2002-02-12 8:23 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2002-02-12 8:23 UTC (permalink / raw)
To: lartc
On Monday 11 February 2002 23:32, Mark Beck wrote:
> Oh so helpful!
>
> In the howto it only mentions how to do this on a single port basis - and I
> cant find TC documentation:
>
> # tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match ip sport
> 80 0xffff flowid 10:1
>
> I assume after the 80 we have a hex mask, so would the following match
> ports 10240->10751?
>
> # tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match ip sport
> 10240 0x200 flowid 10:1
Goog guess :-) But I never tried it myself.
Stef
--
stef.coene@docum.org
More QOS info : http://www.docum.org/
Title : "Using Linux as bandwidth manager"
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-02-12 8:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-10 22:25 [LARTC] Police to xxx mbit with port range Mark beck
2002-02-11 10:04 ` Stef Coene
2002-02-11 22:32 ` Mark Beck
2002-02-12 8:23 ` Stef Coene
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.