| To: | "Pio Mendez" <pio_mendez@hotmail.com>, lartc@mailman.ds9a.nl |
|---|---|
| Subject: | Re: [LARTC] Allocating 64 kbits/s out of 256 kbits/s for one LAN behingfirewall |
| From: | "Indunil Jayasooriya" <indunil75@gmail.com> |
| Date: | Wed, 8 Aug 2007 12:30:59 +0530 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | lartc-list@securepoint.com |
| Delivered-to: | lartc@outpost.ds9a.nl |
| Dkim-signature: | a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Zvse0/WV/+Q+9cMfGZjy0DfE/Iha7sU8APGe0ZX1xiuhmlxNgrHC4eE2iwtH5VcYnJhPnaX89MrGd04mmJAbBEIsqQdpkesAngGB8Ei7xPRt3mX5ylYwkNRd3u3LJPaqd8gqwloyJYLjqvYRxlypEnOf863RsF1zNDaNlCw0jfU= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=e/JGJdo8qrFk1rV2F4YpNI/H8jRwFaThSpDt5mKh0MPA6f9LoMDCaWFzVOv71lPbSDcGPcrFd578glSyaGvl57ITmAGBILllvKVuw1KH6c2/HZOd4WgXc7UUFXMF5e1ldwZJyac+rHylmc/K0YDQIdoj1MJaE0nf6F3i2SlAUok= |
| In-reply-to: | <BAY117-F21B33DE88A8C6C24D37B21FBE60@phx.gbl> |
| 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> |
| References: | <7ed6b0aa0708060005w14d11cfdq9482d0c2eaba562f@mail.gmail.com> <BAY117-F21B33DE88A8C6C24D37B21FBE60@phx.gbl> |
| Sender: | lartc-bounces@mailman.ds9a.nl |
|
Hi Paolo Malfatti,
But I still can not allocate 64 kbit for LAN. We have a 256 kbit link. We usually download around @ 30-33 kbytes per second. That means, when it comes to kbits, I will have to mulitple it in to 8 as 1kbps=8kbit . pls see below for usual download rate, before applying your rules. [root@worldnet wget]# wget http://mirrors.kernel.org/centos/5.0/isos/i386/CentOS-5.0-i386-bin-6of6.iso
Then, I applied your rules. pls see below
INTERFAZ_INT=eth0 FULLBANDWIDTH=256 BANDWIDTH4LAN=64 iptables -t mangle -A PREROUTING -s 192.168.101.0/24 -j MARK --set-mark 0x5 tc qdisc add dev $INTERFAZ_INT root handle 1 htb r2q 4 Still no luck. after applying rules, I downloaded an centos ISO image. But , I still can download @ usual rate. ( i.e 30-33 kbytes per seconds). If your rules work, I will be able to download @ about 8 kbyes per second. (i.e - 8*8 kbit= 64 kbit) That is what I expect ? Where have I gone wrong? On 8/7/07, Pio Mendez <pio_mendez@hotmail.com> wrote:
-- Thank you Indunil Jayasooriya _______________________________________________ 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: | [LARTC] Classful queues, Jonathan Gazeley |
|---|---|
| Next by Date: | [LARTC] Problem with packet mangling over 2 links, Michael Magua |
| Previous by Thread: | Re: [LARTC] Allocating 64 kbits/s out of 256 kbits/s for one LAN behingfirewall, Indunil Jayasooriya |
| Next by Thread: | [LARTC] newbiew required some help, Anil Thapa |
| Indexes: | [Date] [Thread] [Top] [All Lists] |