From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arindam Haldar Date: Fri, 03 May 2002 03:57:36 +0000 Subject: Re: [LARTC] cbq with cbq as subclasses does not work for me. Help! Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org >> >>================================= >>tc qdisc add dev eth0 root handle 1: cbq bandwidth 100Mbit allot 1514 >>cell 8 avpkt 1000 mpu 64 >> >>tc class add dev eth0 parent 1: classid 1:1 cbq bandwidth 100Mbit rate >>100Mbit allot 1514 cell 8 avpkt 1000 weight 10Mbit prio 5 maxburst 20 >> >>tc class add dev eth0 parent 1:1 classid 1:2 cbq bandwidth 100Mbit rate >>20Mbit allot 1514 cell 8 avpkt 1000 weight 2Mbit prio 5 maxburst 20 >> >>tc qdisc add dev eth0 parent 1:2 handle 2: cbq bandwidth 20Mbit allot >>1514 cell 8 avpkt 1000 mpu 64 >> >>tc class add dev eth0 parent 2: classid 2:1 cbq bandwidth 20Mbit rate >>20Mbit allot 1514 cell 8 avpkt 1000 weight 2000Kbit prio 5 maxburst 20 >> >>tc class add dev eth0 parent 2:1 classid 2:2 cbq bandwidth 20Mbit rate >>10Mbit weight 1000Kbit allot 1514 cell 8 avpkt 1000 prio 5 maxburst 20 >> >>tc class add dev eth0 parent 2:1 classid 2:3 cbq bandwidth 20Mbit rate >>5Mbit weight 500Kbit allot 1514 cell 8 avpkt 1000 prio 2 maxburst 20 >> >>tc filter add dev eth0 parent 2:0 protocol ip prio 10 u32 match ip dst 192.168.11.58 match ip protocol 6 0xff flowid 2:2 ===========> parent 1:0 >>tc filter add dev eth0 parent 2:0 protocol ip prio 10 u32 match ip dst 192.168.11.58 match ip protocol 17 0xff flowid 2:3 ===========> parent 1:0 hope this works !!..works for me !! :) are u working with 1 ether port only ?? _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/