Now to make only Traffic Priority
Hi to everybody.
I read some info and documentation but i still can't find how to make this simple setup for example .
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
And everything else last priority.
What will be the simple and best way to achieve this.
I will appreciate every help .
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 1 line
Hi to everybody.
Hi
Quoted 5 lines
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
Signature · 9 lines
Marek Kierdelewicz Kierownik Dzia?u Systemów Sieciowych, KoBa Manager of Network Systems Department, KoBa tel. (85) 7406466; fax. (85) 7406467 e-mail: [email protected] _______________________________________________ LARTC mailing list [email protected] http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
try IMQ
regards.
andres
-> -----Mensaje original-----
-> De: [email protected]
-> [mailto:[email protected]]En nombre de Marek Kierdelewicz -> Enviado el: Sábado, 26 de Agosto de 2006 04:31 a.m.
-> Para: [email protected]
-> 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: [email protected]
-> _______________________________________________
-> LARTC mailing list
-> [email protected]
-> 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
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc