From: weihua zhang Date: Tue, 22 Nov 2005 00:22:17 +0000 Subject: [LARTC] HTB classid problem Message-Id: <20051122002217.60323.qmail@web32606.mail.mud.yahoo.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1293096948==" List-Id: To: lartc@vger.kernel.org --===============1293096948== Content-Type: multipart/alternative; boundary="0-360230379-1132618937=:60031" Content-Transfer-Encoding: 8bit --0-360230379-1132618937=:60031 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hey, everyone, I am kindda newbie to this subject, so I just post my problem directly, please let me know if anything is wrong. in my config file when I use tc class add dev eth1 parent 1:11 classid 1:11016 htb rate 512kbit burst 10k everything works correctly but...when classid goes larger than 1:19999, eg: tc class add dev eth1 parent 1:21 classid 1:21006 htb rate 256kbit burst 10k it thows out "RTNETLINK answers: Invalid argument" I am using Fedora core 3 and what I am trying to do here is regulating each mac's packets attached under access point. so basiclly parent 1:21 stands for an access point, and 1:21xxx stands for one device id attached to it. originally we had no more than 50 macs per AP, eg: 1:2101 for upload, 1:2102 for download per mac address. so 1:21xx can cover 50 macs. now when I want to add more than 50 macs under one AP, the classid pattern needs to be updated. it's very strange to me that when I updated all classid to cover 500 macs per AP, eg: 1:21xxx, it throws out invalid argument error, but it works fine when classid was below 1:19999. hope I stated this problem clearly. thanks ahead for the help. --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. --0-360230379-1132618937=:60031 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Hey, everyone, I am kindda newbie to this subject, so I just post my problem directly, please let me know if anything is wrong.
 
in my config file
when I use
tc class add dev eth1 parent 1:11 classid 1:11016 htb rate 512kbit burst 10k
 
everything works correctly
 
but...when classid goes larger than 1:19999, eg:
tc class add dev eth1 parent 1:21 classid 1:21006 htb rate 256kbit burst 10k
it thows out "RTNETLINK answers: Invalid argument"
 
I am using Fedora core 3 and what I am trying to do here is regulating each mac's
packets attached under access point. so basiclly parent 1:21 stands for an access point, and 1:21xxx stands for one device id attached to it. originally we had no more
than 50 macs per AP, eg:  1:2101 for upload, 1:2102 for download per mac address.
so 1:21xx can cover 50 macs.
 
now when I want to add more than 50 macs under one AP, the classid pattern needs to be updated. it's very strange to me that when I updated all classid to cover 500 macs per AP,  eg: 1:21xxx, it throws out invalid argument error, but it works fine when classid was below 1:19999.
 
hope I stated this problem clearly.
thanks ahead for the help.
 

 
 
 


Yahoo! FareChase - Search multiple travel sites in one click. --0-360230379-1132618937=:60031-- --===============1293096948== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1293096948==--