LARTC
[Top] [All Lists]

[LARTC] Shape own router

To: lartc@mailman.ds9a.nl
Subject: [LARTC] Shape own router
From: "Salatiel Filho" <salatiel.filho@gmail.com>
Date: Thu, 22 Mar 2007 22:13:34 -0300
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f9BGzYK1KVr/JtBtGayYQAdbvpoSD8fznCdGm4K7RSZTrFOQti9KSCGCDWbuW25eunmUiU6FzyyuWwv46GDJ9cj2dcuu6/8wUkCVaeN2LyfubfVW/u3GeWr5eA4e7C2if6zYh7xKaBK9ZjJAxmhRnUCB+5r2nj424VDJc6JthUQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QiWOJAHvDETbokPCoEOaMeBZUv3Kiia/QuCIG5zrwwrQ2A4TabHsY9Vunp3MgmY7gGrucI9zd881Q+QYZtiSwTmX8xFq5LW+ZGrWBufsTNVDR08uTs8Ga77eSao4V1wrf9ElM0rSfsxn9WcjSOFPeRXBQ4MXsVuh7+S0A9II/jg=
In-reply-to: <beb91d720703221812s5ee44298i9073709c3f0c7d5a@mail.gmail.com>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <beb91d720703221459q3e25aebbhe3c58a73b120c70f@mail.gmail.com> <460309CA.8050801@andyfurniss.entadsl.com> <beb91d720703221812s5ee44298i9073709c3f0c7d5a@mail.gmail.com>
Sender: lartc-bounces@mailman.ds9a.nl
On 3/22/07, Andy Furniss <lists@andyfurniss.entadsl.com> wrote:
Salatiel Filho wrote:
> On 2/19/07, Salatiel Filho <salatiel.filho@gmail.com> wrote:
>
>> Well , thanks to imq all my client machines are now shaped and
>> everything is great ...
>> But now i have a doubt , is there a way to shape the traffic that goes
>> to the route [doing a wget from the router for example ]?
>>
>>
>> I have a PREROUTING IMQ0 and a POSTROUTING IMQ1 , everything is
>> working like i`d expect but i`d like to be able to shape download from
>> the router in the same htb qdisc provide by IMQ1. is there a way ?
>>
>> --
>> []'s
>> Salatiel
>>
>> "O maior prazer do inteligente é bancar o  idiota
>>    diante de um  idiota que banca o inteligente".
>>
>
> no ideas ?

Assuming 2.6

You need to use the prerouting imq, but unless you are doing nat and
need to seperate local/forwarded you can use ifb and save patching.
Where can i read about IFB ? I try to google but i can not find too
much info. maybe i am looking for the wrong words.  Maybe this is the
solution, cause i would like to put both local traffic and forwarded
traffic in the same htb queue.


If you really need imq you will need to check first imq option in kernel
config is set to A.
If i put after NAT in prerouting , how can i shape upload by IP ?



Andy.




--
[]'s
Salatiel

"O maior prazer do inteligente é bancar o  idiota
  diante de um  idiota que banca o inteligente".


--
[]'s
Salatiel

"O maior prazer do inteligente é bancar o  idiota
  diante de um  idiota que banca o inteligente".
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>