From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Sat, 05 Jan 1980 16:14:35 +0000 Subject: Re: [LARTC] tc Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Monday 01 April 2002 02:03, Srikanth Goteti wrote: > 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. How do you measure the bandwidth ? > /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 And what if you bound this class as well ? Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/