from the example above and whats on the wiki pages i have tried to set this up. But it still doesn't work.
I have the dhcp server setup to server 172.20.34.x address and nat to a public 64.8.76.181 and i am able to browse
I have the laptop that i'm testing with setup in the 0768/128 address list/queue.
I have setup the queue types:
[admin@MikroTik for BEM] /queue type> pr
0 name="default" kind=pfifo pfifo-limit=50
1 name="ethernet-default" kind=pfifo pfifo-limit=50
2 name="wireless-default" kind=sfq sfq-perturb=5 sfq-allot=1514
3 name="synchronous-default" kind=red red-limit=60 red-min-threshold=10 red-max-threshold=50 red-burst=20 red-avg-packet=1000
4 name="hotspot-default" kind=sfq sfq-perturb=5 sfq-allot=1514
5 name="1024/512-up" kind=pcq pcq-rate=64000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=7500
6 name="1024/512-down" kind=pcq pcq-rate=128000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=7500
7 name="2048/512-up" kind=pcq pcq-rate=64000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=1000
8 name="2048/512-down" kind=pcq pcq-rate=256000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=1000
9 name="3078/1024-up" kind=pcq pcq-rate=128000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=1000
10 name="3078/1024-down" kind=pcq pcq-rate=385000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=1000
11 name="4096/1024-up" kind=pcq pcq-rate=128000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=1000
12 name="4096/1024-down" kind=pcq pcq-rate=512000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=1000
13 name="5120/1024-up" kind=pcq pcq-rate=128000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=1000
14 name="5120/1024-down" kind=pcq pcq-rate=640000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=1000
15 name="6144/1024-up" kind=pcq pcq-rate=128000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=1000
16 name="6144/1024-down" kind=pcq pcq-rate=768000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=1000
17 name="7168/1024-up" kind=pcq pcq-rate=128000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=1000
18 name="7168/1024-down" kind=pcq pcq-rate=896000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=1000
19 name="8192/1024-up" kind=pcq pcq-rate=128000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=1000
20 name="8192/1024-down" kind=pcq pcq-rate=1024000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=1000
21 name="0768/128-up" kind=pcq pcq-rate=48000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=20971520
22 name="0768/128-down" kind=pcq pcq-rate=96000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=20971520
23 name="default-small" kind=pfifo pfifo-limit=10
I have set up the queue trees:
[admin@MikroTik for BEM] /queue tree> pr
Flags: X - disabled, I - invalid
0 name="0768/128-down" parent=global-in packet-mark=0768/128-down limit-at=0 queue=1024/512-down priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
1 name="0768/128-up" parent=global-out packet-mark=0768/128-down limit-at=0 queue=0768/128-down priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
2 name="1024/512-up" parent=global-out packet-mark=1024/512-up limit-at=0 queue=1024/512-up priority=8 max-limit=0 burst-limit=>
burst-threshold=0 burst-time=0s
3 name="1024/512-down" parent=global-in packet-mark=1024/512-down limit-at=0 queue=1024/512-down priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
4 name="2048/512-up" parent=global-out packet-mark=2048/512-up limit-at=0 queue=2048/512-up priority=8 max-limit=0 burst-limit=>
burst-threshold=0 burst-time=0s
5 name="2048/512-down" parent=global-in packet-mark=2048/512-down limit-at=0 queue=2048/512-down priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
6 name="3078/1024-up" parent=global-out packet-mark=3078/1024-up limit-at=0 queue=3078/1024-up priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
7 name="4096/1024-up" parent=global-out packet-mark=4096/1024-up limit-at=0 queue=4096/1024-up priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
8 name="4096/1024-down" parent=global-in packet-mark=4096/1024-down limit-at=0 queue=4096/1024-down priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
9 name="5120/1024-up" parent=global-out packet-mark=5120/1024-up limit-at=0 queue=5120/1024-up priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
10 name="5120/1024-down" parent=global-in packet-mark=5120/1024-down limit-at=0 queue=5120/1024-down priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
11 name="6144/1024-up" parent=global-out packet-mark=6144/1024-up limit-at=0 queue=6144/1024-up priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
12 name="6144/1024-down" parent=global-in packet-mark=6144/1024-down limit-at=0 queue=6144/1024-down priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
13 name="7168/1024-up" parent=global-out packet-mark=7168/1024-up limit-at=0 queue=7168/1024-up priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
14 name="7168/1024-down" parent=global-in packet-mark=7168/1024-down limit-at=0 queue=7168/1024-down priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
15 name="8192/1024-up" parent=global-out packet-mark=8192/1024-up limit-at=0 queue=8192/1024-up priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
16 name="8192/1024-down" parent=global-in packet-mark=8192/1024-down limit-at=0 queue=8192/1024-down priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
I have added the address of the laptop i'm using to test with to the address list:
[admin@MikroTik for BEM] /ip firewall address-list> pr
Flags: X - disabled, D - dynamic
# LIST ADDRESS
0 0768/128 172.20.34.254
1 1024/512 0.0.0.0
2 2048/512 0.0.0.0
3 3078/1024 0.0.0.0
4 4096/1024 0.0.0.0
5 5120/1024 0.0.0.0
6 6144/1024 0.0.0.0
7 7168/1024 0.0.0.0
8 8192/1024 0.0.0.0
I have setup mangle:
[admin@MikroTik for BEM] /ip firewall mangle> pr
Flags: X - disabled, I - invalid, D - dynamic
0 chain=prerouting action=mark-packet new-packet-mark=0768/128-up passthrough=no src-address-list=0768/128 in-interface=LAN
1 chain=postrouting action=mark-packet new-packet-mark=0768/128-down passthrough=no src-address-list=0768/128 out-interface=WAN
2 chain=prerouting action=mark-packet new-packet-mark=1024/512-up passthrough=no src-address-list=1024/512 in-interface=LAN
3 chain=postrouting action=mark-packet new-packet-mark=1024/512-up passthrough=no src-address-list=1024/512 out-interface=WAN
4 chain=prerouting action=mark-packet new-packet-mark=2048/512-up passthrough=no src-address-list=2048/512 in-interface=LAN
5 chain=postrouting action=mark-packet new-packet-mark=2048/512-up passthrough=no src-address-list=2048/512 out-interface=WAN
6 chain=prerouting action=mark-packet new-packet-mark=3078/1024-up passthrough=no src-address-list=3078/1024 in-interface=LAN
7 chain=postrouting action=mark-packet new-packet-mark=3078/1024-up passthrough=no src-address-list=3078/1024 out-interface=WAN
8 chain=prerouting action=mark-packet new-packet-mark=4096/1024-up passthrough=no src-address-list=4096/1024 in-interface=LAN
9 chain=postrouting action=mark-packet new-packet-mark=4096/1024-up passthrough=no src-address-list=4096/1024 out-interface=WAN
10 chain=prerouting action=mark-packet new-packet-mark=5120/1024-up passthrough=no src-address-list=5120/10242 in-interface=LAN
11 chain=postrouting action=mark-packet new-packet-mark=5120/1024-up passthrough=no src-address-list=5120/1024 out-interface=WAN
12 chain=prerouting action=mark-packet new-packet-mark=6144/1024-up passthrough=no src-address-list=6144/1024 in-interface=LAN
13 chain=postrouting action=mark-packet new-packet-mark=6144/1024-up passthrough=no src-address-list=6144/1024 out-interface=WAN
14 chain=prerouting action=mark-packet new-packet-mark=7168/1024-up passthrough=no src-address-list=7168/1024 in-interface=LAN
15 chain=postrouting action=mark-packet new-packet-mark=7168/1024-up passthrough=no src-address-list=7168/1024 out-interface=WAN
16 chain=prerouting action=mark-packet new-packet-mark=8192/1024-up passthrough=no src-address-list=8192/1024 in-interface=LAN
17 chain=postrouting action=mark-packet new-packet-mark=8192/1024-up passthrough=no src-address-list=8192/1024 out-interface=WAN