Skip to contentSkip to conversation

QoS using HTB and SFQ ...

DISCUSSION Raymond Leach 7 participants 7 messages Dec 12, 2002

lore
Share & tools
lore
#0 lore raw

Hi

Does anyone have any experience (good or bad) with using htb and sfq to do QoS using 2.4.20 kernels?

I compiled the kernel, installed the image, but tc tells me that htb is an unknown qdisc. I checked that I did select htb in the QoS section.

Any ideas?

Ray

Signature · 19 lines
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(  Raymond Leach                       )
 ) Knowledge Factory                  (
(                                      )
 ) Tel: +27 11 445 8100               (
(  Fax: +27 11 445 8101                )
 )                                    (
(  http://www.knowledgefactory.co.za/  )
 ) http://www.saptg.co.za/            (
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   o                                o
    o                              o
        .--.                  .--.
       | o_o|                |o_o |
       | \_:|                |:_/ |
      / /   \\              //   \ \
     ( |     |)            (|     | )
     /`\_   _/'\          /'\_   _/`\
     \___)=(___/          \___)=(___/
#1 lore raw

Hi Raymond,

Dans un message du 12 Dec à 11:17, Raymond Leach écrivait :

Quoted 5 lines

Does anyone have any experience (good or bad) with using htb and sfq to do QoS using 2.4.20 kernels?

I compiled the kernel, installed the image, but tc tells me that htb is an unknown qdisc. I checked that I did select htb in the QoS section.

You need an updated tc binary. Check out
http://luxik.cdi.cz/~devik/qos/htb/ and download htb3.6-020525.tgz which contains the iproute2 patch.

Regards,

Signature · 5 lines
Guillaume Morin <[email protected]>

      A friend in need is a friend indeed. A friend who bleeds is better.
         My friend confessed, she passed the test. We will never sever.
                                   (Placebo)
#2 lore raw
In reply to Raymond Leach

On 12 Dec 2002, Raymond Leach wrote:

Hi.

To use HTB you have to apply the patches from <devik>
downloadable from:

	http://luxik.cdi.cz/~devik/qos/htb/

I've made several tests with them with successful results.

regards,

Quoted 23 lines

Hi

Does anyone have any experience (good or bad) with using htb and sfq to do QoS using 2.4.20 kernels?

I compiled the kernel, installed the image, but tc tells me that htb is an unknown qdisc. I checked that I did select htb in the QoS section.

Any ideas?

Ray
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
( Raymond Leach )
) Knowledge Factory (
( )
) Tel: +27 11 445 8100 (
( Fax: +27 11 445 8101 )
) (
( http://www.knowledgefactory.co.za/ )
) http://www.saptg.co.za/ (
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
o o

Quoted 9 lines
    o                              o
        .--.                  .--.
       | o_o|                |o_o |
       | \_:|                |:_/ |
      / /   \\              //   \ \
     ( |     |)            (|     | )
     /`\_   _/'\          /'\_   _/`\
     \___)=(___/          \___)=(___/
+------------------------------------------------+
! Jordi Bruguera i Cortada         [email protected]  !
! Cap Tècnic                                     !

! GRN Serveis Telemàtics, SL Tel. +34 972 230000 !
+------------------------------------------------+

#3 lore raw
In reply to Raymond Leach

you need a patch for iproute2/tc or a patched tc binary, both distributed with htb3.

here you'll find patch or binary:
http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgz

my experience with htb is very positive: i'm shaping a poor adsl connection (128/256). with heavy loads (220kbit download with a 120kbit upload) latency dropped from 3000ms to 300ms!

andrea

Quoted 11 lines · Raymond Leach

Hi

Does anyone have any experience (good or bad) with using htb and sfq to do QoS using 2.4.20 kernels?

I compiled the kernel, installed the image, but tc tells me that htb is an unknown qdisc. I checked that I did select htb in the QoS section.

Any ideas?

Ray

#4 lore raw

multilink using Cable and ADSL.

Hello
I try to use a Cable ISP and ADSL ISP together on the same gateway to have benefit from low latency cable and High Bandwith ADSL at the same time.

In this way I read lot of docs and essentialy the advanced routing HOWTO which explain how to mark packets to route them on an interface or another.

I tried the examples but these doesn't work.

My Goal is to use Cable for low latency application and ADSL for all other applications.

I need some help to understand how to proceed to realise this.

This is my actual situation.
eth0= 192.168.1.254 (DMZ )
eth1= 192.168.0.254 (LAN)
eth2= dynamic public ip (Cable ISP)
ppp0= dynamic public ip (ADSL ISP)

This is my simple iptables script for NAT

----------------START---------------
IPTABLES="/sbin/iptables"

echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
# Remise a Zero des regles du firewall au cas ou
$IPTABLES -F
$IPTABLES -t nat -F

echo Init des regles par defaut
$IPTABLES -P INPUT ACCEPT
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -P FORWARD ACCEPT

echo Debut des regles de filtrage

$IPTABLES -t nat -A POSTROUTING -s 192.168.0.0/23 -o ppp0 -j MASQUERADE

#Fin des regles de routage
echo "Firewall installé."
----------------END---------------

Thanks.

#5 lore raw
In reply to Raymond Leach
Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Raymond Leach
Sent: Thursday, December 12, 2002 10:17 AM
To: Netfilter Mailing List
Subject: QoS using HTB and SFQ ...

Hi

Quoted 7 lines

Does anyone have any experience (good or bad) with using htb and sfq to
do QoS using 2.4.20 kernels?

I compiled the kernel, installed the image, but tc tells me that htb is
an unknown qdisc.

You'll also need a patched tc in order to use HTB. You can find the patch for tc at http://luxik.cdi.cz/~devik/qos/htb/

#6 lore raw
In reply to Raymond Leach
Quoted 8 lines · --On Thursday, December 12, 2002 11:17:03 AM +0200 Raymond Leach…

Hi

Does anyone have any experience (good or bad) with using htb and sfq to do QoS using 2.4.20 kernels?

I compiled the kernel, installed the image, but tc tells me that htb is an unknown qdisc. I checked that I did select htb in the QoS section.

Works for me. Does the copy of tc that you are running have htb support?

-Tom
--
Tom Eastep \ Shorewall - iptables made easy
Shoreline, \ http://shorewall.sf.net
Washington USA \ [email protected]