No luck configuring QOS for Voip over Satellite
Posted: Fri Feb 04, 2011 8:42 pm
Hello,
I have been working with a Mikrotik technician to configure our RouterBOARD 750G's to be used in camps that have data and phones going over a satellite link. The links are @ 1Mbps down and 200kbps up.
I am stress testing the voip using loic.exe as well as flooding the network with large ICMP packets. So far whatever I try the voice quality degrades to the point where the called party cannot hear me at all. Ideally, the Mikrotik RouterBOARD 750G should see the voip-control-down, voip-rtp-down, voip-control-up and voip-rtp-up as having a higher priority as the un-tagged data, forward the voip and buffer and or drop the data packets. Obviously that isn't the case.
Here is the sample of /queue tree> print
0 name="VoIP-control-Down" parent=Phone packet-mark=voip-control limit-at=1>
queue=default priority=3 max-limit=2M burst-limit=0 burst-threshold=0
burst-time=1s
1 name="VoIP-rtp-Down" parent=Phone packet-mark=voip-rtp limit-at=1M
queue=default priority=1 max-limit=2M burst-limit=0 burst-threshold=0
burst-time=1s
2 name="Network-Down" parent=Local packet-mark=no-mark limit-at=600k
queue=default priority=8 max-limit=700k burst-limit=0 burst-threshold=0
burst-time=1s
3 name="Network-Up" parent=Local packet-mark=no-mark limit-at=70k
queue=default priority=8 max-limit=80k burst-limit=0 burst-threshold=0
burst-time=1s
4 name="VoIP-control-Up" parent=Phone packet-mark=voip-control limit-at=1M
queue=default priority=3 max-limit=2M burst-limit=0 burst-threshold=0
burst-time=1s
5 name="VoIP-rtp-Up" parent=Phone packet-mark=voip-rtp limit-at=1M
queue=default priority=1 max-limit=2M burst-limit=0 burst-threshold=0
and /ip firewall mangle> print
0 ;;; voip-con-control
chain=prerouting action=mark-connection
new-connection-mark=voip-con-control passthrough=yes
src-address=192.168.200.1-192.168.200.254 dscp=26
1 ;;; voip-con-rtp
chain=prerouting action=mark-connection new-connection-mark=voip-con-rtp
passthrough=yes src-address=192.168.200.1-192.168.200.254 dscp=46
2 ;;; voip-con-control -> mark packet as voip-control
chain=prerouting action=mark-packet new-packet-mark=voip-control
passthrough=yes connection-mark=voip-con-control
3 ;;; voip-con-rtp -> mark packet as voip-rtp
chain=prerouting action=mark-packet new-packet-mark=voip-rtp
passthrough=yes connection-mark=voip-con-rtp
4 ;;; all traffic on LAM mark as: network-con
chain=prerouting action=mark-connection new-connection-mark=network-con
passthrough=yes in-interface=Phone
So far everything I have tried has failed. Link saturates and they cannot hear me. I do not see packets being matched against the rate-limiting for voip packets either which I am sure has to do with it.
Any help greatly appreciated!!
Fearon
I have been working with a Mikrotik technician to configure our RouterBOARD 750G's to be used in camps that have data and phones going over a satellite link. The links are @ 1Mbps down and 200kbps up.
I am stress testing the voip using loic.exe as well as flooding the network with large ICMP packets. So far whatever I try the voice quality degrades to the point where the called party cannot hear me at all. Ideally, the Mikrotik RouterBOARD 750G should see the voip-control-down, voip-rtp-down, voip-control-up and voip-rtp-up as having a higher priority as the un-tagged data, forward the voip and buffer and or drop the data packets. Obviously that isn't the case.
Here is the sample of /queue tree> print
0 name="VoIP-control-Down" parent=Phone packet-mark=voip-control limit-at=1>
queue=default priority=3 max-limit=2M burst-limit=0 burst-threshold=0
burst-time=1s
1 name="VoIP-rtp-Down" parent=Phone packet-mark=voip-rtp limit-at=1M
queue=default priority=1 max-limit=2M burst-limit=0 burst-threshold=0
burst-time=1s
2 name="Network-Down" parent=Local packet-mark=no-mark limit-at=600k
queue=default priority=8 max-limit=700k burst-limit=0 burst-threshold=0
burst-time=1s
3 name="Network-Up" parent=Local packet-mark=no-mark limit-at=70k
queue=default priority=8 max-limit=80k burst-limit=0 burst-threshold=0
burst-time=1s
4 name="VoIP-control-Up" parent=Phone packet-mark=voip-control limit-at=1M
queue=default priority=3 max-limit=2M burst-limit=0 burst-threshold=0
burst-time=1s
5 name="VoIP-rtp-Up" parent=Phone packet-mark=voip-rtp limit-at=1M
queue=default priority=1 max-limit=2M burst-limit=0 burst-threshold=0
and /ip firewall mangle> print
0 ;;; voip-con-control
chain=prerouting action=mark-connection
new-connection-mark=voip-con-control passthrough=yes
src-address=192.168.200.1-192.168.200.254 dscp=26
1 ;;; voip-con-rtp
chain=prerouting action=mark-connection new-connection-mark=voip-con-rtp
passthrough=yes src-address=192.168.200.1-192.168.200.254 dscp=46
2 ;;; voip-con-control -> mark packet as voip-control
chain=prerouting action=mark-packet new-packet-mark=voip-control
passthrough=yes connection-mark=voip-con-control
3 ;;; voip-con-rtp -> mark packet as voip-rtp
chain=prerouting action=mark-packet new-packet-mark=voip-rtp
passthrough=yes connection-mark=voip-con-rtp
4 ;;; all traffic on LAM mark as: network-con
chain=prerouting action=mark-connection new-connection-mark=network-con
passthrough=yes in-interface=Phone
So far everything I have tried has failed. Link saturates and they cannot hear me. I do not see packets being matched against the rate-limiting for voip packets either which I am sure has to do with it.
Any help greatly appreciated!!
Fearon