Hi all,
i'm putting in place QOS on our edge router and i'm tring to achive the following
With mangle i want to mark the connections and packets of the following
dns
http/https
email
everything else
p2p
and then place those marked packets into a queue with the following Priority
Dns = 1
http/https =2
email = 2
everything else = 7
p2p = 8
The trouble i'm having is that as soon as i add a rule to mangle the everything that isnt picked up by the other rules its starts picking everything up including those packets and connects that should be under other rules.
Heres my mangle list
[admin@Edge] > ip firewall mangle print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=prerouting protocol=tcp dst-port=53 action=mark-connection new-connection-mark=dns-con passthrough=yes
1 chain=prerouting protocol=udp dst-port=53 action=mark-connection new-connection-mark=dns-con passthrough=yes
2 chain=prerouting protocol=tcp dst-port=80 action=mark-connection new-connection-mark=http-con passthrough=yes
3 chain=prerouting protocol=tcp dst-port=443 action=mark-connection new-connection-mark=http-con passthrough=yes
4 chain=prerouting protocol=tcp dst-port=110 action=mark-connection new-connection-mark=email-con passthrough=yes
5 chain=prerouting protocol=tcp dst-port=25 action=mark-connection new-connection-mark=email-con passthrough=yes
6 chain=prerouting p2p=all-p2p action=mark-connection new-connection-mark=p2p-con passthrough=yes
7 chain=prerouting p2p=!all-p2p action=mark-connection new-connection-mark=everything-con passthrough=yes
8 chain=prerouting connection-mark=dns-con action=mark-packet new-packet-mark=dns passthrough=yes
9 chain=prerouting connection-mark=http-con action=mark-packet new-packet-mark=http passthrough=yes
10 chain=prerouting connection-mark=email-con action=mark-packet new-packet-mark=email passthrough=yes
11 chain=prerouting connection-mark=everything-con action=mark-packet new-packet-mark=everything passthrough=yes
12 chain=prerouting connection-mark=p2p action=mark-packet new-packet-mark=p2p passthrough=yes
Anyone know how i can mark connections and traffic that arnt picked up by the other rules?
Cheers