airmax5 and mikrotik router board connection guide -...
TRANSCRIPT
AirMax5 and Mikrotik Router Board
Connection Guide
AIRMAX5 AND MIKROTIK Connection Guide 2
Copyright & Disclaimer The information in this guide is for your reference only. OvisLink Corp. does not guarantee the accuracy of its content, please use with caution. The content is subject to change without notice. All trademarks are property of their respective owners.
AIRMAX5 AND MIKROTIK Connection Guide 3
Table of Contents
Chapter 1: Overview................................................................................................................................4 Chapter 2: Connect with AP and Client.................................................................................................6
2.1 Connection via WEP encryption ..............................................................................................6 2.2 Connection via WAP-PSK encryption....................................................................................16 2.3 Connection via WAP2-PSK encryption .................................................................................26
Chapter 3: Connect with WDS Bridge .................................................................................................36 3.1 MikroTik WDS configuration (via WEP encryption) ...............................................................36 3.2 AirMax5 WDS configuration (via WEP encryption)................................................................37
AIRMAX5 AND MIKROTIK Connection Guide 4
1 Chapter 1: Overview
This document guides you to connect AirMax5 and MikroTik with wireless interface. When Mikrotik is set to be AP Bridge mode, AirMax5 can connect to it by using client infrastructure mode and WDS Bridge pure MAC mode.
Topology:
Devices:
1. MikroTik Router Board with one Atheros AR5414A mini-PCI with RouterOS installed. 2. AirMax5 firmware version 1.00e10a. 3. PC * 2 .
Software:
In this document, we use winbox for MikroTik configuration only.
AIRMAX5 AND MIKROTIK Connection Guide 5
Note:
Please change the IP address of AirMax5 and PCs before process. In this document, we use IP address as above topology. Default IP address of Mikrotik ether1 is 192.168.88.1.
AIRMAX5 AND MIKROTIK Connection Guide 6
2 Chapter 2: Connect with AP and Client
2.1 Connection via WEP encryption
2.1.1 Mikrotik ap bridge configuration using WEP encryption
Step 1. Connect to MikroTik
Launch winbox software, enter 192.168.88.1 in “Connect To” field, default user name is “admin” and click “Connect” button to connect MikroTik Router.
Step 2. Add IP address to wireless interface (waln1)
Click “IP” “Address” It then Address List menu, click “+” to add IP address on network interface. When “New Address” dialog box shows, fill the IP address information to wlan1. In our sample the IP address of wlan1 is 192.168.88.3/24 Then click “OK” button to save.
12 3
AIRMAX5 AND MIKROTIK Connection Guide 7
Right click on wlan1 interface and click “Enable” button to enable.
Right click on wlan1
7
8
1 2
3
4
5
6
AIRMAX5 AND MIKROTIK Connection Guide 8
Step 3. Bridge wlan1 and ether1
All interfaces can not communicate to each other by default, so that wlan1 and ether1 can not send data to each other. It needs to add bridge to these two interfaces. Click “Bridge” menu and “+” button. It shows “New Interface” dialog box. Click “OK” to save. In our example, we did not change parameters here.
Add ether1 and wlan1 to Ports. Click “Ports” and “+” It then shows the “New Bridge Port” dialog box, select and set parameters then click “OK” button to save.
1
2
3
4
5
6
AIRMAX5 AND MIKROTIK Connection Guide 9
In our example, we add “ether1” and “wlan1” to Bridge. Note: Please add ether1 first.
Step 4. Back to Interface and confirm interfaces are enabled.
In our example, bridge1, ether1 and wlan1 must be enabled.
Bridge1, ether1, wlan1 were
7
8 9
AIRMAX5 AND MIKROTIK Connection Guide 10
Step 5. WEP encryption setting.
Click “Wireless” button to show the “Wireless Tables” dialog box, then select “Security Profiles” “+” It shows “New Security Profile” dialog box, Select “General” sheet add new profile named “wep” and select “static keys required” Mode.
Then, select “Static Keys” sheet to configure WEP security.
In our sample, we use these parameters: key 0: 40bit wep key string: 1234567890 Transmit Key: key0 Click “OK” button to save.
1 2
3
4
5
1234567890
6
7
8
9
AIRMAX5 AND MIKROTIK Connection Guide 11
Step 6. Configure wlan1 to AP Bridge mode
Click “Interfaces” button to show the “Interface List” dialog box, then double click on “wlan1.” It shows “Interface <wlan1>” dialog box. Select “ap bridge” mode and select “wep” into security Profile, then click “OK” button to save. In our sample, we use these parameters: Mode: ap bridge Band: 5GHz Frequency: 5180MHz (Channel 36) SSID: MikroTik Security: wep
Wlan1 is enabled,
double click to configure
1
2
3
4
5
AIRMAX5 AND MIKROTIK Connection Guide 12
2.1. 2 AirMax5 connect to Mikrotik via WEP encryption
Step 1. Change AirMax5’s IP and operation mode
Access AirMax5 using IE browser at default IP 192.168.1.1. Click “System Configuration Mode” button to login AirMax5.
The default password is “airlive”
Then, assign new IP to AirMax5. In our sample, we use below setting: IP: 192.168.88.2 Mask: 255.255.255.0 Gateway: 192.168.88.1 ( MikroTik’s IP )
Then, Click “Apply” button to save the IP settings.
1
2
airlive 3 4
AIRMAX5 AND MIKROTIK Connection Guide 13
It then shows “configure successfully”
We can login to device at “192.168.88.2”, then in “Operation Mode” select “Client Infrastructure” click “Change Mode” button “OK”
And then, it shows reboot dialog window
5
6
8
9
10
7
AIRMAX5 AND MIKROTIK Connection Guide 14
Step 2. Connect to Mikrotik
After reboot system, click “Setup” button into client infrastructure mode setting. Click “Site Survey”, it shows site survey dialog window, then select “MikroTik” click “ASSOCIATE” button.
Then it shows “Security Settings” dialog window. In our example, we can set to be:
Transmitting Key: WEP Key 1 Key type: WEP64-Hex Key string: 1234567890 Click “Apply” button to save.
1
2
3
4
5
67
8
AIRMAX5 AND MIKROTIK Connection Guide 15
It shows “Configured successfully” Click “OK” button.
Then confirm the SSID is “MikroTik” in the below window. If the SSID isn’t it, please enter “MikroTik” in “Network ID (SSID)” field. Then click “Apply” button to connect with MikroTik.
Step 3. PC2 ping PC1
9
1
2
AIRMAX5 AND MIKROTIK Connection Guide 16
2.2 Connection via WAP-PSK encryption
2.2.1 Mikrotik ap bridge configuration using WPA-PSK encryption
Step 1 Connect to MikroTik
Launch winbox software, enter 192.168.88.1 in “Connect To” field, default user name is “admin” and click “Connect” button to connect MikroTik Router.
Step 2 Add IP address to wireless interface (waln1)
Click “IP” “Address” It then Address List menu, click “+” to add IP address on network interface. When “New Address” dialog box shows, fill the IP address information to wlan1. In our sample the IP address of wlan1 is 192.168.88.3/24 Then click “OK” button to save.
12 3
AIRMAX5 AND MIKROTIK Connection Guide 17
Right click on wlan1 interface and click “Enable” button to enable.
1 2
3
4
5
6
Right click on wlan1
7
8
AIRMAX5 AND MIKROTIK Connection Guide 18
Step 3. Bridge wlan1 and ether1
All interfaces can not communicate to each other by default, so that wlan1 and ether1 can not send data to each other. It needs to add bridge to these two interfaces. Click “Bridge” menu and “+” button. It shows “New Interface” dialog box. Click “OK” to save. In our example, we did not change parameters here.
Add ether1 and wlan1 to Ports. Click “Ports” and “+” It then shows the “New Bridge Port” dialog box, select and set parameters then click “OK” button to save.
1
2
3
4
5
6
AIRMAX5 AND MIKROTIK Connection Guide 19
In our example, we add “ether1” and “wlan1” to Bridge. Note: Please add ether1 first.
Step 4. Back to Interface and confirm interfaces are enabled.
In our example, bridge1, ether1 and wlan1 must be enabled.
Bridge1, ether1, wlan1 were
7
8 9
AIRMAX5 AND MIKROTIK Connection Guide 20
Step 5. WPA-PSK encryption setting.
Click “Wireless” button to show the “Wireless Tables” dialog box. Select “Security Profiles” “+”, then it shows “New Security Profile” dialog box, Select “General” sheet add new profile that named “wpa-psk” and select “dynamic keys” Mode. Select WPA PSK for authentication types and enter Key string into “WPA Pre-shared KEY” field. Click “OK” button to save. In our sample, we use these parameters: Name: wpa-psk Mode: dynamic keys Authentication Types: WPA PSK Unicast Ciphers: tkip Group Ciphers: tkip WPA Pre-Shared Key: 12345678
12345678
1
2
3
4
5
6
7
AIRMAX5 AND MIKROTIK Connection Guide 21
Step 6. Configure wlan1 to AP Bridge mode
Click “Interfaces” button to show the “Interface List” dialog box, then double click on “wlan1.” It shows “Interface <wlan1>” dialog box. Select “ap bridge” mode and select “wpa-psk” into security Profile, then click “OK” button to save. In our sample, we use these parameters: Mode: ap bridge Band: 5GHz Frequency: 5180MHz (Channel 36) SSID: MikroTik Security: wpa-psk
wlan1 is enabled,
double click to configure
1
2
3
4
5
AIRMAX5 AND MIKROTIK Connection Guide 22
2.2.2 AirMax5 connect to Mikrotik via WPA-PSK encryption
Step 1. Change AirMax5’s IP and operation mode
Access AirMax5 using IE browser at default IP 192.168.1.1. Click “System Configuration Mode” button to login AirMax5.
The default password is “airlive”
Then, assign new IP to AirMax5. In our sample, we use below setting: IP: 192.168.88.2 Mask: 255.255.255.0 Gateway: 192.168.88.1 ( MikroTik’s IP )
airlive 3 4
1
2
AIRMAX5 AND MIKROTIK Connection Guide 23
Then, Click “Apply” button to save the IP settings.
It then shows “configure successfully” We can login to device at “192.168.88.2”, then in “Operation Mode” select “Client Infrastructure” click “Change Mode” button “OK”
And then, it shows reboot dialog window
5
6
7
8
9
10
AIRMAX5 AND MIKROTIK Connection Guide 24
Step 2. Connect to Mikrotik via WPA-PSK encryption
After reboot system, click “Setup” button into client infrastructure mode setting. Click “Site Survey”, it shows site survey dialog window, then select “MikroTik” click “ASSOCIATE” button.
Then it shows “Security Settings” dialog window. In our example, we can set to be: Security Policy: WPA-PSK Pre-shared Key: 12345678 Encryption type: Both Click “Apply” button to save.
1
2
3
4 5
6
AIRMAX5 AND MIKROTIK Connection Guide 25
It shows “Configured successfully” Click “OK” button.
Then confirm the SSID is “MikroTik” in the below window. If the SSID isn’t it, please enter “MikroTik” in “Network ID (SSID)” field. Then click “Apply” button to connect with MikroTik.
Step 3. PC2 ping PC1
7
1
2
AIRMAX5 AND MIKROTIK Connection Guide 26
2.3 Connection via WAP2-PSK encryption 2.3.1 Mikrotik ap bridge configuration using WPA2-PSK encryption
Step 1. Connect to MikroTik
Launch winbox software, enter 192.168.88.1 in “Connect To” field, default user name is “admin” and click “Connect” button to connect MikroTik Router.
Step 2. Add IP address to wireless interface (waln1)
Click “IP” “Address” It then Address List menu, click “+” to add IP address on network interface. When “New Address” dialog box shows, fill the IP address information to wlan1. In our sample the IP address of wlan1 is 192.168.88.3/24 Then click “OK” button to save.
12 3
1 2
3
4
5
6
AIRMAX5 AND MIKROTIK Connection Guide 27
Right click on wlan1 interface and click “Enable” button to enable.
Step 3. Bridge wlan1 and ether1
All interfaces can not communicate to each other by default, so that wlan1 and ether1 can not send data to each other. It needs to add bridge to these two interfaces. Click “Bridge” menu and “+” button. It shows “New Interface” dialog box. Click “OK” to save. In our example, we did not change parameters here.
Right click on wlan1
7
8
1
2
3
AIRMAX5 AND MIKROTIK Connection Guide 28
Add ether1 and wlan1 to Ports. Click “Ports” and “+” It then shows the “New Bridge Port” dialog box, select and set parameters then click “OK” button to save.
In our example, we add “ether1” and “wlan1” to Bridge. Note: Please add ether1 first.
4
5
6
7
8 9
AIRMAX5 AND MIKROTIK Connection Guide 29
Step 4. Back to Interface and confirm interfaces are enabled.
In our example, bridge1, ether1 and wlan1 must be enabled.
Step 5. WPA2-PSK encryption setting.
Click “Wireless” button to show the “Wireless Tables” dialog box. Select “Security Profiles” “+”, then it shows “New Security Profile” dialog box, Select “General” sheet add new profile that named “wpa2-psk” and select “dynamic keys” Mode. Select WPA2 PSK for authentication types and enter “Key string” into “WPA Pre-shared KEY” field. Click “OK” button to save. In our sample, we use these parameters: Name: wpa2-psk Mode: dynamic keys Authentication Types: WPA2 PSK Unicast Ciphers: tkip Group Ciphers: tkip WPA2 Pre-Shared Key: 12345678
Bridge1, ether1, wlan1 were
AIRMAX5 AND MIKROTIK Connection Guide 30
Step 6. Configure wlan1 to AP Bridge mode
Click “Interfaces” button to show the “Interface List” dialog box, then double click on “wlan1.” It shows “Interface <wlan1>” dialog box. Select “ap bridge” mode and select “wpa2-psk” into security Profile, then click “OK” button to save. In our exsample, we use these parameters: Mode: ap bridge Band: 5GHz Frequency: 5180MHz (Channel 36) SSID: MikroTik Security: wpa2-psk
12345678
1
2
3
4
5
6
7
AIRMAX5 AND MIKROTIK Connection Guide 31
2.3.2 AirMax5 connect to Mikrotik via WPA2-PSK encryption
Step 1. Change AirMax5’s IP and operation mode
Access AirMax5 using IE browser at default IP 192.168.1.1. Click “System Configuration Mode” button to login AirMax5.
wlan1 is enabled,
double click to configure
1
2
3
4
5
1
2
AIRMAX5 AND MIKROTIK Connection Guide 32
The default password is “airlive”
Then, assign new IP to AirMax5. In our sample, we use below setting: IP: 192.168.88.2 Mask: 255.255.255.0 Gateway: 192.168.88.1 ( MikroTik’s IP )
Then, Click “Apply” button to save the IP settings.
It then shows “configure successfully”
We can login to device at “192.168.88.2”, then in “Operation Mode” select “Client
Infrastructure” click “Change Mode” button “OK”
airlive 3 4
5
6
AIRMAX5 AND MIKROTIK Connection Guide 33
And then, it shows reboot dialog window
Step 2. Connect to Mikrotik via WPA2-PSK encryption
After reboot system, click “Setup” button into client infrastructure mode setting. Click “Site Survey”, it shows site survey dialog window, then select “MikroTik” click “ASSOCIATE” button.
7
8
9
10
AIRMAX5 AND MIKROTIK Connection Guide 34
Then it shows “Security Settings” dialog window. In our example, we can set to be: Security Policy: WPA2-PSK Pre-shared Key: 12345678 Encryption type: Both Click “Apply” button to save.
1
2
3
4 5
6
AIRMAX5 AND MIKROTIK Connection Guide 35
It shows “Configured successfully” Click “OK” button.
Then confirmed the SSID was “MikroTik” in the below window. If the SSID isn’t it, please enter “MikroTik” in “Network ID (SSID)” field. Then click “Apply” button to connect with MikroTik.
Step 3. PC2 ping PC1
1
2
7
AIRMAX5 AND MIKROTIK Connection Guide 36
3 Chapter 3: Connect with WDS Bridge
In this chapter, our object is to make WDS connection between MikroTik and AirMax5. Before reading the following instructions, please follow as setting of Ch.2.1 in advance. We will add WDS interface in wlan1 for MikroTik and changes to WDS Bridge (pure MAC) mode for AirMax5.
3.1 MikroTik WDS configuration (via WEP encryption)
Step1. Add WDS interface for wlan1
Click “Interface” “+” and select “WDS” Then it shows “New Interface” dialog box, enter the AirMax5’s MAC address in the “WDS Address” field then click “OK” button to save it.
AirMax5’s MAC address
1
2
3
4
5
AIRMAX5 AND MIKROTIK Connection Guide 37
Step2. Enable WDS in wlan1 Return to the “Interface List” dialog, the interface shows wds1 for wlan1. Double click “wlan1”, and change parameters in “Interface <wlan1>” dialog. Click “OK” button to save. In our example, we select “WDS Mode” to “static” and “WDS Default Bridge” to “bridge1”. Some Access Point can not send SSID in WDS mode. Please enable “WDS Ignore SSID” in this situation. In our example, we use the original SSID “MikroTik”.
3.2 AirMax5 WDS configuration (via WEP encryption)
Step1. Change to WDS Bridge Mode for AirMax5
Login to AirMax5. In “Operation Mode”, select “WDS Bridge(Pure MAC)” filled parameters click “Change Mode” button “OK”.
The interface shows wds1 for wlan1
Double click wlan1
1
2 3
AIRMAX5 AND MIKROTIK Connection Guide 38
Step2. Configure WDS settings via WEP encryption for AirMax5
After system reboot, click “Setup” button for WDS Bridge, then click “Setup” button for “WDS Settings”
1
2
3
4
AIRMAX5 AND MIKROTIK Connection Guide 39
It will show a dialog window of “WDS Settings”. We should set the “WEP Key” first. Select “WEP64-Hex” then enter the key string is “1234567890” in “WEPKey1” field and then click “Apply” button to save the WEP settings. After setting WEP Key, we continue to configure WDS as following: In our example, we use these parameters: WDS Settings: Name: 1 SSID: MikroTik ( must to same as Mikrotik Router ) MAC address: 00-0c-42-1f-98-5d (MikroTik’s MAC address ) Security Policy: WEP WEP encryption: WEP Key1 WEP Key type: WEP64-Hex WEP Key string: 1234567890
12
34 5
MikroTik’s MAC address
6
7
8 9
AIRMAX5 AND MIKROTIK Connection Guide 40
Step3. PC2 ping PC1