My setup is used as a home router - RB1100Hx2 with ROS 6.33.3
I have a separate wireless device (non routerboard device) that does multiple VLAN's\SSID's and want to limit bandwidth for GuestAP using PCQ - Equal Bandwidth for a Number of Users
WAN is on Interface (name) ether11_wan
Wlan is on interface (name) ether12_wlan, this port has VLAN's for each SSID:
ether12_wlan_vlan1
ether12_wlan_vlan20
*VLAN's can't talk to each other through a set policy rule in routes.
SSID's:
HomeAP (locked down - on VLAN1 support subnet = 192.168.0.0/24)
GuestAP (wide Open to "ether11_wan" for internet access only for VLAN20 subnet = 192.168.3.0/24)
I found this below script that seemed to work for download but for upload it did not do well at all.
Through my research I read that ROS v6.xx removed parent=global-in and global-out.
- the example queue tree parent= was set as described above, but they don't exist, I replaced it to just "global" and download only worked.
- also tried parrent= ether12_wlan_vlan20 and eather11_wan, but no joy
\
Manual:Queues - PCQ Examples
RouterOS - RouterOS - MikroTik Documentation
/queue type add name="PCQ_download" kind=pcq pcq-rate=64000 pcq-classifier=dst-address
/queue type add name="PCQ_upload" kind=pcq pcq-rate=32000 pcq-classifier=src-address
/ip firewall mangle add chain=prerouting action=mark-packet
in-interface=ether11_wan new-packet-mark=client_upload
/ip firewall mangle add chain=prerouting action=mark-packet
in-interface=ether12_wlan_vlan20 new-packet-mark=client_download
/queue tree add name="PCQ_download" parent=global queue=PCQ_download packet-mark=client_download
/queue tree add name="PCQ_upload" parent=global queue=PCQ_upload packet-mark=client_upload
#also tried
/queue simple add target=192.168.3.0/24 queue=PCQ_upload/PCQ_download
Anyone out there that can steer me in the right direction on this, it seems to be with the global-in and -out.
- tried everything the link stated and seems that having 2 queue trees with the same parent as global, only one works.
Thanks