Hi, Looking at the following sample, shouldn't the client1_a be restricted to 35kBps even when there is 50kBps available. Please see the following configuration and suggest. What I wanted to do is I have clients grouped on VIP and Poor. The VIP clients and poor clients may be subscribed with the same bandwidth but I would like to prioritize the VIP clients. The VIP client will get the allocated rate. If VIP is not using the links then poor clients will get allocated rates, otherwise they are supressed. Among the VIP clients they will get the allocated bandwidth, some may be 64kbps, some may be 128kbps. e.g. In case of full utilization, the VIP client with 64kbps should get full 64kbps but the poor client with 128kbps may get much lower. I will appreciate your suggestion. regds, Rajendra. #include "fields.tc" #include "ports.tc" #define LANSIDE eth0 #define WANSIDE eth1 /*######### Shape DOWNLOAD Traffic ############*/ /*#############################################*/ dev LANSIDE { egress { class ( <$client1_a> ) if ip_dst == 10.10.10.24; class ( <$client1_b> ) if ip_dst == 10.10.10.22; class ( <$client2> ) if ip_dst == 10.10.10.23; htb() { //Total Bandwidth class (rate 50kBps, ceil 50kBps) { //VIP clients class (rate 40kBps, ceil 50kBps) { $client1_a = class (rate 35kBps, ceil 35kBps) ; $client1_b = class (rate 10kBps, ceil 10kBps) ; } //Poor clients class (rate 10kBps, ceil 50kBps) { $client2 = class (rate 35kBps, ceil 35kBps) ; } } } //End of qdiscs (HTB) } } //End of device (LANSIDE) /*######### Shape UPLOAD Traffic ##############*/ /*#############################################*/ ~ _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc