From: bert hubert <ahu@ds9a.nl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] New and need help with TC
Date: Sat, 05 Jan 2002 13:29:09 +0000 [thread overview]
Message-ID: <marc-lartc-101023742209295@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101012881828844@msgid-missing>
On Fri, Jan 04, 2002 at 02:18:26AM -0500, Stefan Schueller wrote:
> I did get some limiting to work but it's not working the way I want and
> that's mostly because I still don't understand some of the commands I'm
> using. I want to limit my total bandwidth to a maximum of 256kbits but I
> don't want one user to take it all. I also don't want to have everyone
> suffer because one site has a lot of hits. I want to make the site with the
> high traffic slower than the other sites but I don't want the total to go
> over 256kbits. The IP of the high traffic site is 209.150.199.225. All
> others should be able to download at a speed up to 200k and have priority
> over the high traffic site.
Ok. What you want is a 256kbit/s CBQ with SFQ within.
> Also does anyone have a nice traffic monitor that shows me the traffic of
> each IP which I can use with rrdtool? I have cban right now but it only
> shows overall traffic on the adapter.
I use iptables to make rules matching each IP, and then hook that up to
rrdtool with some sed/grep magic.
> Here is what I have right now. It is limiting traffic at 256kbits more or
> less but I still get spikes over 1mbits which kills my avarage and gets me
> the high ISP bill at the end of the month.
You may want to read http://ds9a.nl/lartc/manpages - It will explain the
stuff you are guessing at. How does your ISP measure your usage? 10 second
interval? The ISPs I know use a 5 minute interval.
Regards,
bert
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
prev parent reply other threads:[~2002-01-05 13:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-04 7:18 [LARTC] New and need help with TC Stefan Schueller
2002-01-05 13:29 ` bert hubert [this message]
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-101023742209295@msgid-missing \
--to=ahu@ds9a.nl \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox