Re: [LARTC] Re: further CBQ/tc documentation ds9a.nl/lartc/manpages

Linux Advanced Routing and Traffic Control

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

 



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.

Regards
Henrik

On Sunday 09 December 2001 03.30, jamal wrote:
> On Sun, 9 Dec 2001, Henrik Nordstrom wrote:
> > to ingress. Have not yet figured out if this actually can be used for
> > anything.
> >
> >    tc qdisc add dev eth0 ingress tbf ....
> >    (or any other qdisc)
> >
> > is happily accepted but afaict does not seem to have any function..
>
> 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 ?
>
> cheers,
> jamal



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