Re: HFSC

Lawrence MacIntyre
Thu, 13 May 2004 13:52:11 -0000

Thanks, Patrick.  That makes it a bit harder to manage from a remote
machine.  I''ll have to be very careful with that.  I''ll try to
figure
out the implications of the default classification and send more email
if I can''t get it.

So I reordered the commands and changed them around.  It looks like I am
either doing something strange or I have found a bug.  When I execute
the following script, the UDP traffic on port 1234 continues for a few
seconds and then stops.  When I examine the tc data, it shows no change
in the periods or amount of bytes flowing after the flow stops.  I am
enclosing the command  and the output.

Thanks again!

Patrick McHardy wrote:
> Lawrence MacIntyre wrote:
>
>> /usr/local/bin/tc qdisc add dev eth0 root handle 1: hfsc
>>
>> /usr/local/bin/tc class add dev eth0 parent 1: classid 1:1 hfsc ul m1
>> 30mbit d 0 m2 30mbit ls m1 30mbit d 0 m2 30mbit
>>
>> When the second command is executed, the machine simply drops all
>> packets going through it.
>
>
> Unlike HTB, HFSC drops unclassified packets. You need to setup filters
> or use the "default" classification.
>
> Regards
> Patrick