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.
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.
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
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.
Oh. Well, you might still be able to use packet marking mangle rules to do this.
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.