[LARTC] >10Mbit on HTB

Stef Coene stef.coene@docum.org
Mon, 13 Oct 2003 20:51:30 +0200


On Monday 13 October 2003 16:17, Kristiadi Himawan wrote:
> Oh ok, it's working now. The script is fine.
> My test tool isn't accurate.
> Now i have test with iperf and get accurate result.
>
> Other question ...:)
> which ingress qdisc that accurate like htb?
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.

Stef

-- 
stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net