Hi All,

First I will explain my setup , my setup is like this

                |
                |
        Linux Box with TC to set the bandwidth ( Traffic controller )
                |
                |
                |
        Client ( Win 95 or Linux box) 172.16.16.2

When Linux box as a client and connected to linux Box traffic controller
and set the different values of bandwidth , I am getting exact values.

When the same experiment is done with win-95/98/NT as a clinet , the values are not at 
all matching anywhere it is giving me some unexpected values. when bandwidth set to 
4Mbps and I am getting around 1.02Mbps where as in linux case I am getting around 
3.96Mbps.  

Comapring these two set of values , when linux box as a client , 
it is giving me an expected or acceptable values. But as win-95/98 
these set of values are no where matching. 
What would be the problem ?


These two systems are connectd with cross cable no hub/switch.

The TC command which I have used to control the traffic is as follows.

#!/bin/sh
TC=/tc/iproute2/tc/tc

$TC qdisc add dev eth1 root handle 15: cbq bandwidth 10MBit avpkt 1000 
$TC class add dev eth1 parent 15:0 classid 15:1 cbq bandwidth 10MBit rate 10MBit allot 
1514 weight 1MBit prio 7 maxburst 20 avpkt 1000 


$TC class add dev eth1 parent 15:1 classid 15:10 cbq bandwidth 10MBit rate 4MBit allot 
1514 weight 4KBit prio 7 maxburst 20 avpkt 1000 bounded 


$TC  qdisc add dev eth1 parent 15:10 sfq quantum 1514b perturb 15 

$TC filter add dev eth1 parent 15:0 protocol ip prio 500 u32 match ip dst 172.16.16.2 
flowid 15:10

any help is anticipiated.

Thanks in advance.

Regards

Venkat Hallale


Get your small business started at Lycos Small Business at 
http://www.lycos.com/business/mail.html


----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH

Reply via email to