Community discussions

MikroTik App
 
whatismyname
just joined
Topic Author
Posts: 1
Joined: Sat Jan 01, 2022 11:54 pm

Queues use with a virtual wireless interface with a separated VLAN

Sun Jan 02, 2022 1:09 am

Hi there!

I try to config guest Wifi AP on cAP AC with separate VLAN and apply the traffic limit on it. DHCP server and internet gw based on the other cisco router. Below is the config of cAP AC. Also, I used different ways to rollout the queues. But only interface queues are work partially.

This config doesn’t limit the traffic from residents of the Guest SSID in fact. Even I don’t see any counters increase inside the GuestSpeedLimit section in a winbox.
But when I apply GuestSpeedLimit-BiDir queue type into WGuest interface the limitation goes fine but only in relation to download.

I need just to limit the users’ speed (both DL and UL) with Guest SSID. What am I doing wrong?
# jan/02/2022 01:36:16 by RouterOS 6.49.2
# software id = 4TGZ-P2S0
#
# model = RBcAPGi-5acD2nD

/interface bridge
add admin-mac=08:55:31:23:82:CA auto-mac=no name=LAN_bridge vlan-filtering=yes

/interface ethernet
set [ find default-name=ether1 ] comment="To MainRouter"

/interface vlan
add interface=LAN_bridge name=CommonVLAN vlan-id=1
add interface=LAN_bridge name=GuestVLAN vlan-id=200

/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX country=no_country_set disabled=no distance=indoors frequency=auto hide-ssid=yes installation=indoor mode=ap-bridge name=WLAN2.4 security-profile=default \
    ssid=WiFi2.4 station-roaming=enabled wireless-protocol=802.11 wps-mode=disabled
add disabled=no keepalive-frames=disabled mac-address=0A:55:31:23:82:CB master-interface=WLAN2.4 multicast-buffering=disabled name=WGuest security-profile=defGuest ssid=Guest vlan-id=200 wds-cost-range=0-4294967295 wds-default-cost=0 wps-mode=push-button-5s

/queue simple
add max-limit=512k/512k name=GuestSpeedLimit target=WGuest,WGuest

/queue type
add kind=pcq name=GuestSpeedLimit-BiDir pcq-burst-rate=1M pcq-burst-threshold=256k pcq-burst-time=5s pcq-classifier=src-address,dst-address pcq-rate=512k pcq-total-limit=1000KiB
set 6 pcq-rate=2M pcq-total-limit=1000KiB
set 7 pcq-rate=2M pcq-total-limit=1000KiB

/interface bridge port
add bridge=LAN_bridge comment=defconf interface=WLAN2.4
add bridge=LAN_bridge interface=ether1
add bridge=LAN_bridge interface=WGuest pvid=200

/interface bridge vlan
add bridge=LAN_bridge tagged=ether1,LAN_bridge vlan-ids=1
add bridge=LAN_bridge tagged=ether1,LAN_bridge vlan-ids=200

/ip address
add address=192.168.11.40/24 interface=CommonVLAN network=192.168.11.0
add address=192.168.200.40/24 interface=GuestVLAN network=192.168.200.0

/ip dhcp-relay
add dhcp-server=192.168.11.1 disabled=no interface=CommonVLAN local-address=192.168.11.40 name=CommonDHCP_Relay
add dhcp-server=192.168.200.1 disabled=no interface=GuestVLAN local-address=192.168.200.40 name=GuestDHCP_Relay

/ip firewall filter
...
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related disabled=yes
...
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: Bing [Bot] and 65 guests