All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Lamer needs help for basic tc setup
Date: Thu, 16 Jun 2005 00:56:24 +0000	[thread overview]
Message-ID: <42B0CE38.3080103@dsl.pipex.com> (raw)
In-Reply-To: <20050610062118.59902.qmail@web312.biz.mail.mud.yahoo.com>

Geri Fehringer wrote:
> Hi fellows,
> 
> 
> i'm just a newbie to use the cool tc and played around
> the last 2 weeks.
> 
> I'm quite confident - in theory - what's possible and
> the basic difference
> between the queuing disciplines.
> 
> We're using a Fedora Core 3 box as Gateway
> (iptables,tc,iproute2 with NAT).
> Clients are coming in via eth1 and outgouing traffic
> (2Mbit/s SDSL) through
> eth0.
> 
> So we would like to enable bandwidth limitation
> per-user, so i just used
> several scripts (htp from sourceforge,cbq.init
> ,wondershaper etc).
> (Each client: Downstream max 128kbit/s, Upstream max
> 90kbit/s)
> 
> Shaping is working fine if i mark this specific source
> with a iptables
> rule, but as soon i apply multiple different source
> ip's to mark it within
> the same queue, all are sharing my limitation and i
> thought each of them
> will get the rate-limiting.

You need to have a seperate class and mark for each user

> I also tried the u23 matching within tc, but same
> effect,

When doing NAT u32 will work for downloads shaped on the lan facing 
interface but not for uploads on the wan interface you need to 
mark/classify.



> qdisc cbq 1: rate 2Mbit (bounded,isolated) prio
> no-transmit

I would use htb with a class for each user - It would probably be nicer 
to seperate interactive traffic out from bulk aswell - depends on how 
many users share the bandwidth really.

Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  reply	other threads:[~2005-06-16  0:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-10  6:21 [LARTC] Lamer needs help for basic tc setup Geri Fehringer
2005-06-16  0:56 ` Andy Furniss [this message]
2005-06-16  4:45 ` Dariusz Dwornikowski
2005-06-16 19:51 ` 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=42B0CE38.3080103@dsl.pipex.com \
    --to=andy.furniss@dsl.pipex.com \
    --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.