LARTC
[Top] [All Lists]

Re: [LARTC] Shape own router

To: Salatiel Filho <salatiel.filho@gmail.com>
Subject: Re: [LARTC] Shape own router
From: Andy Furniss <lists@andyfurniss.entadsl.com>
Date: Thu, 22 Mar 2007 22:57:14 +0000
Cc: lartc@mailman.ds9a.nl
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <beb91d720703221459q3e25aebbhe3c58a73b120c70f@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>
Reply-to: lists@andyfurniss.entadsl.com
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.13) Gecko/20060417
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.

If you really need imq you will need to check first imq option in kernel config is set to A.

Andy.

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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