try IMQ
http://www.linuximq.net/
regards.
andres
-> -----Mensaje original-----
-> De: lartc-bounces@mailman.ds9a.nl
-> [mailto:lartc-bounces@mailman.ds9a.nl]En nombre de Marek Kierdelewicz
-> Enviado el: Sábado, 26 de Agosto de 2006 04:31 a.m.
-> Para: lartc@mailman.ds9a.nl
-> Asunto: Re: [LARTC] Now to make only Traffic Priority
->
->
-> > Hi to everybody.
->
-> Hi
->
-> > I just want to make priority of certain traffic without shaping the
-> > traffic .
-> > For example SSH and RDP first priority
-> > Mail second priority
-> > WEB and FTP third
->
-> You can make something like that:
-> $TC qdisc add dev $IF1 root handle 1: htb default 40
-> $TC class add dev $IF1 parent 1: classid 1:1 htb rate 100mbit ceil \
-> 100mbit burst 15k prio 1
-> $TC class add dev $IF1 parent 1:1 classid 1:10 htb rate 25mbit ceil \
-> 100mbit burst 15k prio 1
-> $TC class add dev $IF1 parent 1:1 classid 1:20 htb rate 25mbit ceil \
-> 100mbit burst 15k prio 2
-> $TC class add dev $IF1 parent 1:1 classid 1:30 htb rate 25mbit ceil \
-> 100mbit burst 15k prio 3
-> $TC class add dev $IF1 parent 1:1 classid 1:40 htb rate 25mbit ceil \
-> 100mbit burst 15k prio 4
->
-> Then you direct ssh and rdp with filters to the 1:10 class (prio 1
-> means highest prio), mail to 1:20, web+ftp to 1:30 and rest to 1:40.
->
-> It''s shaping, but works the way you want it.
->
-> Another solution is using prio qdisc, for what you need to:
-> - set up prio map (tos -> prio)
-> - rewrite tos field of packets in PREROUTING chain of mangle table.
->
-> I never used such solution, only read some theoretical stuff at
-> following site:
-> http://lartc.org/howto/lartc.qdisc.classless.html#AEN659
->
-> --
-> Marek Kierdelewicz
-> Kierownik Dzia?u Systemów Sieciowych, KoBa
-> Manager of Network Systems Department, KoBa
-> tel. (85) 7406466; fax. (85) 7406467
-> e-mail: admin@koba.pl
-> _______________________________________________
-> LARTC mailing list
-> LARTC@mailman.ds9a.nl
-> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
ĄProbalo ya!
http://www.yahoo.com.ar/respuestas