 VariableARK
join:2003-03-17 USA
| traffic priorizing
I am finally to the point where queueing individual users is no longer the only solution necessary. I would like to start prioritizing traffic from my main router. I am using mikrotik as my main router and all traffic is going through it. I would like traffic priority to go in the following order: voip, http, other, p2p; and have created these rules:
/ip firewall mangle print 0 chain=prerouting src-address=xxx action=mark-connection new-connection-mark=voip_conn passthrough=yes
1 chain=prerouting src-address=xxx action=mark-packet new-packet-mark=voip passthrough=no
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 action=mark-connection new-connection-mark=other_conn passthrough=yes
7 chain=prerouting connection-mark=other_conn action=mark-packet new-packet-mark=other passthrough=no and
/queue tree print Flags: X - disabled, I - invalid 0 name="http" parent=global-total packet-mark=http limit-at=0 queue=default priority=2 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
1 name="voip" parent=global-total packet-mark=voip limit-at=0 queue=default priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
2 name="other" parent=global-total packet-mark=other limit-at=0 queue=default priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
3 name="p2p" parent=global-total packet-mark=p2p limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s does this look correct? i know it is a mikrotik-ish thing but these forums are always more helpful in my experience.
Thanks alot, i would love to see other people's configurations if they are willing to share! |
|
  gmcintire Graham Premium join:2005-08-09 Blue Ridge, TX | I've been doing prioritizing very similar to your explanation and it's seemed to work well for me over the past week or so. I'm by no means a mikrotik expert though... |
|
 VariableARK
join:2003-03-17 USA
| reply to VariableARK the above method seems to do little to nothing in the way of prioritizing, I made icmp priority 1 and ran a full http load through it and still my pings skyrocketed just like I didnt have anything there.
I would love to see somebody else's method of prioritizing! |
|