--0-1883656042-1043069811=:29393 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello I was thinking Prio qdisc has 3 classes by default.Hence it should be possible to enque the packets into one of these classes using tc filters as shown below.Can anyone clarify this Regards, Anil From: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]On Behalf Of Andreas Wright Sent: 20 January 2003 14:30 To: LARTC@mailman.ds9a.nl Subject: [LARTC] Help Needed with TC qdisc and filters Hello , I am trying to use tc to do the following ..on the interface(eth0) I want to give priority to to packets coming from a specific IP address 1.2.3.4 over packets from IP address 1.2.3.5 . I would like to know if the following setup would work with PRIO qdisc. tc qdisc add dev eth0 root handle 10 : prio tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \ match ip src 1.2.3.4/32 flowid 10:1 tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \ match ip dst 1.2.3.4/32 flowid 10:1 tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \ match ip src 1.2.3.5/32 flowid 10:2 tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \ match ip dst 1.2.3.5/32 flowid 10:2 Can I test this setup by using flooding ping from 1.2.3.4 and 1.2.3.5 to the machine configured with tc ? I expected that pings from 1.2.3.5 will be dropped giving priority to 1.2.3.4 Looking forward to your input, Andreas. With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs --------------------------------- With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs --0-1883656042-1043069811=:29393 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit <P>Hello <P>I was thinking Prio qdisc has 3 classes by default.Hence it should be possible to enque the packets into one of these classes using tc filters as shown below.Can anyone clarify this <P>Regards, <P>Anil <P> </P> <P> </P> <P>From: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]On<BR>Behalf Of Andreas Wright<BR>Sent: 20 January 2003 14:30<BR>To: LARTC@mailman.ds9a.nl<BR>Subject: [LARTC] Help Needed with TC qdisc and filters<BR><BR><BR>Hello ,<BR>I am trying to use tc to do the following ..on the interface(eth0) I want to<BR>give priority to to packets coming from a specific IP address 1.2.3.4 over<BR>packets from IP address 1.2.3.5 .<BR>I would like to know if the following setup would work with PRIO qdisc.<BR>tc qdisc add dev eth0 root handle 10 : prio<BR>tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \<BR>match ip src 1.2.3.4/32 flowid 10:1<BR>tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \<BR>match ip dst 1.2.3.4/32 flowid 10:1<BR>tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \<BR>match ip src 1.2.3.5/32 flowid 10:2<BR>tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32 \<BR>match ip dst 1.2.3.5/32 flowid 10:2<BR>Can I test this setup by using flooding ping from 1.2.3.4 and 1.2.3.5 to the<BR>machine configured with tc ?<BR>I expected that pings from 1.2.3.5 will be dropped giving priority to<BR>1.2.3.4<BR>Looking forward to your input,<BR>Andreas.<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits<BR>your needs<BR></P><p><p><br><hr size=1><a href="http://uk.yahoo.com/mail/tagline_xtra/?http://uk.docs.yahoo.com/mail_storage.html"><b><font face="Arial" size="2">With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs</font></b></a><br> --0-1883656042-1043069811=:29393--