MikroTik Guide
An isometric pink and purple wireless router with three antennas, front ports, and status lights sits on a glowing blue grid, evoking network controller and access point management.
wireless

MikroTik CAPsMAN Setup Guide for RouterOS 7

Set up MikroTik WiFi CAPsMAN on RouterOS 7. Provision access points, map Trusted, Guest, and IoT SSIDs to VLANs, and verify local forwarding.

By MikroTik Guide Editorial · · Updated · 6 min read

Set up MikroTik WiFi CAPsMAN on RouterOS 7 by creating Wi-Fi and provisioning profiles on the controller, then pointing each access point (CAP) at the controller’s management IP. For Trusted, Guest, and IoT Wi-Fi, assign each SSID a VLAN and let each CAP forward client traffic onto its own uplink. MikroTik WiFi CAPsMAN manual

Choose the CAPsMAN controller

Run /system/package/print on each AP to check its installed wireless package. MikroTik package inventory example

AP packageController menu
wifi-qcom or wifi-qcom-acWiFi CAPsMAN at /interface/wifi/capsman
wirelessLegacy CAPsMAN at /caps-man

This example uses dual-band wifi-qcom CAPs. A WiFi CAPsMAN controller can be a wired RouterOS device that supports the WiFi package. A CAP needs at least a Level 4 RouterOS license. Wi-Fi package guide · WiFi CAPsMAN requirements · Legacy CAPsMAN manual

Earlier RouterOS 7 releases used the wifiwave2 package for this menu before 7.13. If your equipment still runs RouterOS 6, start with the RouterOS 6 to 7 upgrade guide. MikroTik Wi-Fi manual

For an 802.11ac AP on the legacy package, check your model against MikroTik’s compatibility list before switching it to wifi-qcom-ac. MikroTik Wi-Fi 5 driver guide

In this example, the router hosts CAPsMAN at 10.10.100.1 on vlan100-mgmt. Each CAP has a management address in the same subnet. Each CAP uplink is a trunk carrying the four VLANs in the table.

VLANUseSubnetGatewayExample access policy
10Trusted SSID10.10.10.0/2410.10.10.1Internet and explicitly allowed IoT services
20Guest SSID10.10.20.0/2410.10.20.1Internet access with wireless client isolation
30IoT SSID10.10.30.0/2410.10.30.1Internet access and blocked connections to Trusted and management devices
100CAP management10.10.100.0/2410.10.100.1CAPs, controller, and authorized administration

Use the bridge VLAN filtering guide to prepare the tagged uplinks and management VLAN interfaces. The controller needs a VLAN interface and DHCP service for each client subnet in this layout. On each CAP, include the bridge in VLAN 100’s tagged membership so its management VLAN interface can reach the uplink. MikroTik bridge VLAN filtering · MikroTik CAPsMAN VLAN example

Keep a separate management path available when changing VLAN filtering. Verify that you can still reach the controller and each CAP over VLAN 100 before configuring CAPsMAN. Prepare backups with the MikroTik router setup checklist. MikroTik bridge management guidance

Use the router’s input rules to restrict access to the controller and its forward rules to enforce the policy between client VLANs. The RouterOS firewall guide explains rule order. MikroTik firewall filter manual

Configure the controller and provision SSIDs

This example adapts MikroTik’s VLAN provisioning example to the table above. It uses br as the name of the existing bridge on the controller and CAPs. Substitute your bridge and management interface names, set the actual country, and replace each passphrase placeholder before running the commands. MikroTik CAPsMAN VLAN example · MikroTik Wi-Fi settings

/interface/wifi/datapath
add name=dp-trusted bridge=br vlan-id=10 traffic-processing=on-cap
add name=dp-guest bridge=br vlan-id=20 traffic-processing=on-cap client-isolation=yes
add name=dp-iot bridge=br vlan-id=30 traffic-processing=on-cap

/interface/wifi/security
add name=sec-trusted authentication-types=wpa2-psk,wpa3-psk passphrase="REPLACE_TRUSTED_PASSPHRASE"
add name=sec-guest authentication-types=wpa2-psk,wpa3-psk passphrase="REPLACE_GUEST_PASSPHRASE"
add name=sec-iot authentication-types=wpa2-psk,wpa3-psk passphrase="REPLACE_IOT_PASSPHRASE"

/interface/wifi/configuration
add name=cfg-trusted country="YOUR_COUNTRY" datapath=dp-trusted security=sec-trusted ssid=Trusted
add name=cfg-guest country="YOUR_COUNTRY" datapath=dp-guest security=sec-guest ssid=Guest
add name=cfg-iot country="YOUR_COUNTRY" datapath=dp-iot security=sec-iot ssid=IoT

/interface/wifi/provisioning
add action=create-dynamic-enabled master-configuration=cfg-trusted slave-configurations=cfg-guest,cfg-iot supported-bands=2ghz-ax name-format=%I
add action=create-dynamic-enabled master-configuration=cfg-trusted slave-configurations=cfg-guest,cfg-iot supported-bands=5ghz-ax name-format=%I

/interface/wifi/capsman
set ca-certificate=auto enabled=yes interfaces=vlan100-mgmt

Each band gets Trusted on the master interface and Guest and IoT on virtual interfaces. The %I names include the CAP’s system identity. Profile edits propagate to linked interfaces automatically. Manually reprovisioning a radio can recreate its interfaces and break references such as bridge ports. MikroTik radio provisioning and property reference

With local forwarding (on-cap), each CAP handles its own Wi-Fi traffic. MikroTik documents controller forwarding from RouterOS 7.21beta2 and lists on-capsman-secure as the encrypted tunnel mode. MikroTik CAPsMAN datapath guide · MikroTik Wi-Fi datapath properties

VLANs on wifi-qcom-ac CAPs

Use local forwarding on wifi-qcom-ac and provision those radios with profiles that omit vlan-id. Set slaves-static=yes on the CAP and identify the virtual interfaces created for Guest and IoT before assigning their bridge ports. MikroTik CAPsMAN VLAN example for wifi-qcom-ac

SSIDPVID on its Wi-Fi bridge portBridge VLAN membership
Trusted10Wi-Fi port untagged, uplink tagged
Guest20Wi-Fi port untagged, uplink tagged
IoT30Wi-Fi port untagged, uplink tagged

Join each CAP to the controller

On each wifi-qcom CAP, assign the physical Wi-Fi interfaces to CAPsMAN and use the CAP’s bridge for local forwarding. The example assumes the CAP has radios named wifi1 and wifi2. Run it on one CAP first and verify it before moving to the next. MikroTik CAP setup and datapath reference

/interface/wifi/datapath
add name=capdp bridge=br

/interface/wifi
set [find default-name=wifi1] configuration.manager=capsman datapath=capdp disabled=no
set [find default-name=wifi2] configuration.manager=capsman datapath=capdp disabled=no

/interface/wifi/cap
set caps-man-addresses=10.10.100.1 discovery-interfaces=vlan100-mgmt enabled=yes slaves-datapath=capdp

Changing which manager controls the radios can interrupt Wi-Fi access. Make the change from a wired management connection. Keep configuration.manager on the CAP’s physical Wi-Fi interfaces. MikroTik CAP configuration example

Discovery and certificates

The example gives each CAP the controller’s IP directly. MikroTik also documents Layer 2 discovery, DHCP option 138 for the manager address, and DHCP option 15 for resolving _capsman._tcp.<domain>. The default MikroTik hostname for this lookup is _capsman._tcp.lan. MikroTik CAP discovery reference

To use DHCP discovery, set caps-manager=10.10.100.1 under /ip/dhcp-server/network on the management subnet’s entry. The controller’s interfaces setting limits where it listens for Layer 2 CAP connections. Use the firewall rules above to control IP access. MikroTik DHCP network CLI reference · MikroTik CAPsMAN global configuration

For certificate-based admission, set certificate=request under /interface/wifi/cap and confirm each CAP has a valid certificate before setting require-peer-certificate=yes on the controller. The CAP setting lock-to-caps-man=yes locks it to the first manager it connects to. MikroTik WiFi CAP CLI reference · MikroTik CAPsMAN property reference

For controller-managed RouterOS package upgrades, see upgrade-policy and package-path under /interface/wifi/capsman. MikroTik CAPsMAN global configuration

Verify provisioning and VLAN access

On the controller, check each CAP’s identity and each radio’s interface binding. Inspect the effective Wi-Fi settings locally, since detailed output can include passphrases. MikroTik radio and Remote CAP reference · MikroTik Wi-Fi print examples

/interface/wifi/capsman/remote-cap/print detail
/interface/wifi/radio/print
/interface/wifi/print detail
What to checkExpected result in this example
Remote CAPsEach configured AP appears under its own identity.
Provisioned Wi-Fi interfacesTrusted, Guest, and IoT appear on each matched radio.
Local forwardingIn /interface/wifi/print detail, the effective datapath setting traffic-processing is on-cap for Trusted, Guest, and IoT.
Client address and internet accessJoin each SSID in turn and confirm the client gets an address in that SSID’s subnet and can reach the internet.
VLAN policyGuest and IoT clients cannot reach a Trusted host or a CAP management address.
Guest isolationTwo Guest clients on the same Wi-Fi interface cannot reach each other.

If a CAP is missing from the controller’s list, check management reachability and the CAP’s discovery settings. If the CAP connects but a radio has no bound interface, check its provisioning rule and band match. MikroTik CAP discovery and radio provisioning

If an SSID comes up but its client gets no address, check the SSID’s datapath and DHCP scope. Use /interface/bridge/vlan/print to check the tagged uplink. On wifi-qcom-ac, also check the Wi-Fi bridge port’s PVID. MikroTik bridge VLAN table · MikroTik CAPsMAN VLAN example

On hAP ax² and hAP ax³ CAPs, MikroTik recommends enabling RSTP on the CAP bridge. MikroTik CAP setup notes

Evidence and limits. The examples were adapted from MikroTik’s RouterOS 7.26 documentation. The commands were not run on hardware for this guide.

Sources

  1. WiFi CAPsMAN - RouterOS Manual
  2. Wi-Fi - RouterOS Manual
  3. Wi-Fi 5 (802.11ac) - RouterOS Manual
  4. AP Controller (CAPsMAN) - RouterOS Manual
  5. Upgrading to v7 - RouterOS Manual
  6. Bridging and Switching - RouterOS Manual
  7. Filter - RouterOS Manual
  8. WiFi CAP CLI Reference - RouterOS Manual
  9. DHCP Server Network CLI Reference - RouterOS Manual

Related