From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bergqvist daniel@netatonce.se Date: Wed, 22 Nov 2000 16:58:49 +0000 Subject: SV: [LARTC] Bandwidth limiting Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org
Try:

tc qdisc add dev eth1 root tbf rate 10kbit buffer 5kb/8 limit 10kb

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

Regards
Daniel

-----Ursprungligt meddelande-----
Fr=E5n: lartc-admin@mailman.=
ds9a.nl [mailto:lartc-ad=
min@mailman.ds9a.nl]F=F6r
Thomas Habets
Skickat: Wednesday, November 22, 2000 5:35 PM
Till: daniel@netatonce.se; lartc@mailman.ds9a.nl
=C4mne: Re: [LARTC] Bandwidth limiting


(I got this answer from the archives, I have not received it by mail. Odd)

>What doesn't work? Do you get error messages when you run TC or don'=
t you
>know how to use TC?

I don't know how to use TC, which got me to read tutorials and try things
for
hours and hours. Nothing I've tried limits bandwidth.

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

_______________________________________________
LARTC mailing list / LARTC@mailman=
.ds9a.nl
http://mailman.ds=
9a.nl/mailman/listinfo/lartc HOWTO:
http://ds9a.nl/2.4Routing/