Re: Re: Simple shaping question

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Firma
I'm not sure what might be wrong but try it again without 'r2q 100', 'burst 15k' (keep default settings) and changing prio 100 by prio 3 or something .similar.

Good luck.

Jonas Jasas escribió:
Thank you for your help!
This is my modified rules, but that work exactly as before :~/

/sbin/tc qdisc del dev eth0 root
/sbin/tc qdisc add dev eth0 root handle 1 htb default 20 r2q 100
/sbin/tc class add dev eth0 parent 1: classid 1:2 htb rate 900Kbit burst 15k
/sbin/tc class add dev eth0 parent 1:2 classid 1:10 htb rate 890Kbit
ceil 900Kbit
/sbin/tc class add dev eth0 parent 1:2 classid 1:20 htb rate 10Kbit ceil 900Kbit
/sbin/tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10
/sbin/tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb 10
/sbin/tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match
ip sport 80 0xffff flowid 1:10
/sbin/tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match
ip dport 80 0xffff flowid 1:10

Are these rules OK or I am missing something again? Can anyone show me
working example of similar rules.

Thanks again for help!
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
  


--

Diego Cabrero
Ingeniero en Automática y Electrónica Ind.
diego.cabrero@xxxxxxxxxxxx
Tel. 983 36 13 23 - Fax 983 34 19 86

Fundación ATTICO
Fundación de Apoyo Tecnológico a la Transformación Industrial y para la Competitividad Empresarial

Sede Social:
C/ Camino del Cabildo 40,
47009 Valladolid
====================== CLÁUSULA DE CONFIDENCIALIDAD ========================
Este correo y sus anexos pueden contener información confidencial o legalmente protegida. Si le hubiera llegado por error, notifíquelo inmediatamente al remitente y por favor elimínelo sin revisarlo ni reenviarlo; cualquier copia, divulgación, distribución o uso de los contenidos está prohibida. Gracias por su colaboración.
=========================== CONFIDENTIALITY NOTE ============================
This email, including any attached files, may contain confidential or legally privileged information. If you received it by error, please notify the sender immediately and destroy it without reading or forwarding it; any copying, disclosure, distribution or use of its contents is strictly prohibited. Thank you for your collaboration.
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux