| To: | lartc@mailman.ds9a.nl |
|---|---|
| Subject: | [LARTC] Need help with this simple CBQ setup NEWBIE |
| From: | "Ali Jawad" <alijawad1@gmail.com> |
| Date: | Mon, 18 Dec 2006 00:57:48 +0200 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | lartc-list@securepoint.com |
| Delivered-to: | lartc@outpost.ds9a.nl |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=gKN5Ze2yNMj1/nIwee7PzPNGP6sfGrgh+ejTDFuQLu2XeyiWsP8zsM3QgBV0Gwjamb+Sy4wbGUtpXrAeIiNSds3TCoUfn9PyZRE0kmffnI+xcKRnEs9A2oxKJyvV/A3hPka0+x/MtiRoJiAWtPTjzwPHudWj5CVoR0U0+//NNF0= |
| List-archive: | <http://mailman.ds9a.nl/pipermail/lartc> |
| List-help: | <mailto:lartc-request@mailman.ds9a.nl?subject=help> |
| List-id: | "Mailinglist of the Linux Advanced Routing & Traffic Control project" <lartc.mailman.ds9a.nl> |
| List-post: | <mailto:lartc@mailman.ds9a.nl> |
| List-subscribe: | <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe> |
| List-unsubscribe: | <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe> |
| Sender: | lartc-bounces@mailman.ds9a.nl |
Hi Iam using the script below to limit usage for the computers on my lan with respect to download and upload I have a 256kb up and 256 kb down connection, I want limit the speed of each computer to 64kbyte down and 32 up as a maximum. The script below works however it limits the up and down of the whole specified network to 64/32 ... what do I have to edit so that the script handles the requests on a per computer basis instead of a network as a whole. Thx for any suggestions #Download Section tc qdisc add dev eth2 root handle 11: cbq bandwidth 100Mbit avpkt \ 1000 mpu 64 tc class add dev eth2 parent 11:0 classid 11:1 cbq rate 64Kbit \ weight 6Kbit allot 1514 prio 1 avpkt 1000 bounded tc filter add dev eth2 parent 11:0 protocol ip handle 4 fw flowid 11:1 iptables -t mangle -A POSTROUTING -s ! 192.168.128.16/28 -d \ 192.168.128.16/28 -j MARK --set-mark 4 #Upload Section tc qdisc add dev eth0 root handle 10: cbq bandwidth 10Mbit avpkt \ 1000 mpu 64 tc class add dev eth0 parent 10:0 classid 10:1 cbq rate 30Kbit \ weight 3Kbit allot 1514 prio 1 avpkt 1000 bounded tc filter add dev eth0 parent 10:0 protocol ip handle 3 fw flowid 10:1 iptables -t mangle -A FORWARD -s 192.168.128.16/28 -j MARK --set-mark 3 -- With Regards Ali Jawad _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [LARTC] where can I find source code of bridge control utility (brctl).(bridge-utils-0.9.5.tar.gz), Andy Furniss |
|---|---|
| Next by Date: | Interesting article about punching holes in firewalls..., Grant Taylor |
| Previous by Thread: | [LARTC] where can I find source code of bridge control utility (brctl).(bridge-utils-0.9.5.tar.gz), Salil Mehta |
| Next by Thread: | Interesting article about punching holes in firewalls..., Grant Taylor |
| Indexes: | [Date] [Thread] [Top] [All Lists] |