Community discussions

MikroTik App
 
compctech
newbie
Topic Author
Posts: 26
Joined: Fri Mar 13, 2009 9:56 pm

Vonage and other VoIP Optimization

Wed Jun 29, 2011 1:29 am

I am trying to find a way to optimize vonage and other VoIP services traffic on our network. Dose anyone have any ideas?

Sam L.
 
User avatar
nsayer
Frequent Visitor
Frequent Visitor
Posts: 78
Joined: Thu Jun 02, 2011 5:32 pm
Location: Santa Clara, CA, US

Re: Vonage and other VoIP Optimization

Wed Jun 29, 2011 8:20 am

I just went through this exercise.

Generally, there's no need to prioritize inbound traffic. Your WAN connection is likely the bottleneck. The place to put QoS for inbound traffic is on the opposite side. If your ISP is like most, they probably don't bother. The best you can do is put QoS on the outbound side - to let the VoIP traffic cut to the front of the line.

/ip firewall mangle
add action=mark-packet chain=prerouting disabled=no new-packet-mark=voip \
passthrough=yes src-mac-address={VOIP box mac}

/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit={wan uplink bandwidth * .95} name=Outgoing parent=ether1-gateway priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name=VoIP packet-mark=voip parent=Outgoing priority=2 queue=\
default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name="Not VoIP" packet-mark=no-mark parent=Outgoing priority=\
8 queue=default
 
compctech
newbie
Topic Author
Posts: 26
Joined: Fri Mar 13, 2009 9:56 pm

Re: Vonage and other VoIP Optimization

Thu Jun 30, 2011 9:50 pm

We are the ISP. I have a customer using VoIP and need to have it prioritized threw our network. I need a way to take the packets and give them high priority threw the network.
 
User avatar
nsayer
Frequent Visitor
Frequent Visitor
Posts: 78
Joined: Thu Jun 02, 2011 5:32 pm
Location: Santa Clara, CA, US

Re: Vonage and other VoIP Optimization

Fri Jul 01, 2011 3:06 am

Oh. Well, you might still be able to use packet marking mangle rules to do this.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Vonage and other VoIP Optimization

Fri Jul 01, 2011 4:59 am

Mark them with DSCP values of ef (express forwarding) as close as possible to the ingress point as possible. Build queues on all traversed devices that give priority to packets with a DSCP ef mark. In RouterOS you do that by writing mangle rules that match ef marks and apply packet marks that can be used in queues. DSCP sits in the packet header and stays with the packet on the wire, so each device can see the same value and apply a uniform policy throughout the network. It's also a standard and vendor neutral, and will in some form be supported in virtually all business class devices.

Who is online

Users browsing this forum: hklt0110 and 101 guests