I tried to mangle two flows with different TOS (in set-tos field).
Data traffic with TOS=224 which is equal to IP prec.=7.
Voice traffic with TOS=96 which is equal to IP prec.=3.
Unfortunately router mangle only data traffic with TOS=224, voice traffic remain TOS=0.
Is there someone who meet with this kind of problem ?
You should post some more information. E.g. how do your mangle rules look like?
[kpetkov@KK-Varna] ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 src-address=192.168.1.0/24 dst-address=192.168.0.0/20 action=passthrough
mark-flow=data set-tos=224
1 dst-address=192.168.0.0/20 action=passthrough mark-flow=voice set-tos=96
[kpetkov@KK-Varna] ip firewall mangle>
With these rules all traffic mangled by the first rule will be remangled by the second. Use action=accept in the first rule.
Thanks.
What about if I change the order of the mangle rules ?
You should put more specific rules first (like it is configured now)
Now I understood. Thank you.
I plan to preoritize voice traffic over data. Would you suggested me good solution about queuing mechanism ?
A good place to start would be:
http://www.mikrotik.com/docs/ros/2.8/howto/howto.content#12.1.12
Thank you.
I have Tigerjet phonejack voice card. When I make mangle rule in order to mark voice traffic which come from voice card. What src-address (voice cards does not have ip address), In.interface (voice card does not appear as interface) I heve to use ?
[kpetkov@KK-Baza] ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 src-address=192.168.0.0/24 in-interface=ether3 dst-address=192.168.0.0/20
action=accept mark-flow=data set-tos=224
1 dst-address=192.168.0.0/20 action=passthrough mark-flow=voice set-tos=96
[kpetkov@KK-Baza] ip firewall mangle>
Router’s own IP address and protocol
I would like to If MiktoTik has tool which I can use to sniff the outgoing packets?
I want to see with what kind of TOS field previosly mandled flow leave from outgoing interface or come to outgoing interface.
there is a sniffer:
Yes I know, but this sniffer do not give information about TOS field in packet
You can use sniffer tool to save info to a file, then FTP that file from the router to a workstation and input that file into Ethereal or other to view it. This file that Mikrotik saves is compatible with most packet viewing software.
Sam
I have Voicetronix card I saw in log file when call ended the following:
Call statistics: 27 27105 26940
I do not know what this statistic mean, pls help.
I need to know How can I find the suitable value for jitter bufer ?