From: Ali Jawad <alijawad1@gmail.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Help On Upload Limiting Using CBQ.init
Date: Thu, 24 Aug 2006 09:16:25 +0000 [thread overview]
Message-ID: <44ED6E69.3090503@gmail.com> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Guys
Ive got an internet cafe on which I have a debian sarge box running.
The Debian box acts as a gateway and it has masquerading on. I have 40
client PC and i do not want to assign more than 64k per pc for upload
and the same is true for download too. Ive done alot of research and Ive
read tutorials about CBQ and HTB. I found that CBQ.init is the best
script to serve my needs. I was successfully able to limit download per
client using the script.
However I was not able to limit upload per client whatever method I used.
Please HELP ME LIMIT THE UPLOADS ON A PER CLIENT BASIS.
This is my Setup :
INTERNET ---- eth0 DEBIAN eth1 -- LAN SWITCH ---40 PCS
The working CBQ script that I use to limit download for a certain PC is:
DEVICE=eth1,100Mbit,10Mbit
RATEdKbit
WEIGHT=6Kbit
PRIO=5
RULE\x192.168.1.166
The UPLOAD SCRIPT that I use to limit UPLOADS is "NOT WORKING" !!
Upload Script "NOT WORKING"
# --------------------------------------------------------------------------
DEVICE=eth0,10Mbit,1Mbit
RATEdKbit
WEIGHT=6Kbit
PRIO=5
RULE\x192.168.1.166,
# --------------------------------------------------------------------------
As you can see I added the comma at the end of the Rule to indicate the
source of the packet..any suggestions or help on how to make this work
are welcome...!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE7W5pkgA8mKGs24MRArpLAKC4qE/8ApbPDpjZHWegMWoxYnCfyQCgoenV
y7sg+bdQP0L/4Cxv1yg23/o=Vb6R
-----END PGP SIGNATURE-----
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next reply other threads:[~2006-08-24 9:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-24 9:16 Ali Jawad [this message]
2006-08-24 11:09 ` [LARTC] Help On Upload Limiting Using CBQ.init Nikolay Nikolaev
2006-08-25 9:52 ` Andrei Sandu
2006-08-25 13:55 ` Andrei Sandu
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=44ED6E69.3090503@gmail.com \
--to=alijawad1@gmail.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.