These steps are for MikroTik devices on RouterOS 7 that show a Wireless menu in WinBox (802.11n devices and older 802.11ac devices). If your device shows WiFi instead, use the MikroTik RouterOS guide. Log in with WinBox and click RADIUS on the left menu.
RADIUS
Click + and configure:
Service: | wireless (ticked, all others unticked) |
Address: | **radius_server_ip_1** |
Protocol: | udp |
Secret: | **radius_secret** |
Authentication Port: | **radius_auth_port** |
Accounting Port: | **radius_acct_port** |
Click OK, then click + again and add:
Service: | wireless (ticked, all others unticked) |
Address: | **radius_server_ip_2** |
Protocol: | udp |
Secret: | **radius_secret** |
Authentication Port: | **radius_auth_port** |
Accounting Port: | **radius_acct_port** |
Click OK. In the RADIUS window click Incoming and check:
Accept: | Unticked |
Security Profile
Click Wireless on the left menu, open the Security Profiles tab, click + and on the General tab configure:
Name: | purple-staff |
Mode: | dynamic keys |
Authentication Types: | WPA2 EAP (ticked, all others unticked) |
Unicast Ciphers: | aes ccm |
Group Ciphers: | aes ccm |
Management Protection: | disabled |
On the RADIUS tab configure:
MAC Authentication: | Unticked |
MAC Accounting: | Unticked |
EAP Accounting: | Ticked |
On the EAP tab configure:
EAP Methods: | passthrough |
Click OK.
Interfaces
Open the WiFi Interfaces tab. To broadcast Staff WiFi alongside your existing network, click +, choose Virtual and on the Wireless tab configure:
Mode: | ap bridge |
SSID: | Staff WiFi (or whatever we've agreed) |
Master Interface: | wlan1 |
Security Profile: | purple-staff |
Click OK, then enable the new interface. If the device has a second radio, do the same with Master Interface wlan2. To use a radio for Staff WiFi alone, open wlan1 (and wlan2) instead and set SSID and Security Profile as above.
Click Bridge on the left menu, open the Ports tab, click + and add each new interface to the bridge your staff network uses (or give it the VLAN your staff network uses).
Terminal
You can make the same changes from New Terminal instead. Change the bridge name to match your device, and leave out the staff-wlan2 lines on a single-radio device:
/radius add service=wireless address=**radius_server_ip_1** secret=**radius_secret** authentication-port=**radius_auth_port** accounting-port=**radius_acct_port**
/radius add service=wireless address=**radius_server_ip_2** secret=**radius_secret** authentication-port=**radius_auth_port** accounting-port=**radius_acct_port**
/radius incoming set accept=no
/interface wireless security-profiles add name=purple-staff mode=dynamic-keys authentication-types=wpa2-eap unicast-ciphers=aes-ccm group-ciphers=aes-ccm eap-methods=passthrough radius-eap-accounting=yes management-protection=disabled
/interface wireless add name=staff-wlan1 master-interface=wlan1 mode=ap-bridge ssid="Staff WiFi" security-profile=purple-staff disabled=no
/interface wireless add name=staff-wlan2 master-interface=wlan2 mode=ap-bridge ssid="Staff WiFi" security-profile=purple-staff disabled=no
/interface bridge port add bridge=bridge interface=staff-wlan1
/interface bridge port add bridge=bridge interface=staff-wlan2RouterOS applies each change as soon as you click OK or run the command.
Configuration Complete
The configuration is now complete.