To limit incomming traffic you either limit the traffic when it goes out on another interface, or you use the ingress qdisc. I suggest that you try the first. Assume you have a router with two interfaces, eth0 and eth1, when you may limit incomming traffic on eth0 by limit outgoing traffic on eth1. Regards, Daniel -----Ursprungligt meddelande----- Från: Thomas Habets [mailto:thomas@xxxxxxxxxxxx] Skickat: Thursday, November 23, 2000 12:35 AM Till: Daniel Bergqvist; lartc@xxxxxxxxxxxxxxx Ämne: Re: [LARTC] Bandwidth limiting 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;