Hello, I''d like to try out HTB for traffic shaping. I have a test machine with Redhat 7.2 (kernel 2.4.10), I''ve downloaded kernel 2.4.17, applied the patch from http://luxik.cdi.cz/~devik/qos/htb/, recompiled the kernel (checked the option to use HTB in make menuconfig), and rebooted with the new kernel. When I try to add some rules with HTB (f.i. tc qdisc add dev eth0 root handle 1: htb default 1:1 ), I got the following error message: Unknown qdisc "htb", hence option "default" is unparsable Obviously, this is not what I want :-) What is going wrong here? Regards, Patrick
> I have a test machine with Redhat 7.2 (kernel 2.4.10), I''ve downloaded > kernel 2.4.17, applied the patch from http://luxik.cdi.cz/~devik/qos/htb/, > recompiled the kernel (checked the option to use HTB in make menuconfig), > and rebooted with the new kernel. > > When I try to add some rules with HTB (f.i. tc qdisc add dev eth0 root > handle 1: htb default 1:1 ), I got the following error message: > Unknown qdisc "htb", hence option "default" is unparsable > > Obviously, this is not what I want :-) > > What is going wrong here?Have you patched and recompiled iproute2 ? Stef -- stef.coene@docum.org More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager"
Hi. You are probably using an old version of tc, try downloading the precompiled binary from the htb site or get the sources at http://diffserv.sourceforge.net/ Patrick Patrick Van Acker schrieb:> > Hello, > > I''d like to try out HTB for traffic shaping. > > I have a test machine with Redhat 7.2 (kernel 2.4.10), I''ve downloaded > kernel 2.4.17, applied the patch from http://luxik.cdi.cz/~devik/qos/htb/, > recompiled the kernel (checked the option to use HTB in make menuconfig), > and rebooted with the new kernel. > > When I try to add some rules with HTB (f.i. tc qdisc add dev eth0 root > handle 1: htb default 1:1 ), I got the following error message: > Unknown qdisc "htb", hence option "default" is unparsable > > Obviously, this is not what I want :-) > > What is going wrong here? > > Regards, > Patrick > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/-- Computers are like air conditioners. They stop working when you open Windows. --
I am trying to establish some means to control the IP bandwidth available for a number of NAT-ed classes. Each class or collection of classes should not use receive less than a certain assigned bandwidth if they need it. In the same time I want to make sure that each indvidual IP address in these classes has it''s own restrictions: that is a minimum B/W (if available), maximum bandwidth, burst. Is this possible using HTB? From the documentation I see that only leaf nodes can have filters - does this mean that I cannot create and apply a filter for a whole class? Sebastian
> Each class or collection of classes should not use receive less than a certain > assigned bandwidth if they need it. > > In the same time I want to make sure that each indvidual IP address in these > classes has it''s own restrictions: that is a minimum B/W (if available), > maximum bandwidth, burst. Is this possible using HTB? From the documentation I > see that only leaf nodes can have filters - does this mean that I cannot create > and apply a filter for a whole class?Sure it is possible. At the first it is not true that only leaves can have filters. The opposite it true - only leaves can''t have filters. Filter can be attached to root (qdisc itself) or inner class. So that you can for example attach fwmark filter without any rules to the root of HTB. Then you can control assigning of IP->class in iptables. You will end up with one inner class for each group of ip and each "restricted" ip will have then leaf under the inner class. Like: ROOT 256k CLASS1(192.168.1.x) 128k CLASS11(192.168.1.2) 10k CLASS19(others 192.168.1.x) 118k CLASS2(192.168.2.x) 128k CLASS21(192.168.2.2) 10k CLASS22(192.168.2.3) 10k CLASS29(others 192.168.2.x) 108k You probably caught it. devik
Hello everyone, Im here again to ask something about gre tunneling. It seems that my tunneling is working right now, I could connect to my servers in the remote site, but my question is, is it possible to browse the entire network(neighboorhood) of my remote site? if its possible how? Both network are running different subnet A(192.168.1.0/24) B(192.168.2.0/24). Best Regards, Glynn