--0-1309536956-1089389199=:9192
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hi ,
I have the problem with HTB queuing discipline.I am giving my setup below.
172.30.179.206 172.30.180.55
LAN | | WAN
-----------------| LINUX WITH |--------------
172.30.179.140 | HTB | 172.30.180.72
FTP SERVER FTP CLIENT
On the LAN side i put FTP server(172.30.179.140) and on WAN side i put FTP
client(172.30.180.72).
FTP client and FTP server will communicate through the middle linux box.
Middle linux box has two interfaces.eth0 is 172.30.179.206 and
eth1 is 172.30.180.55
In the middle linux box i configured HTB using following commands.
./tc qdisc add dev eth0 root handle 1:0 htb
./tc class add dev eth0 parent 1:0 classid 1:1 htb rate 30kbps ceil 30kbps
./tc class add dev eth0 parent 1:1 classid 1:10 htb rate 30kbps ceil 30kbps
./tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dst
172.30.180.72 match ip sport 21 0xffff flowid 1:10
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dst
172.30.180.72 match ip sport 20 0xffff flowid 1:10
When i downloaded one file of size 10.7MB from FTP server(i.e from
172.30.179.140) to client(i.e. 172.30.180.72) , download speed is coming as
362.19kbytes/sec instead of 30kbps which i ceil.What may be the problem? Any
configuration issue?Any idea?
Thanks in advance,
Aravind.
Yahoo! India Careers: Over 50,000 jobsonline.
--0-1309536956-1089389199=:9192
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<DIV>Hi ,</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> I have the problem with HTB queuing
discipline.I am giving my setup below.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> 172.30.179.206
172.30.180.55</DIV>
<DIV> </DIV>
<DIV> LAN
| |
WAN</DIV>
<DIV> -----------------| LINUX
WITH |--------------</DIV>
<DIV>172.30.179.140 |
HTB |
172.30.180.72</DIV>
<DIV><STRONG>FTP
SERVER
FTP CLIENT</STRONG></DIV>
<DIV> </DIV>
<DIV>On the LAN side i put FTP server(172.30.179.140) and on WAN side i
put FTP client(172.30.180.72).</DIV>
<DIV> </DIV>
<DIV>FTP client and FTP server will communicate through the middle linux
box.</DIV>
<DIV> </DIV>
<DIV>Middle linux box has two interfaces.eth0 is 172.30.179.206 and
</DIV>
<DIV>eth1 is 172.30.180.55</DIV>
<DIV> </DIV>
<DIV>In the middle linux box i configured HTB using following
commands.</DIV>
<DIV> </DIV>
<DIV>./tc qdisc add dev eth0 root handle 1:0 htb</DIV>
<DIV> </DIV>
<DIV>./tc class add dev eth0 parent 1:0 classid 1:1 htb rate
30kbps ceil 30kbps </DIV>
<DIV> </DIV>
<DIV>./tc class add dev eth0 parent 1:1 classid 1:10 htb rate
30kbps ceil 30kbps</DIV>
<DIV> </DIV>
<DIV>./tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip
dst 172.30.180.72 match ip <STRONG>sport</STRONG>
<STRONG>21</STRONG> 0xffff flowid 1:10</DIV>
<DIV><BR>tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32
match ip dst 172.30.180.72 match ip <STRONG>sport 20</STRONG> 0xffff
flowid 1:10</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>When i downloaded one file of size 10.7MB from FTP server(i.e from
</DIV>
<DIV>172.30.179.140) to client(i.e. 172.30.180.72) , download speed is
coming as <STRONG>362.19kbytes/sec</STRONG> instead of<STRONG>
30kbps</STRONG> which i ceil.What may be the problem? Any configuration
issue?Any idea?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks in advance,</DIV>
<DIV>Aravind.</DIV>
<DIV> </DIV><p><font face=arial size=-1>
<a
href="http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.naukri.com/"
target="_blank">
<b>Yahoo! India Careers</a>:</b> Over 50,000 jobs
<a
href="http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.naukri.com/"
target="_blank">online</a>.</font>
--0-1309536956-1089389199=:9192--