Re: >10Mbit on HTB

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 15 October 2003 05:42, Rio Martin wrote:
> 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 ..
But what has this to do with traffic shaping ????  You can mangle incoming and 
outgoing packets with iptables, but tc kicks in just before the packets are 
placed on the wire.  So after all iptables stuff and only for the outgoing 
packets.

Stef

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

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux