On Sun, Dec 09, 2001 at 12:38:21PM +0100, Henrik Nordstrom wrote: > You need to specify the correct arguments to the qdisc you are adding.. I.e. > the same command as adding that qdisc as the root qdisc, but replace root by > ingress. > > tc qdisc add dev eth0 ingress tbf rate 220kbit latency 50ms burst 1540 > > qdisc tbf ffff: dev eth0 rate 220Kbit burst 1407b lat 2147.5s > Sent 0 bytes 0 pkts (dropped 0, overlimits 0) > > But as I said it does not seem to ever be used. This appears to be a bug - which version of tc are you using? I think in fact tc just added an egress tbf - you can't specify *any* qdisc as an ingress qdisc except for the bare one, like Jamal does below: (jamal *wrote* the ingress qdisc, he should know) > > I cant seem to get it to work; > > ------- > > [root@xxxx tc]# ./tc qdisc add dev lo handle ffff: ingress tbf > > RTNETLINK answers: Invalid argument > > [root@xxxx tc]# ./tc qdisc add dev lo handle ffff: ingress > > [root@xxxx tc]# tc -s qdisc > > qdisc ingress ffff: dev lo > > Sent 0 bytes 0 pkts (dropped 0, overlimits 0) > > -------- > > > > What is the full command? > > can you try tc -s qdisc after you add it ? Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services Trilab The Technology People Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet