Bandwidth limiting problem
Daniel Bergqvist [email protected]
<PRE>It works fine for me. Have you compiled the kernel with all QoS settings on?
Regards,
Daniel
><i> -----Ursprungligt meddelande-----
</I>><i> Från: <A HREF="mailto:[email protected]">[email protected]</A> </I>><i> [mailto:<A HREF="mailto:[email protected]">[email protected]</A>]För Fredrik Rambris </I>><i>
</I>><i> tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt 1000
</I>><i>
</I>><i> tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 10Mbit \
</I>><i> rate 100Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
</I>><i>
</I>><i> tc class add dev eth0 parent 10:1 classid 10:100 cbq bandwidth 100Mbit \
</I>><i> rate 128kbit allot 1514 weight 80Kbit prio 5 maxburst 20 avpkt 1000 \
</I>><i> bounded
</I>><i>
</I>><i> tc qdisc add dev eth0 parent 10:100 sfq quantum 1514b perturb 15
</I>><i>
</I>><i> tc filter add dev eth0 parent 10:0 protocol ip prio 100 u32 match ip \
</I>><i> dst 192.168.3.0/24 flowid 10:100
</I>
</PRE>