Hi,
We currently have a location with a VoIP phone in it and we want to prioritize it on the network. I found a few threads and did a bit of reading. The connection at the location is a 1536/256k DSL connection. I’m basically just after someone to read over it and make sure i’ve got it right. We have a number of users which is why I used Queue Trees to prioritize certain traffic. The users are limited by speed using simple queues created dynamically through radius. Can the VoIP connection also have upload QoS’d? This will prioritize the download traffic however what about upload? If a user starts to max out the upload the VoIP call would break up too much. Thanks for the help in advance.
Pete.
Example of Simple Queue created dynamically through radius
0 D name="<hotspot-terry>" target-addresses=192.168.1.33/32
dst-address=0.0.0.0/0 interface=all parent=none direction=both
priority=8 queue=default-small/default-small limit-at=128000/512000
max-limit=128000/512000 total-queue=default-small
1 D name="<hs-Hotspot>" dst-address=0.0.0.0/0 interface=Hotspot parent=none
direction=both priority=8 queue=hotspot-default/hotspot-default
limit-at=0/0 max-limit=0/0 total-queue=default-small
Queue Type
5 name="default-small" kind=pfifo pfifo-limit=10
Mangle
2 chain=prerouting protocol=tcp dst-port=80 action=mark-connection
new-connection-mark=http_conn passthrough=yes
3 chain=prerouting connection-mark=http_conn action=mark-packet
new-packet-mark=http passthrough=no
4 chain=prerouting p2p=all-p2p action=mark-connection
new-connection-mark=p2p_conn passthrough=yes
5 chain=prerouting connection-mark=p2p_conn action=mark-packet
new-packet-mark=p2p passthrough=no
6 chain=prerouting protocol=icmp action=mark-connection
new-connection-mark=ping_conn passthrough=yes
7 chain=prerouting connection-mark=ping_conn action=mark-packet
new-packet-mark=ping passthrough=no
8 chain=prerouting src-address=202.61.13.40 action=mark-connection
new-connection-mark=voip_conn passthrough=yes
9 chain=prerouting connection-mark=voip_conn action=mark-packet
new-packet-mark=voip passthrough=no
10 chain=prerouting action=mark-connection new-connection-mark=other_conn
passthrough=yes
11 chain=prerouting connection-mark=other_conn action=mark-packet
new-packet-mark=other passthrough=no
Queue Tree
0 X name="master" parent=global-total packet-mark="" limit-at=0 queue=default
priority=8 max-limit=1544000 burst-limit=0 burst-threshold=0
burst-time=0s
1 X name="http" parent=master packet-mark=http limit-at=0 queue=default
priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
2 X name="p2p" parent=master packet-mark=p2p limit-at=0 queue=default
priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
3 X name="ping" parent=master packet-mark=ping limit-at=0 queue=default
priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
4 X name="voip" parent=master packet-mark=voip limit-at=0 queue=default
priority=2 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
5 X name="other" parent=master packet-mark=other limit-at=0 queue=default
priority=4 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s