Hello,
I am running a small VoIP service for the US Virgin Islands and have my equipment hosted at a local wireless ISP. They use Mikrotik BSU and CPE equipment for the last mile to the customer, and all works fine until the customer catches a chatty virus or begins BitTorrent downloads and then tries to make a phone call.
I work with the ISP’s routing technicians, and have been researching Mikrotik QoS examples, most of which seem way overly complicated. All I really want to accomplish is to make any traffic to or from our SIP servers high priority, and everything else default. If we can make that work we may try shaping further and creating a more complex setup. All equipment is of course in production, and everyone is very wary of simply throwing on a config to “try” it. I have the opportunity to test some configs on a new BSU with no customers next Monday, and would like to confirm that I am heading in the right direction. Does this look correct, and can anyone expand on it:
In the below TOCUSTOMER will need to be the interface name on the BSU that
leads to customers, and CUSTOMERLINKSIZE should be the total purchased
bandwidth of the customer.
/ip firewall mangle
add action=mark-packet chain=postrouting comment=“SunFone RTP traffic to
customer” disabled=no src-address=X.X.X.X/29 new-packet-mark=critical
out-interface=TOCUSTOMER passthrough=no
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=CUSTOMERLINKSIZE name=“Outgoing queue” packet-mark=“”
parent=TOCUSTOMER priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=256K name=“SunFone RTP” packet-mark=critical parent=“Outgoing
queue” priority=1 queue=default
And for the CPE:
/ip firewall mangle
add action=mark-packet chain=postrouting comment=“SunFone RTP traffic from
customer” disabled=no dst-address=X.X.X.X/29 new-packet-mark=critical
out-interface=WAN passthrough=no
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=CUSTOMERLINKSIZE name=“Outgoing queue” packet-mark=“” parent=WAN
priority=8
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=256K name=“SunFone RTP” packet-mark=critical parent=“Outgoing
queue” priority=1 queue=default
Thanks for any comments!