All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Bergqvist daniel@netatonce.se
To: lartc@vger.kernel.org
Subject: SV: [LARTC] Bandwidth limiting
Date: Thu, 23 Nov 2000 09:12:29 +0000	[thread overview]
Message-ID: <marc-lartc-98373938216967@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373938216960@msgid-missing>

<PRE>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:<A HREF="mailto:thomas@habets.pp.se">thomas@habets.pp.se</A>]
Skickat: Thursday, November 23, 2000 12:35 AM
Till: Daniel Bergqvist; <A HREF="mailto:lartc@mailman.ds9a.nl">lartc@mailman.ds9a.nl</A>
Ämne: Re: [LARTC] Bandwidth limiting

On Wed, 22 Nov 2000, Daniel Bergqvist wrote:
&gt;<i> tc qdisc add dev eth1 root tbf rate 10kbit buffer 5kb/8 limit 10kb
</I>
It works perfectly, thank you very much.

&gt;<i> This adds an token bucket flow qdisc to eth1 and limits traffic to
</I>&gt;<i> 10kbit/s. Note: It only limits outgoing traffic, not incomming traffic.
</I>
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[]      = { &quot;Thomas Habets&quot; };
  char email[]     = { &quot;<A HREF="mailto:thomas@habets.pp.se">thomas@habets.pp.se</A>&quot; };
  char kernel[]    = { &quot;Linux 2.2&quot; };
  char *pgpKey[]   = { &quot;finger -m <A HREF="mailto:thompa@darkface.pp.se">thompa@darkface.pp.se</A>&quot; };
  char pgpfinger[] = { &quot;6517 2898 6AED EA2C 1015  DCF0 8E53 B69F 524B
B541&quot; };
  char coolcmd[]   = { &quot;echo '. ./_&amp;. ./_'&gt;_;. ./_&quot; };
} me_t;



</PRE>

  parent reply	other threads:[~2000-11-23  9:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-22 14:25 SV: [LARTC] Bandwidth limiting Daniel
2000-11-22 16:58 ` Daniel
2000-11-23  9:12 ` Daniel [this message]
2000-11-23 16:05 ` Thomas
2000-11-23 16:10 ` Thomas
2000-11-23 16:21 ` Wingtung.Leung
2000-11-24 14:53 ` Thomas
2000-11-24 21:37 ` Wingtung.Leung

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=marc-lartc-98373938216967@msgid-missing \
    --to=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.