All systems operational Your IP: 216.73.217.25 info@cloudhosting.lv +371 66 66 29 69 Client area

← All questions

MikroTik Point-to-Point (P2P) Wireless Link Setup in Winbox

Updated:

MikroTik configuration for point-to-point

Mikrotik equipment is configured with the Winbox program. You can download it from http://router_address/winbox/winbox.exe (where router_address is the address of the device), or open the device web interface and download Winbox there. The first step is a factory reset.

Reset Mikrotik to factory settings

1. When you connect to the device for the first time, a window titled RouterOS Default Configuration appears right away. Click Remove Configuration to reset the settings.

point_to_point_1

2. If someone has already logged in to the device, this window does not appear. Open New Terminal and restart the device with the system reset-configuration command; after the reboot the reset window appears.

Or open the System menu, then Reset Configuration, tick No Default Configuration and click Reset Configuration. The factory configuration is reset and you can start configuring.

BRIDGE Settings

Add the ports to a bridge so that traffic passing through the MikroTik can go on over the wired and the Wi-Fi interface. Otherwise the two devices will only "talk" to each other. In the Bridge menu click the + button (a window like the one below opens), give the bridge a name and click OK.

point_to_point_2

Go to the Ports tab, click + and select the Wlan1 port in the Interface line. In the Bridge line choose bridge1, created earlier. Click OK. Click + again and add the Ether1 port:

point_to_point_3

Assign an IP address to the bridge:

IP menu => Addresses submenu => "+" button, enter the bridge address and subnet mask. The Network field is optional.

point_to_point_4

Configuration in the Wireless menu

Select Wireless, then open Wlan1.

1. Wireless tab settings

Wireless interface parameters are set here:

point_to_point_5

Mode - the modes we need here:

  • Bridge - BS mode for point-to-point
  • AP Bridge - BS mode for point-to-multipoint.

There are also modes for client devices:

  • Station - mode for a client device.
  • Station WDS - mode for a client device with WDS support (recommended on the client).

Band - the first part of the value, before the dash, is the operating frequency, and the second part is the supported standards. Select the only-N value to get the maximum speed.

On the client device you can select several standards, for example 2GHz-B/G/N; then, if the settings on the BS change, clients reconnect automatically.

Channel Width - 20MHz by default. If you plan more than 100 Mbit/s and use a gigabit device, you can use a 40MHz channel.

Frequency - select from the list or enter manually.

SSID - the network name that subscriber units will see.

Radio Name - The device name. For example, kv_Titova_d_8.

Scan List - default means that only the standard channels are used. You can specify one frequency, several (separated by commas), a range (with a dash), or combine them. For example, "2424, 2300-2500" means that the device first looks for the BS on 2424 and, if there is no response, searches the 2300-2500 range.

Wireless Protocol - the protocol the equipment uses.

  • 802.11 - the standard Wi-Fi protocol, suitable for connecting clients with laptops or USB adapters to the base station.
  • Nstreme - the older polling protocol. If it is selected, only devices that support it can connect to the BS.
  • NV2 - the latest MikroTik polling protocol, and the one we use. Again, only devices that support it can connect; laptops and USB adapters cannot.
  • Any - set on subscriber devices, so they can connect to the BS whatever mode is set on it.

Security Profile - usually default.

Frequency Mode - how the available frequencies and transmit power are selected:

  • Manual Txpower - lets you set the radio transmit power manually.
  • Regulatory Domain - uses only the power and frequencies allowed in the selected country.
  • Superchannel - lets you change the power and use all available frequencies.

Country - select the country to get the list of frequencies allowed there.

Antenna Gain - usually not used, enter "0".

WMM Support - radio priorities.

Bridge Mode - always enabled.

Default Authenticate - with the box ticked, all devices can connect; with it cleared, only devices on the access list.

Default Forward - controls whether connected client devices can exchange data with each other. This setting only works in 802.11 mode for laptops and devices without WDS support.

Hide SSID - with the box ticked, the network name is hidden (the network does not show up in scan results). To connect, enter the network name manually on the client device.

2. Settings on the Data Rates tab

If you chose N-only mode, clear all checkboxes on this tab. Otherwise, use the settings below.

Rate Selection - set Advanced so the devices choose the best modulation themselves.

Supported Rates - clear the ticks so the devices use only the faster G and N standards.

Supported Rates A / G - tick all boxes.

Basic Rates B - clear all boxes.

Basic Rates A / G - tick only 6 M.

point_to_point_6

3. Settings in the Advanced tab

Max Station Count - maximum number of client connections.

Distance - maximum distance to the subscriber stations.

  • Dynamic - the distance is determined automatically.
  • Indoor - use this value for links inside a building.

Noise Floor Threshold - the most common values are between -92 and -107. You can also set it yourself: measure the noise level and set the threshold 5-10 units above it. For example, if the noise level is -107, set -100.

Periodic Calibration - keep this option enabled, so the device adjusts automatically when the noise level rises or falls.

Calibration Interval - we recommend 10 seconds. The default is 1 minute.

Hw. Retries - how many times data is resent if no acknowledgement of receipt arrives.

  • Values between 1 and 5 - the network is faster, but users with a weak signal get a less stable connection (packet loss, frequent disconnects).
  • Values between 5 and 10 - a good middle ground.
  • Values between 10 and 15 - the most reliable delivery, but on a problematic network the speed drops.

So for a base station medium values (5-7) are better, and for a point-to-point link set the maximum, 15.

Hw. Protection Mode - always set RTS / CTS.

Adaptive Noise Immunity - enable AP and client mode to protect against interference when several base stations are close by.

Disconnect Timeout - if a client does not respond to requests for this long, it is disconnected.

On Fail Retry Time - we recommend leaving 100 ms.

4. Settings in HT, HT MCS, WDS tabs

If your devices use MIMO (preferable, since such equipment has higher bandwidth), set the antennas on the HT tab:

  • HT Tx Chains - the transmit chains, HT Rx Chains - the receive chains. With MIMO, enable both antennas for receive and transmit (chain0, chain1). With only one antenna, enable one chain.
  • For outdoor links on the N standard, always set HT Guard Interval to long.
  • HT Extension Channel - adds the extension channel when you use 40 MHz. Find the best value by testing.
point_to_point_7

On the HT MCS tab, leave the default values.

On the WDS tab we are interested in two parameters:

  • WDS Mode - we recommend Dynamic, so new clients are added to the bridge automatically. If you prefer to add them manually, select Static.
  • WDS Default Bridge - clients are added to the bridge named in this field, so enter its name here: bridge1.
point_to_point_8

5. Settings in NV2 tab

Here you set the parameters of the MikroTik NV2 protocol. We skip the Nstreme protocol and its tab, because it is outdated and almost never used.

  • TDMA Period Size - the transmission period. We recommend 5-7 for a base station and 1-2 for a radio bridge. A lower value gives lower latency but less speed; a higher value gives more speed but more latency. Find the best value by testing.
  • Cell Radius - the distance to the most distant client
  • Security - turns NV2 encryption on or off. This encryption is separate from the settings on the Security Profiles tab.
  • Preshared Key - the key for joining the network; set the same key on all devices.
point_to_point_9

6. Settings on the TX POWER tab

Usually left at Default. If you select Manual, fields appear where you can set the radio card power manually.

point_to_point_10

Encryption configuration

In the Wireless section, go to Security Profiles tab:

  • Name - assign the encryption profile name.
  • Mode - select the encryption mode, usually Dynamic Keys.
  • Authentication Types - tick WPA PSK, WPA2 PSK or both.
  • Unicast Ciphers - Select the encryption algorithm. We recommend AES, because the radio card supports it.
  • Group Ciphers - the same as above.
  • WPA Pre-Shared Key - the password for WPA encryption; set the same one on all devices.
  • WPA2 Pre-Shared Key - likewise, the password for WPA2 encryption
point_to_point_11

Second device configuration

Most settings are the same, except:

  • Give the second point an IP address different from the first one.
  • On the Wireless tab of the wireless interface set Mode - station wds, and in SSID enter the network name of the first point.

Checking the connection status

If everything is set up correctly, the Status tab of the wireless interface shows these parameters:

Band - the frequency and standard the point works on (mode)

Frequency - The channel frequency of the device

Tx/Rx Rate - transmission and reception modulation

SSID - network name

BSSID - MAC address of the second device

Radio Name - name of the second device

Tx/Rx Signal Strength - transmit and receive signal level. If two antennas are used, the values are summed.

Tx/Rx Signal Strength Ch0 - transmit and receive signal level on antenna (chain) 0

Tx/Rx Signal Strength Ch1 - transmit and receive signal level on antenna (chain) 1

Noise Floor - Noise level

Signal To Noise - the signal-to-noise ratio. Values from 5 to 15 are usually considered low, 15 to 30 average, 30 to 60 high. The higher, the better.

Tx/Rx CCQ - channel transmit / receive quality.

  • From 1 to 50 - bad
  • From 50 to 80 - medium
  • From 80 to 100 - good.

Distance - The distance to the second device

Router OS Version - Firmware version of the second device

Last IP - the last IP address recorded by the device

WDS Link - shows whether the link works in WDS mode.


point_to_point_12
Need a router in the data centre, not on a shelf?
MikroTik CHR on a VPS with the licence included: BGP, VPN and firewall on our network, reachable from anywhere.
See what it costs

Ready to start?

Deploy in minutes or talk to an engineer about what fits your project.