Hello I have problem with wrr and more than 1300 classes when i try to add qdisc like: tc qdisc add dev imq1 parent 1:21 handle 1000: wrr dest ip 1512 0 then i have a message like: RTNETLINK answers: Cannot allocate memory And some other problem: When I do more than 2048 filters I have message like: Classes: tc class add dev imq1 parent 1:1 classid 1:9 htb rate 1024kbit ceil 2048kbit .. tc class add dev imq1 parent 1:1 classid 1:10 htb rate 1024kbit ceil 2048kbit ... ... ... tc class add dev imq1 parent 1:1 classid 1:2048 htb rate 1024kbit ceil 2048kbit tc class add dev imq1 parent 1:1 classid 1:2049 htb rate 1024kbit ceil 2048kbit tc class add dev imq1 parent 1:1 classid 1:2050 htb rate 1024kbit ceil 2048kbit Filters: tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip dst 1.1.1.1 flowid 1:9 .. tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip dst 1.1.1.1 flowid 1:10 ... ... ... tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip dst 1.1.1.1 flowid 1:2048 RTNETLINK answers: File exist tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip dst 1.1.1.1 flowid 1:2049 RTNETLINK answers: File exist tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip dst 1.1.1.1 flowid 1:2050 RTNETLINK answers: File exist So classes are added corectly but filters not. WHY .... Please help me Regards Paweł Staszewski
hi there, i have adsl connection sharing Internet for my lan.... but some users use kazaa & cia, stealing all the bandwidth. due to the policy, i cannot block these programs. I need some help about how i can avoid those ones from using the whole bandwidth with p2p programs ? (please, be patient and gentle :D, i am new about bandwidth control) thanks in help lista@umeda.com.br
James Lista escribió:> hi there, > > i have adsl connection sharing Internet for my lan.... but some users > use kazaa & cia, stealing all the bandwidth. due to the policy, i > cannot block these programs. I need some help about how i can avoid > those ones from using the whole bandwidth with p2p programs ? > > (please, be patient and gentle :D, i am new about bandwidth control) > > thanks in help > > lista@umeda.com.br <mailto:lista@umeda.com.br>Lo que yo hago en esos casos, como el Kazaa usa muchos puertos de manera aleatoria si es que el puerto 1214 esta bloqueado, entonces uso el script de wondershaper para QoS y le doy baja prioridad al puerto 1214 de tal forma de no comprometer el ancho de banda. De la misma forma y en el mismo script, que esta en lartc clasifico el trafico con el ftp, el flashget (puerto 2197 creo) y priorizo el trafico importante de la red (80, 25, 110, etc.) Espero que sirva Saludos. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
<snip> i have adsl connection sharing Internet for my lan.... but some users use kazaa & cia, stealing all the bandwidth. due to the policy, i cannot block these programs. I need some help about how i can avoid those ones from using the whole bandwidth with p2p programs ? </snip> Check out this site. http://www.compsci.lyon.edu/mcritch/dante/
This is most asked question but there is no good solution anyway you can try various ways, but they all are innefective when program opens lots of connections or you should prepare to lose 10-20% of your speed. search the list archives for answer to your question. ----- Original Message ----- From: "Ing. Marcos Salvatierra" <marcos@fm.unt.edu.ar> To: "James Lista" <lista@umeda.com.br> Cc: <lartc@mailman.ds9a.nl> Sent: Wednesday, September 01, 2004 7:45 PM Subject: Re: [LARTC] adsl and p2p programs> James Lista escribió: > > > hi there, > > > > i have adsl connection sharing Internet for my lan.... but some > users > > use kazaa & cia, stealing all the bandwidth. due to the > policy, i > > cannot block these programs. I need some help about how i can > avoid > > those ones from using the whole bandwidth with p2p programs > ? > > > > (please, be patient and gentle :D, i am new about bandwidth > control) > > > > thanks in help > > > > lista@umeda.com.br <mailto:lista@umeda.com.br> > > Lo que yo hago en esos casos, como el Kazaa usa muchos puertos de manera > aleatoria si es que el puerto 1214 esta bloqueado, entonces uso el > script de wondershaper para QoS y le doy baja prioridad al puerto 1214 > de tal forma de no comprometer el ancho de banda. > De la misma forma y en el mismo script, que esta en lartc clasifico el > trafico con el ftp, el flashget (puerto 2197 creo) y priorizo el trafico > importante de la red (80, 25, 110, etc.) > Espero que sirva > Saludos. > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/