[LARTC] Bandwidth throttling/limiting for all traffic
Darryl Cording
dcording@ascend.net.au
Fri, 19 Nov 2004 06:09:46 +1000
Andy Furniss wrote:
> Darryl Cording wrote:
>
>>>
>> I guess I could match by ip addresses but I hoping for a simpler way
>> to match everthing.
>
>
> You were close - default refers to the number after the :
I guess I am still struggling with the syntax of tc.
>
> 10: is short for 10:0 .
Thanks for that clue.
>
> tc qdisc add dev eth0 root handle 10: htb default 1
> tc class add dev eth0 parent 10: classid 10:1 htb rate 64kbit ceil 64kbit
>
> should shape everything.
And in fact it does. :-D
Thanks for the help.
>
> Andy.
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
--
Ascend Business Solutions Pty Ltd
Level 3, 232 Adelaide St, Brisbane, Qld, 4000
Phone (07) 3223 5555 Fax (07) 3223 5500
www.ascend.net.au
This email is from the offices of Ascend Business Solutions Pty Ltd,
Software Testing Specialists, Brisbane, Queensland, Australia. This email
contains privileged and confidential information. It is intended for the
recipient only. Should this email be received in error please notify this
office immediately by reply email and delete this email from your inbox.