Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Vinu Chandran <vinu@atria.edu>
To: lartc@vger.kernel.org
Subject: [LARTC] tc not restricting the total bandwidth
Date: Mon, 01 Mar 2004 05:47:05 +0000	[thread overview]
Message-ID: <20040301110505.770c558f.vinu@atria.edu> (raw)

Hi all

	I've got a cable modem connection with 256 Kbit/sec bandwidth. Modem is connected to the eth0 of my linux server where am running htb. eth1 is connected to switch where all my LAN systems are connected. My requirement is, I need to restrict the total downstream bandwidth to 128 Kbit/sec. Along with that I'm shaping each LAN systems to a 48 Kbit/sec. I'm generating mrtg graphs at the server for checking the total throughput. The root class htb file I've mentioned 

	[root@bms htb]# cat eth1-2.root
		# root class containing total bandwidth
		RATE\x128Kbit
		
and in the class for incoming traffic i've mentioned

	[root@bms htb]# cat eth1-2:3.www
		# class for incoming traffic
		RATE\x128Kbit
		CEIL\x128Kbit
		PRIO=0
		LEAF=sfq
		RULE=*


And for child classes (individual LAN systems), example file

	[root@bms htb]# cat eth1-2:3:10.act10
		RATEHKbit
		CEILdKbit
		LEAF=sfq
		RULE\x192.168.1.10


HTB is able to shape the individual LAN systems to 48 Kbit/sec. But the total bandwidth its not able to restrict to 128 Kbit/sec. It's reaching to 230 Kbit/sec which is almost close to the total bandwidth what my ISP has assigned to my cable modem. (From mrtg graph). 

What could be the reason ? Am I missing any configuration lines or any other method is there which i need to follow ? Please advise.

regards

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

                 reply	other threads:[~2004-03-01  5:47 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=20040301110505.770c558f.vinu@atria.edu \
    --to=vinu@atria.edu \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox