Re: Setting up htb on 2.6.3

Linux Advanced Routing and Traffic Control

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

 



Kevin Withnall wrote:
> I think the kernel is fine. I received some patches and re-compiled
> iproute2 on 2.4.20, moved the binaries to 2.6.3 and it works more..
> 
> Heres what happens now.
> 
> #./qd
> + tc qdisc del dev eth0 root
> + tc qdisc del dev eth0 ingress
> + tc qdisc add dev eth0 root handle 1: htb
> + tc class add dev eth1 parent 1: classid 1:1 htb rate 6mbit burst 15k
> RTNETLINK answers: No such file or directory
> 
> The qdisc command works but the class one doesn't. Any ideas ?
> 
> Thanks
> 

That's because you switched from eth0 to eth1, in your last command. If
you want to assign an htb class to eth1, you have to first assign it an
htb qdisc:

tc qdisc add dev eth1 root handle 1: htb
tc class add dev eth1 parent 1: classid 1:1 htb rate 6mbit burst 15k

-Corey

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
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