Community discussions

MikroTik App
 
k_petkov
just joined
Topic Author
Posts: 21
Joined: Mon Aug 09, 2004 9:39 am

I need help about voice in MikroTik.

Mon Aug 09, 2004 9:58 am

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 ?
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Mon Aug 09, 2004 6:33 pm

You should post some more information. E.g. how do your mangle rules look like?
 
k_petkov
just joined
Topic Author
Posts: 21
Joined: Mon Aug 09, 2004 9:39 am

Tue Aug 10, 2004 9:37 am

[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>
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Tue Aug 10, 2004 1:54 pm

With these rules all traffic mangled by the first rule will be remangled by the second. Use action=accept in the first rule.
 
k_petkov
just joined
Topic Author
Posts: 21
Joined: Mon Aug 09, 2004 9:39 am

Tue Aug 10, 2004 2:40 pm

Thanks.
What about if I change the order of the mangle rules ?
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Tue Aug 10, 2004 3:53 pm

You should put more specific rules first (like it is configured now)
 
k_petkov
just joined
Topic Author
Posts: 21
Joined: Mon Aug 09, 2004 9:39 am

Tue Aug 10, 2004 4:04 pm

Now I understood. Thank you.
I plan to preoritize voice traffic over data. Would you suggested me good solution about queuing mechanism ?
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Tue Aug 10, 2004 4:09 pm

 
k_petkov
just joined
Topic Author
Posts: 21
Joined: Mon Aug 09, 2004 9:39 am

Tue Aug 10, 2004 5:05 pm

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>
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Tue Aug 10, 2004 5:26 pm

Router's own IP address and protocol
 
k_petkov
just joined
Topic Author
Posts: 21
Joined: Mon Aug 09, 2004 9:39 am

Wed Aug 11, 2004 11:42 am

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.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26931
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Wed Aug 11, 2004 12:03 pm

 
k_petkov
just joined
Topic Author
Posts: 21
Joined: Mon Aug 09, 2004 9:39 am

Wed Aug 11, 2004 12:07 pm

Yes I know, but this sniffer do not give information about TOS field in packet
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Wed Aug 11, 2004 7:52 pm

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
 
k_petkov
just joined
Topic Author
Posts: 21
Joined: Mon Aug 09, 2004 9:39 am

Thu Aug 12, 2004 11:36 am

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.
 
k_petkov
just joined
Topic Author
Posts: 21
Joined: Mon Aug 09, 2004 9:39 am

Fri Aug 13, 2004 11:36 am

I need to know How can I find the suitable value for jitter bufer ?