Hey I was wondering if you could use cbq to divide bandwidth into say 2 classes. Ie: divide a 100Mbit router into 80Mbits and 20Mbits, Then implement priority queueing within the 20Mbit class, so that all traffic from say one IP receives highest priority. --------- |100Mbit| | | -------- / \ / \ / \ -------- -------- |20Mbit| |80Mbit| | | | | -------- -------- | | \ / priority queueing within this class All traffic from 192.168.4.0/24 goes through the 20Mbit class accomplished with : #Generate client 1 class queue tc class add dev eth1 parent 10:1 classid 10:100 cbq \ bandwidth 100Mbit rate $CLIENT_1_BANDWIDTH allot 1514 weight \ $CLIENT_1_PRIO prio 5 maxburst 20 avpkt 1000 bounded #Manage client class queue 1 tc qdisc add dev eth1 parent 10:100 sfq quantum 1514b perturb 15 192.168.4.3/32 must receive higher priority for video conferencing say, # If not mistaken this marks the packets to be filtered? # It does not actually give traffic to this IP preferred handling does it? tc filter add dev eth1 parent 10:100 protocol ip prio 0 u32 match ip dst 192.168.4.3/32 flowid 10:150 If someone could be so kind as to help me out that would be great! Or must I create a new root class to implement the priority queueing for the prefered IP. Warmest reguards, Al -- ------------------------------------------------------------------ Allan McIntosh, Software Technologist Atreus Systems Corp, http://www.atreuscorp.com Phone: (613) 569 2196 Fax: (613) 233-8204 ------------------------------------------------------------------ - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu