Hello All.
We have a network with 40 RB750 mounted on the ends and a central router RB450G.
The links are given by a DSL network bridge. Each remote link is 256 kbps symmetrical and the central node are working with 4 mbps, which plan to expand to 10 mbps in the future.
The ether1 is the Wan on each router and y have a bridge on ether2-3-4-5 with the local IP assigned to the bridg, to use it as a switch.
We trafficking voice packets marked with dscp=46 and from a list of known IPs.
In Mikrotik routers, I have marked these packets by DSCP at first and before by his ip of origin (if it is in an Address List) and then assign a priority queue two.
For packages that are unmarked, assigned a priority queue six, so they were a lower priority to voice packets.
The mangle and queues counted packets well you use on each one, but the result in the audio is bad when I have data traffic, making it as if it were not prioritize anything.
I enclose the script I’m using to prioritize by IP list to tell me if there is any problem or detail point where I’m wrong.
To be able to speak, I assigned max-limit = 64k to data queues, but of course the customer complains of slow network. If I leave more bandwidth, the voice can be heard.
It should be noted that the maximum bandwidth needed by the voice is 25 kbps (constant in both directions).
Something that I could check is to change the type of queue, I’m using ethernet-default in all, what would be the most appropriate type for this case that I have 256 kbps on each end?
From already thank you for your support, since it is a project in which we put a lot of confidence in Mikrotik routers, but the customer is very eager to resolve these problems.
I await your comments.
#marking packets from specific IP's
ip firewall mangle add chain=forward src-address-list=voz action=mark-packet new-packet-mark=VOIP passthrough=no comment="VOIP" disabled=no
#Assign priority 2 to marked packets.
queue tree add name="ether1_voip" parent=ether1 packet-mark=VOIP limit-at=0 queue=default priority=2 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
queue tree add name="ether2_voip" parent=ether2 packet-mark=VOIP limit-at=0 queue=default priority=2 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
queue tree add name="ether3_voip" parent=ether3 packet-mark=VOIP limit-at=0 queue=default priority=2 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
queue tree add name="ether4_voip" parent=ether4 packet-mark=VOIP limit-at=0 queue=default priority=2 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
queue tree add name="ether5_voip" parent=ether5 packet-mark=VOIP limit-at=0 queue=default priority=2 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
#Assign priority 6 to non marked packets and limit to 64 kbps (i want to not limit traffic).
queue tree add name="ether1_datos" parent=ether1 packet-mark=no-mark limit-at=0 queue=default priority=6 max-limit=64k burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
queue tree add name="ether2_datos" parent=ether2 packet-mark=no-mark limit-at=0 queue=default priority=6 max-limit=64k burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
queue tree add name="ether3_datos" parent=ether3 packet-mark=no-mark limit-at=0 queue=default priority=6 max-limit=64k burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
queue tree add name="ether4_datos" parent=ether4 packet-mark=no-mark limit-at=0 queue=default priority=6 max-limit=64k burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
queue tree add name="ether5_datos" parent=ether5 packet-mark=no-mark limit-at=0 queue=default priority=6 max-limit=64k burst-limit=0 burst-threshold=0 burst-time=0s disabled=no
#---------------------------------------------------------------------------
To assign QoS by DSCP, I use the same queues but have changed the packet mark criteria to this (dscp=46):
ip firewall mangle add chain=forward dscp=46 action=mark-packet new-packet-mark=VOIP passthrough=no comment="VOIP" disabled=no
I have the same result....
Suggestions are VERY apreciated.