Netdev List
 help / color / mirror / Atom feed
From: Mihamina Rakotomandimby <mihamina@gulfsat.mg>
To: netdev@vger.kernel.org
Subject: tc download always to "default"
Date: Mon, 22 Mar 2010 13:44:39 +0300	[thread overview]
Message-ID: <20100322134439.517b4447@pbmiha.malagasy.com> (raw)

Manao ahoana, Hello, Bonjour,

This is my simple topology:

  LAN <--> (eth1)[gateway](eth2) <--> Internet

The gataway NATs (Masquerade) but there is no trouble about this.

I would like to limit the DOWNLOAD bandwidth per host.
Download is:

  Internet -> gateway -> eth1 -> LAN Host

LAN is 10.150.0.128/25

There are sample lines of my "tc" ruleset: 
http://pastebin.org/119806


My problem is all the traffic is caught by "classid 1:10", the default
class.

Nothing is trapped by "classid 1:301" -> "classid 1:426"

At a first glance, would you see something wrong in these?

Misaotra, Thanks, Merci.

-- 
       Architecte Informatique chez Blueline/Gulfsat:
    Administration Systeme, Recherche & Developpement
                +261 34 29 155 34 / +261 33 11 207 36

                 reply	other threads:[~2010-03-22 11:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20100322134439.517b4447@pbmiha.malagasy.com \
    --to=mihamina@gulfsat.mg \
    --cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox