Police to xxx mbit with port range
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 5 lines · Mark beck
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
Signature · 6 lines
[email protected] More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager" _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/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
Quoted 8 lines · Stef Coene
Quoted 5 lines · Mark beck
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
Quoted 8 lines
Stef
--
[email protected]
More QOS info : http://www.docum.org/
Title : "Using Linux as bandwidth manager"
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 5 lines · Mark Beck
Oh so helpful!
In the howto it only mentions how to do this on a single port basis - and I cant find TC documentation:
Quoted 8 lines
# tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match ip sport 80 0xffff flowid 10:1I 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
Signature · 6 lines
[email protected] More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager" _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/