I have search the forums and read all I have found but would like to make sure I am implementing this correctly. I have a single VOIP device (Linksys PAP2t) and would like it to have priority traffic for VOIP on my T1 connection. The linksys IP is 10.4.5.99 so here is what I set up:
Mangle:
0 chain=prerouting action=mark-connection new-connection-mark=VOIP passthrough=yes src-address=10.4.5.99
1 chain=postrouting action=mark-connection new-connection-mark=VOIP passthrough=yes dst-address=10.4.5.99
2 chain=prerouting action=mark-packet new-packet-mark=VOIPpack passthrough=yes connection-mark=VOIP
3 chain=postrouting action=mark-packet new-packet-mark=VOIPpack passthrough=yes connection-mark=VOIP
4 chain=prerouting action=mark-connection new-connection-mark=NONVOIP passthrough=yes src-address=!10.4.5.99
5 chain=postrouting action=mark-connection new-connection-mark=NONVOIP passthrough=yes dst-address=!10.4.5.99
6 chain=prerouting action=mark-packet new-packet-mark=NONVOIPpack passthrough=yes connection-mark=NONVOIP
7 chain=postrouting action=mark-packet new-packet-mark=NONVOIPpack passthrough=yes connection-mark=NONVOIP
Queue Tree:
0 name="AllTraffic" parent=global-total packet-mark="" limit-at=0 queue=default priority=8 max-limit=1500000 burst-limit=0 burst-threshold=0 burst-time=0s
1 name="VOIP" parent=AllTraffic packet-mark=VOIPpack limit-at=500000 queue=Q_VOIP priority=1 max-limit=1500000 burst-limit=0 burst-threshold=0 burst-time=0s
2 name="NONVOIP" parent=AllTraffic packet-mark=NONVOIPpack limit-at=0 queue=Q_VOIP priority=8 max-limit=1500000 burst-limit=0 burst-threshold=0 burst-time=0s
Queue Type:
5 name="Q_VOIP" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier="" pcq-total-limit=2000
Does this make sense to anyone? It kinda looks like it works. Should anything be added or changed?
Thanks!