--0-2124348495-1014395894=:60497 Content-Type: text/plain; charset=us-ascii HI all.. Iam using tc for testing diffserv fucntionalites. My basic interest is to allocate two classes for TCP and UDP and allot diff bw shares and test applying traffic generators. Iam using CBQ as my queueing discipline... tc qdisc add eth1 handle 10:root cbq allot 100Mb avpkt 100 bandwidth 100Mbit Class 1:tc class add dev eth1 parent 10:1 root cbq weight 2 allot 40mb prio 2 avpkt 1000 rate 60mbit bandwidth 60mbit bounded isolated Class 2:tc class add dev eth1 parent 10:2 root cbq weight 7 allot 30mb prio 7 avpkt 1000 rate 60mbit bandwidth 60mbit bounded isolated filter 1:tc filter add dev eth1 prio 2 protocop ip root handle 1 fw classid 10:1 filter 2:tc filter add dev eth1 prio 7 protocop ip root handle 2 fw classid 10:2 ipchains -I output1 -p tcp -m 1 ipchains -I output2 -p udp -m 2 Question 1: My intention is to apply a class.1 to TCP traffic class no.2 to UDP traffic. Is that acheived? Iam using Iptraf to check the statistics at the interfaces.. but i see a little difference Question 2: Is there any way where i can check the bw alloted to diff classes graphically or by numbers? Thanks for your help in advance --------------------------------- Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games --0-2124348495-1014395894=:60497 Content-Type: text/html; charset=us-ascii <P>HI all..</P> <P>Iam using tc for testing diffserv fucntionalites.</P> <P>My basic interest is to allocate two classes for TCP and UDP and allot diff bw shares and test applying traffic generators.</P> <P>Iam using CBQ as my queueing discipline...</P> <P>tc qdisc add eth1 handle 10:root cbq allot 100Mb avpkt 100 bandwidth 100Mbit</P> <P>Class 1:tc class add dev eth1 parent 10:1 root cbq weight 2 allot 40mb prio 2 avpkt 1000 rate 60mbit bandwidth 60mbit bounded isolated</P> <P>Class 2:tc class add dev eth1 parent 10:2 root cbq weight 7 allot 30mb prio 7 avpkt 1000 rate 60mbit bandwidth 60mbit bounded isolated</P> <P>filter 1:tc filter add dev eth1 prio 2 protocop ip root handle 1 fw classid 10:1</P> <P>filter 2:tc filter add dev eth1 prio 7 protocop ip root handle 2 fw classid 10:2</P> <P>ipchains -I output1 -p tcp -m 1</P> <P>ipchains -I output2 -p udp -m 2</P> <P> Question 1:</P> <P>My intention is to apply a class.1 to TCP traffic class no.2 to UDP traffic. Is that acheived? Iam using Iptraf to check the statistics at the interfaces.. but i see a little difference</P> <P>Question 2:</P> <P>Is there any way where i can check the bw alloted to diff classes graphically or by numbers?</P> <P>Thanks for your help in advance</P> <P> </P> <P> </P><p><br><hr size=1><b>Do You Yahoo!?</b><br> <a href="http://sports.yahoo.com/oly">Yahoo! Sports</a> - Coverage of the 2002 Olympic Games --0-2124348495-1014395894=:60497--