This example shows how to configure automatic fail-over (bonding) 5Ghz link in combination with 60Ghz devices in CLI.
When a connection between 60Ghz wireless is lost, it will automatically use the bonded interface.
Example is done from empty configuration state with [WinBox] utility
After configuration reset - only mac-telnet is possible.
Connect to device by connecting to it's MAC address or use WinBox New terminal to find device MAC address of the W60G device by issuing command:
/ip neighbor print |
---|
To connect to the W60G device issue a command:
/tool mac-telnet mac-address |
---|
Enter username and password. By default username is admin and password is either blank or printed on the device sticker.
[admin@KD_GW] > /tool mac-telnet C4:AD:34:84:EE:5D |
---|
Add new bridge and assign bridge members to it by issuing the following command:
/interface bridge add name=bridge |
---|
To check if the bridge has been created issue a command:
[admin@MikroTik] > /interface bridge print |
---|
All previously explained steps are identical to Bridge and Station devices. When configuring wireless interface different modes needs to be used.
For ap-bridge device -
Enable W60G interface after required parameters have been set.
[admin@MikroTik] > /interface w60g set wlan60-1 mode=ap-bridge frequency=auto ssid=MySSID password=choosepassword isolate-stations=no |
---|
For Station devices -
Enable W60G interface after required parameters have been set.
[admin@MikroTik] > /interface w60g set wlan60-1 mode=station-bridge frequency=auto ssid=MySSID password=choosepassword isolate-stations=no |
---|
For ap-bridge device -
Enable 5Ghz interface after required parameters have been set.
[admin@MikroTik] > /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik authentication-types=wpa2-psk mode=dynamic-keys wpa2-pre-shared-key=choosepassword |
---|
For Station devices -
Enable W60G interface after required parameters have been set.
[admin@MikroTik] > /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik authentication-types=wpa2-psk mode=dynamic-keys wpa2-pre-shared-key=choosepassword |
---|
Configure bridge for AP to ensure that 5ghz is working as fail-over. It is required to bridge wlan1, ether1, and all 60ghz station interfaces.
In the example it shows only 2 station devices but it is possible to add up to 8 devices.
For ap-bridge device please set configuration as follows:
[admin@MikroTik] >/interface bridge port |
---|
Configure bonding and assign slave interfaces in this setup it is selected as built in wlan1 interface, but it can be also ether interface in other kind of setups.
For station-bridge devices please set bonding as:
[admin@MikroTik] > /interface bonding add mode=active-backup name=bond1 primary=wlan60-1 slaves=wlan60-1,wlan1 |
---|
Add interface members (ether1 and bond1) to newly created bridge.
[admin@MikroTik] > /interface bridge port add interface=ether1 bridge=bridge |
---|
Link should be established after all previously explained steps are done. It's recommended to set up administrator password on both devices.
Ensure connection is established to the correct device by checking the device settings like serial number and model name by issuing a command:
[admin@MikroTik] > /system routerboard print |
---|
If bridge wlan60-1 interface in bridge settings is inactive and configuration is done properly to enable the interface on a device - issue a command:
[admin@MikroTik] > /interface w60g enable wlan60-1 |
---|