All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] >10Mbit on HTB
Date: Wed, 15 Oct 2003 18:44:53 +0000	[thread overview]
Message-ID: <marc-lartc-106624518005546@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106587640905279@msgid-missing>

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@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/

      parent reply	other threads:[~2003-10-15 18:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-11 12:46 [LARTC] >10Mbit on HTB Kristiadi Himawan
2003-10-11 14:28 ` Kristiadi Himawan
2003-10-11 15:51 ` Jose Luis Domingo Lopez
2003-10-11 15:57 ` Jose Luis Domingo Lopez
2003-10-13  5:16 ` Catalin BOIE
2003-10-13  6:07 ` Rio Martin
2003-10-13 14:17 ` Kristiadi Himawan
2003-10-13 18:51 ` Stef Coene
2003-10-14  3:59 ` Rio Martin
2003-10-14 18:25 ` Stef Coene
2003-10-15  3:42 ` Rio Martin
2003-10-15 18:44 ` Stef Coene [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-106624518005546@msgid-missing \
    --to=stef.coene@docum.org \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.