Hello,
since a few years I use a Mikrotik RB750G for my dailup PPPOE connection to get into the internet. So my setup is like this:
internet provider <-----> modem <----> RB750G <-----> home network with clients and voip phones
The RB750 does the dailup connection and NAT conversation. For my Voip connections I have to set up a QoS so I read very much tutorials and ended up by marking the packages of the Voip connection by ip>firewall>mangle by this rules:
[admin@MikroTik] /ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; connection for voip traffic
chain=prerouting action=mark-connection new-connection-mark=viovoip_con
passthrough=yes dst-address=62.xx.xx.xx/26
1 ;;; All "viovoip_con" marked connections mark by "viovoip"
chain=prerouting action=mark-packet new-packet-mark=viovoip
passthrough=no connection-mark=viovoip_con
2 chain=prerouting action=mark-connection new-connection-mark=nichtvoip_con
passthrough=yes
3 ;;; all non voip
chain=prerouting action=mark-packet new-packet-mark=nichtvoip
passthrough=no connection-mark=nichtvoip_con
in the simple queue I did then some traffic shaping and prioritization with:
[admin@MikroTik] /queue simple> print
Flags: X - disabled, I - invalid, D - dynamic
0 name="main" target-addresses=10.0.0.0/8 interface=pppoe-ether1 parent=none direction=both
priority=8 queue=default/default limit-at=0/0 max-limit=800k/10M burst-limit=0/0
burst-threshold=0/0 burst-time=0s/0s total-queue=default-small
1 name="voip" interface=all parent=main packet-marks=viovoip direction=both priority=1
queue=default/default limit-at=0/0 max-limit=800k/10M burst-limit=0/0 burst-threshold=0/0
burst-time=0s/0s total-queue=default-small
2 name="other" interface=all parent=main packet-marks=nichtvoip,no-mark,other direction=both
priority=8 queue=default/default limit-at=0/0 max-limit=800k/10M burst-limit=0/0
burst-threshold=0/0 burst-time=0s/0s total-queue=default-small
My NAT is configured like this:
[admin@MikroTik] /ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade src-address=10.0.0.0/24
1 chain=srcnat action=masquerade src-address=10.0.1.0/24
My problem is now, when I set the interface in rule 0 to “pppoe-ether1” the QoS seams not to work so I get bad connection quality for Voip when there is traffic on the internet connection. When I set the interface to “all”, the QoS works, but really all traffic is limited, also the internal network traffic which is running through the router.
Thanks
Regards, Markus