Skip to contentSkip to conversation

Bandwidth limiting problem

LARTC Daniel Bergqvist [email protected] 1 participant 1 message Oct 17, 2000

lore
Share & tools
lore

Daniel Bergqvist [email protected]

author
#0 lore raw

<PRE>It works fine for me. Have you compiled the kernel with all QoS settings on?

Regards,
Daniel

&gt;<i> -----Ursprungligt meddelande-----
</I>&gt;<i> Från: <A HREF="mailto:[email protected]">[email protected]</A> </I>&gt;<i> [mailto:<A HREF="mailto:[email protected]">[email protected]</A>]För Fredrik Rambris </I>&gt;<i>
</I>&gt;<i> tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt 1000
</I>&gt;<i>
</I>&gt;<i> tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 10Mbit \
</I>&gt;<i> rate 100Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
</I>&gt;<i>
</I>&gt;<i> tc class add dev eth0 parent 10:1 classid 10:100 cbq bandwidth 100Mbit \
</I>&gt;<i> rate 128kbit allot 1514 weight 80Kbit prio 5 maxburst 20 avpkt 1000 \
</I>&gt;<i> bounded
</I>&gt;<i>
</I>&gt;<i> tc qdisc add dev eth0 parent 10:100 sfq quantum 1514b perturb 15
</I>&gt;<i>
</I>&gt;<i> tc filter add dev eth0 parent 10:0 protocol ip prio 100 u32 match ip \
</I>&gt;<i> dst 192.168.3.0/24 flowid 10:100
</I>

</PRE>