All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Phil Doroff" <phil21@five-elements.com>
To: lartc@vger.kernel.org
Subject: [LARTC] htb ratelimite a single source IP
Date: Tue, 28 Jan 2003 20:20:22 +0000	[thread overview]
Message-ID: <marc-lartc-104378499822507@msgid-missing> (raw)

[-- Attachment #1: Type: text/plain, Size: 959 bytes --]

Okay, I'm having a complete brainfart here, I apologize for the stupidity of the question.  Just a bit tired.

I have a customer on a shared box, who I gave a dedicated IP to.  I also have a router in between our uplink and him, and I need to apply a ratelimit (via htb) on his IP to 10mbit/sec.  I'd also like to do some fair queuing just so each connection gets an equal amount of bandwidth if it wants it (trying to stuff 35Mbit of big downloads into 10Mbit.. it's not going to be pretty).

Unfortunately I cannot seem to figure out how to just ratelimit based on the source IP, rather than the interface itself.  Obviously ratelimiting our GigE interface to 10meg/sec globally for all customers would be a Very Bad(tm) thing to do. ;)

I know other folk do this, so even just example scripts will give me all I need to get me jumpstarted.

Thanks much,

Phil Doroff
Five Elements, Inc.
phil21@five-elements.com
ICQ: 25285313
(763) 595-9479

[-- Attachment #2: Type: text/html, Size: 1819 bytes --]

             reply	other threads:[~2003-01-28 20:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-28 20:20 Phil Doroff [this message]
2003-01-28 21:24 ` [LARTC] htb ratelimite a single source IP Stef Coene

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-104378499822507@msgid-missing \
    --to=phil21@five-elements.com \
    --cc=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.