From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Tue, 14 Oct 2003 18:25:36 +0000 Subject: Re: [LARTC] >10Mbit on HTB Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Tuesday 14 October 2003 05:59, Rio Martin wrote: > > None. Htb is an egress qdisc so it shapes outgoing traffic. An ingress > > qdisc handles the incoming packets. And there is no queue for the > > incoming packets, so you can't use htb. You can use filteres + policers > > to rate limit traffic. Or you may take a look at the imq device. This > > is a virtual device. You can redirect all incoming packets to it and use > > htb on the imq device. > > Hi Stef, > What do you mean by ' no queue for the incoming packets, so you can't use > HTB'? For now i am not applying IMQ for the ingress, but using packet > mangling under iptables to handle both incoming packets from internet and > outgoing packets to internet. Is this not right? give me your opinion > please, as far as i can see, there were no troubles using packet mangling > to handle those situation. What do you mean with packet mangling? And it's not because there is no queue for incoming packets that you can't do anything with time. The filter + policer setup can rate limit incoming packets. Iptables can also do rate limiting. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/