This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C1D8DE.54BDD1B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I am using the followings commands to execute to control bandwidth = between 192.168.1.5 - 192.168.1.4 to 50Mbps but when I run these series of commands and check the bandwidth between = these I get only 19Mbps.=20 /sbin/tc qdisc del dev eth0 root /sbin/tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt = 1000 /sbin/tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth = 100Mbit rate 100Mbit weight 10Mbit maxburst 20 avpkt 1000 allot 1514 = prio 3 /sbin/tc class add dev eth0 parent 10:1 classid 10:10 cbq bandwidth = 100Mbit rate 50Mbit weight 5Mbit maxburst 20 avpkt 1000 allot 1514 prio = 3 bounded /sbin/tc filter add dev eth0 parent 10:0 protocol ip prio 3 u32 match ip = dst 192.168.1.4 flowid 10:10 I am also displaying the output of qdisc and class of tc --------------------------------------------------------------- # /sbin/tc -s qdisc show dev eth0 qdisc cbq 10: rate 100Mbit (bounded,isolated) prio no-transmit Sent 26177842 bytes 18063 pkts (dropped 0, overlimits 5406) borrowed 0 overactions 0 avgidle 62 undertime 0 ----------------------------------------------------------------- # /sbin/tc -s class show dev eth0 class cbq 10: root rate 100Mbit (bounded,isolated) prio no-transmit Sent 26792774 bytes 19823 pkts (dropped 0, overlimits 0) borrowed 0 overactions 0 avgidle 62 undertime 0 class cbq 10:10 parent 10:1 rate 50Mbit (bounded) prio 3 Sent 24900652 bytes 16554 pkts (dropped 0, overlimits 7194) borrowed 0 overactions 1314 avgidle 1657 undertime 0 class cbq 10:1 parent 10: rate 100Mbit prio 3 Sent 24900652 bytes 16554 pkts (dropped 0, overlimits 0) borrowed 0 overactions 0 avgidle 60 undertime 0 Thanks in advance, regards, Srikanth Goteti Research Assitant, Dept. of Computer Science, University of Houston ------=_NextPart_000_0006_01C1D8DE.54BDD1B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2713.1100" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV> <DIV><FONT face=3DArial size=3D2> I am using the followings = commands to execute=20 to control bandwidth between</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>192.168.1.5 - 192.168.1.4 to = 50Mbps</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>but when I run these series of commands = and check=20 the bandwidth between these I get only 19Mbps. </FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>/sbin/tc qdisc del dev eth0 = root<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>/sbin/tc qdisc add dev eth0 root handle = 10: cbq=20 bandwidth 100Mbit avpkt 1000<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>/sbin/tc class add dev eth0 parent 10:0 = classid=20 10:1 cbq bandwidth 100Mbit rate 100Mbit weight 10Mbit maxburst 20 avpkt = 1000=20 allot 1514 prio 3</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>/sbin/tc class add dev eth0 parent 10:1 = classid=20 10:10 cbq bandwidth 100Mbit rate 50Mbit weight 5Mbit maxburst 20 avpkt = 1000=20 allot 1514 prio 3 bounded</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>/sbin/tc filter add dev eth0 parent = 10:0 protocol=20 ip prio 3 u32 match ip dst 192.168.1.4 flowid 10:10<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>I am also displaying the output of = qdisc and class=20 of tc</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial=20 size=3D2>---------------------------------------------------------------<= /FONT></DIV> <DIV><FONT face=3DArial size=3D2># /sbin/tc -s qdisc show dev = eth0<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>qdisc cbq 10: rate 100Mbit = (bounded,isolated) prio=20 no-transmit<BR> Sent 26177842 bytes 18063 pkts (dropped 0, = overlimits=20 5406)<BR> borrowed 0 overactions 0 avgidle 62 undertime = 0</FONT></DIV> <DIV><FONT face=3DArial=20 size=3D2>----------------------------------------------------------------= -</FONT></DIV> <DIV><FONT face=3DArial size=3D2># /sbin/tc -s class show dev = eth0<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>class cbq 10: root rate 100Mbit = (bounded,isolated)=20 prio no-transmit<BR> Sent 26792774 bytes 19823 pkts (dropped 0, = overlimits=20 0)<BR> borrowed 0 overactions 0 avgidle 62 undertime 0<BR>class = cbq 10:10=20 parent 10:1 rate 50Mbit (bounded) prio 3<BR> Sent 24900652 bytes = 16554 pkts=20 (dropped 0, overlimits 7194)<BR> borrowed 0 overactions 1314 = avgidle 1657=20 undertime 0<BR>class cbq 10:1 parent 10: rate 100Mbit prio = 3<BR> Sent=20 24900652 bytes 16554 pkts (dropped 0, overlimits 0)<BR> borrowed 0 = overactions 0 avgidle 60 undertime 0<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>Thanks in advance,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>regards,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Srikanth Goteti</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Research Assitant,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Dept. of Computer Science,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>University of Houston</FONT></DIV> <DIV><FONT face=3DArial size=3D2> </DIV></FONT></BODY></HTML> ------=_NextPart_000_0006_01C1D8DE.54BDD1B0--