Community discussions

MikroTik App
 
conchalnet
Member Candidate
Member Candidate
Topic Author
Posts: 274
Joined: Thu Nov 03, 2005 1:44 pm
Location: Brazil

Qos with DSCP + VoIP

Wed Nov 24, 2010 7:31 pm

Hi all!

I'm creating a QoS in my network to priorize some traffic and it's working fine, but I don't know very well how I must to do with the VoIP priorization.

I've 40 ATAs in my network and these ATAs mark the packet with the value 0xB8 (184 in decimal). The manual of the ATA says that this is the defaul TOS mark value (0xB8) for VoIP in a network.

I don't know how can I use these marking in the mikrotik (version 4.13) because the DSCP parameter just accepts values between 1 and 64. How can I do it? What's the right form to use this markint in my mikrotik router?

PS: The wireless network is composed of Motorola Canopy radios and these equipments are working fine with the 0xb8 marking to priorize the VoIP traffic.

Thanks in advance

Fabrício
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Qos with DSCP + VoIP

Wed Nov 24, 2010 7:36 pm

DSCP uses the higher 6 bits of the 8 bit (1 byte) TOS field in the IP header. Some implementations express DSCP based on just those 6 bits, which gives you values between 0 and 63. Other implementations express it based on the entire TOS byte, which gives you values between 0 and 255.

To convert between the two multiply/divide by 4. 184/4 = 46.
 
conchalnet
Member Candidate
Member Candidate
Topic Author
Posts: 274
Joined: Thu Nov 03, 2005 1:44 pm
Location: Brazil

Re: Qos with DSCP + VoIP

Wed Nov 24, 2010 7:52 pm

DSCP uses the higher 6 bits of the 8 bit (1 byte) TOS field in the IP header. Some implementations express DSCP based on just those 6 bits, which gives you values between 0 and 63. Other implementations express it based on the entire TOS byte, which gives you values between 0 and 255.

To convert between the two multiply/divide by 4. 184/4 = 46.
:D

Thank you very much fewi!!!
 
Swordforthelord
Frequent Visitor
Frequent Visitor
Posts: 71
Joined: Thu Jul 08, 2010 10:18 pm

Re: Qos with DSCP + VoIP

Tue Nov 30, 2010 5:40 pm

Would you mind sharing the QOS configuration that you're using? I'm looking to do the same thing and I want to make sure I'm doing it correctly.