From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bergqvist daniel@netatonce.se Date: Tue, 17 Oct 2000 14:27:55 +0000 Subject: SV: SV: [LARTC] Bandwidth limiting problem Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org
It works fine for me. Have you compiled the kernel with all QoS settin=
gs on?

Regards,
Daniel

> -----Ursprungligt meddelande-----
> Fr=E5n: boost=
@lxmul01aspm.admera.local
> [mailto:boost=
@lxmul01aspm.admera.local]F=F6r Fredrik Rambris
>
> tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avp=
kt 1000
>
> tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 10=
Mbit \
>   rate 100Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt=
 1000
>
> tc class add dev eth0 parent 10:1 classid 10:100 cbq bandwidth =
100Mbit \
>   rate 128kbit allot 1514 weight 80Kbit prio 5 maxburst 20 avpk=
t 1000 \
>   bounded
>
> tc qdisc add dev eth0 parent 10:100 sfq quantum 1514b perturb 15
>
> tc filter add dev eth0 parent 10:0 protocol ip prio 100 u32 mat=
ch ip \
>   dst 192.168.3.0/24 flowid 10:100