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:
> Im running kernel 2.6.3 with what I think is every required option
> turned on, yet tc gives me ...
> 
> #tc qdisc add dev eth0 parent root handle 1: htb
> But get
> RTNETLINK answers: Invalid argument

Just a syntax error - the root handle has no parent. You want:

tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:1 htb rate <something>
...

-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