All of lore.kernel.org
 help / color / mirror / Atom feed
From: Walter Haidinger <walter.haidinger@gmx.at>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] htb limiting trouble: no overlimit or dropped packets
Date: Thu, 17 Oct 2002 20:44:01 +0000	[thread overview]
Message-ID: <marc-lartc-103488753011953@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103480767301168@msgid-missing>

On Thu, 17 Oct 2002, James B. Moore wrote:

> Not to familiar with HTB but in general it seems you have your qdisc's
> attached to your _internal_ interface, which should let you shape
> the traffic into your LAN; not outbound. if that's what you intend
> then my mistake, I'll go away now...

No, you're definitely allowed to stay! ;-)

> You need to attache the qdisc's to the uplink interface (eth0) and sinca all
> the packets are Masq'd at that point, I think you need to use firewall marks
> and the fw filter to classify the traffic from your internal hosts first.

Right! I obviously mixed up directions! How silly... <:-0

After attaching to eth0 everthing works now! Great!

Marking packets with iptables -t mangle works too! Masqueraded packets
have to be marked in the PREROUTING chain, locally generated packets in
the OUTPUT chain of the mangle table.

Traffic is limited according to the specified rates.

However, there is something I still don't fully understand:
When do packets get dropped or are overlimit?

Thanks for the replies! A really great list!

Regards, Walter


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

  parent reply	other threads:[~2002-10-17 20:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-16 22:33 [LARTC] htb limiting trouble: no overlimit or dropped packets Walter Haidinger
2002-10-17  4:49 ` Stephane Ouellette
2002-10-17  6:38 ` Walter Haidinger
2002-10-17  6:47 ` Walter Haidinger
2002-10-17 10:54 ` Stef Coene
2002-10-17 11:19 ` Walter Haidinger
2002-10-17 18:02 ` Robert Vale
2002-10-17 19:24 ` Walter Haidinger
2002-10-17 20:44 ` Walter Haidinger [this message]
2002-10-20 12:18 ` Walter Haidinger
2002-10-20 17:18 ` Walter Haidinger

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-103488753011953@msgid-missing \
    --to=walter.haidinger@gmx.at \
    --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.