All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leslie Patrick Polzer <leslie.polzer@gmx.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB: Problem with excess bandwidth distribution
Date: Fri, 29 Oct 2004 06:11:37 +0000	[thread overview]
Message-ID: <4181DF19.7050502@gmx.net> (raw)
In-Reply-To: <41812464.8010207@gmx.net>

Andy Furniss wrote:

> Leslie Patrick Polzer wrote:
>
>> Hello,
>>
>> I have a serious problem with HTB which I wasn't able to solve myself.
>>
>> I run a masquerading router with ppp0 as interface to the Internet.
>> Three clients need to share a downstream of 1 MBit, which I want
>> to divide with tc.
>> When I see a packet being forwarded to one of these clients, I give
>> it the appropriate unique mark:
>>
>> iptables -t mangle -A FORWARD -d 192.168.34.141 -j MARK --set-mark 1
>> iptables -t mangle -A FORWARD -d 192.168.34.140 -j MARK --set-mark 2
>> iptables -t mangle -A FORWARD -d 192.168.1.2 -j MARK --set-mark 3
>>
>> Because it might be of interest: 192.168.34.0/24 is on network A
>> with 10 MBit, 192.168.1.0/24 is on network B with 100 MBit.
>>
>> I then attach an IMQ device imq0 to the FORWARD table:
>
>
> You can't use IMQ in forward AFAIK, see
>
> http://www.docum.org/docum.org/kptd/

Hmmm, really?
I mean, all intended packets are going through it, no errors
whatsoever. They are being marked correctly by iptables
and tc filter classifies according to mark. The only problem
seems to be the excess bandwidth distribution, which
leaves me to the question:

How could the hooks of IMQ and the excess bandwidth
distribution of HTB relate in this setup?

I hope you are understanding that I do not question your
knowledge. I'm just not fully persuaded of this yet, so I'd
like to discuss it a bit more.

And thanks a lot for the additional information you gave me!


Kind regards,

Leslie

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

  parent reply	other threads:[~2004-10-29  6:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-28 16:55 [LARTC] HTB: Problem with excess bandwidth distribution Leslie Patrick Polzer
2004-10-28 17:20 ` Saad S. B. Faruque
2004-10-28 17:45 ` Zviad O. Giorgadze
2004-10-28 22:04 ` Andy Furniss
2004-10-29  6:11 ` Leslie Patrick Polzer [this message]
2004-10-29 11:17 ` Leslie Patrick Polzer
2004-10-29 15:29 ` Andy Furniss
2004-10-29 15:36 ` Leslie Patrick Polzer
2004-10-29 16:19 ` Jason Boxman
2004-10-29 17:40 ` Francisco Pereira
2004-10-29 22:03 ` Andy Furniss
2004-10-29 23:24 ` Andy Furniss
2004-10-31 12:03 ` Andy Furniss

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=4181DF19.7050502@gmx.net \
    --to=leslie.polzer@gmx.net \
    --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.