Re: htb limiting trouble: no overlimit or dropped packets

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 17 Oct 2002, Nickola Kolev wrote:

> On Thu, 17 Oct 2002 00:33:05 +0200 (CEST)
> Walter Haidinger <walter.haidinger@gmx.at> wrote:
>
> [ cut ]
> > tc qdisc add dev eth1 root handle 1: htb default 20
> > tc class add dev eth1 parent 1:  classid 1:1  htb rate 64kbit ceil 64kbit burst 5k
> > tc class add dev eth1 parent 1:1 classid 1:10 htb rate 64kbit ceil 64kbit burst 5k
> > tc class add dev eth1 parent 1:1 classid 1:20 htb rate 57kbit ceil 64kbit burst 5k
> > tc class add dev eth1 parent 1:1 classid 1:30 htb rate 51kbit ceil 64kbit burst 5k
> > tc class add dev eth1 parent 1:1 classid 1:40 htb rate 6kbit burst 0
> > tc qdisc add dev eth1 parent 1:10 handle 10: sfq perturb 10
> > tc qdisc add dev eth1 parent 1:20 handle 20: sfq perturb 10
> > tc qdisc add dev eth1 parent 1:30 handle 30: sfq perturb 10
> > tc qdisc add dev eth1 parent 1:40 handle 40: sfq perturb 10
> >
> [ cut ]
>
> Can you give us the exact commands you issued? F.e. what are the filters?

Above are all commands issued. I have no filters attached because
bandwidth limiting does not even work for the default class, i.e.
unclassified traffic. I had filters assigned to the root class 1: like the
one below in an attempt to catch all packets.

tc filter add dev eth1 parent 1: protocol ip \
     prio 20 u32 match ip dst 0.0.0.0/0 flowid 1:20

Didn't make any difference, though.

Walter


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux