From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rangi Biddle" Date: Mon, 07 May 2007 18:06:30 +0000 Subject: RE: [LARTC] Traffic Shaping Message-Id: <000501c790d2$72c2cf10$58486d30$@net.nz> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1081591817==" List-Id: References: In-Reply-To: To: lartc@vger.kernel.org This is a multipart message in MIME format. --===============1081591817== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01C79137.07F7AF10" Content-Language: en-us This is a multipart message in MIME format. ------=_NextPart_000_0006_01C79137.07F7AF10 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit HI Simo, Thanks for the info. Very interesting read. I forgot to mention in the post that I am still relatively new to traffic shaping with Linux but was still able to more than comprehend the info in that document. Many thanks again. One thing that I am slightly uncertain of though is that I would prefer not to divide the bandwidth between x amount of people but rather designate a priority that packets take over each other which that info doesn't cover. Is it still possible using HFSC to accomplish this? Kind regards, Rangi From: Simo [mailto:simo@mix4web.de] Sent: Monday, May 07, 2007 8:25 PM To: 'Rangi Biddle'; lartc@mailman.ds9a.nl Subject: AW: [LARTC] Traffic Shaping Hi Rangi, Bandwidth ist important, but VoIP needs more than this. Voice traffic needs low latency of packets. That's why traffic shaping maybe not lose your problem. in this a HFCS queuing descipline is used instead of HTB, because this can separate between bandwidth and delay. For more Information about this can you find here: http://linux-ip.net/articles/hfsc.en/ bye Simo Von: lartc-bounces@mailman.ds9a.nl [mailto:lartc-bounces@mailman.ds9a.nl] Im Auftrag von Rangi Biddle Gesendet: Sonntag, 6. Mai 2007 22:15 An: lartc@mailman.ds9a.nl Betreff: [LARTC] Traffic Shaping Dear List, I am wanting to perform some traffic shaping as the subject of this email suggests. What I am wanting to do is this; I would like to have traffic shaping performed on the following protocols: HTTP, RDP, GRE, PPTP, SIP and IAX. Obviously I would like to have highest priority set for voice packets so much so that the general http traffic does not impede on the voice packets. I would like to have ample bandwidth available for RDP so that I am able to connect to a remote site and not have too much lag but ample enough that most tasks can be done. HTTP traffic would possibly have the lowest priority of all the protocols that I have listed. So to clarify priority would be something such as this: 1. IAX 2. SIP 3. GRE 4. PPTP 5. RDP 6. HTTP I have a linux gateway that I will use for performing the traffic shaping and is setup in the following way: ------------- ------------ --------- | ADSL | <----------> | LINUX | <----------> | LAN | ------------- ------------ --------- I plan to have the ADSL router forward all traffic to the linux gateway using something similar to a BIMAP rule where all incoming and outgoing traffic is made to appear to come from the public IP address. I welcome any and all suggestions but would possibly prefer the most elegant of solutions J Many thanks in advance Rangi ------=_NextPart_000_0006_01C79137.07F7AF10 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

HI = Simo,

 

Thanks for the = info.  Very interesting read.  I forgot to mention in the post that I am still relatively new to traffic shaping with Linux but was still able to more = than comprehend the info in that document.  Many thanks = again.

 

One thing that I am = slightly uncertain of though is that I would prefer not to divide the bandwidth = between x amount of people but rather designate a priority that packets take = over each other which that info doesn’t cover.  Is it still possible = using HFSC to accomplish this?

 

Kind = regards,

 

Rangi

 

From:= Simo [mailto:simo@mix4web.de]
Sent: Monday, May 07, 2007 8:25 PM
To: 'Rangi Biddle'; lartc@mailman.ds9a.nl
Subject: AW: [LARTC] Traffic Shaping

 

 

Hi = Rangi,

Bandwidth ist = important, but VoIP needs more than this. Voice traffic needs low latency of packets. That’s why traffic shaping maybe not lose your problem.             &= nbsp; 

in this a HFCS = queuing descipline is used instead of HTB, because this can separate between bandwidth and = delay. For more Information about this can you find here: http://linux-ip.net/articl= es/hfsc.en/

 

bye

Simo

 

Von:<= /b> = lartc-bounces@mailman.ds9a.nl [mailto:lartc-bounces@mailman.ds9a.nl] Im Auftrag von Rangi = Biddle
Gesendet: Sonntag, 6. Mai 2007 22:15
An: lartc@mailman.ds9a.nl
Betreff: [LARTC] Traffic Shaping

 

Dear List,

 

I am wanting to perform some traffic shaping as the = subject of this email suggests.

 

What I am wanting to do is this;  I would like = to have traffic shaping performed on the following protocols:  HTTP, RDP, = GRE, PPTP, SIP and IAX.  Obviously I would like to have highest priority = set for voice packets so much so that the general http traffic does not = impede on the voice packets.  I would like to have ample bandwidth available = for RDP so that I am able to connect to a remote site and not have too much lag = but ample enough that most tasks can be done.  HTTP traffic would = possibly have the lowest priority of all the protocols that I have listed.  = So to clarify priority would be something such as this:

 

1.       = IAX

2.       = SIP

3.       = GRE

4.       = PPTP

5.       = RDP

6.       = HTTP

 

I have a linux gateway that I will use for = performing the traffic shaping and is setup in the following way:

 

         &= nbsp;       -------------         =             &= nbsp;   ------------          &= nbsp;           &n= bsp;    ---------

         &= nbsp;      |    ADSL     | <----------> |   LINUX  |  <----------> |   LAN   |

         &= nbsp;       -------------          =             &= nbsp;  ------------          &= nbsp;           &n= bsp;    ---------

 

I plan to have the ADSL router forward all traffic = to the linux gateway using something similar to a BIMAP rule where all incoming = and outgoing traffic is made to appear to come from the public IP = address.  I welcome any and all suggestions but would possibly prefer the most = elegant of solutions J

 

Many thanks in advance

 

Rangi

------=_NextPart_000_0006_01C79137.07F7AF10-- --===============1081591817== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1081591817==--