[LARTC] >10Mbit on HTB
Rio Martin
rio@martin.mu
Wed, 15 Oct 2003 10:42:59 +0700
On Wednesday 15 October 2003 01:25, Stef Coene wrote:
> 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.
iptables -t mangle -A bla bla bla ..
i classified all the traffic both for incoming and outgoing to mangle table.
correct me if this is wrong stef ..
Regards,
Rio Martin.