> 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@xxxxxxx _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc