Home - Blog - Details

How to set up a wireless network on a Mikrotik device?

Emma Smith
Emma Smith
Emma is an experienced employee at Beijing LEMO Technology Development Co., Ltd. She has in - depth knowledge of beauty and aesthetic devices and is dedicated to promoting high - quality Chinese beauty technology products globally.

Setting up a wireless network on a Mikrotik device can be a rewarding experience, offering flexibility, performance, and control over your network infrastructure. As a Mikrotik Device supplier, I've had the privilege of assisting numerous customers in configuring their wireless networks to meet their specific needs. In this blog post, I'll guide you through the step-by-step process of setting up a wireless network on a Mikrotik device, from initial preparation to final configuration.

Prerequisites

Before you begin setting up your wireless network, there are a few prerequisites you need to ensure:

  1. Mikrotik Device: You'll need a Mikrotik device, such as a RouterBOARD or a hAP ac², which supports wireless networking. Make sure your device has the necessary wireless interfaces and is running the latest RouterOS version. You can find a wide range of Mikrotik Device on our website.
  2. Internet Connection: You'll need a stable internet connection, either through a wired Ethernet connection or a cellular modem. Connect your Mikrotik device to your internet source using an Ethernet cable or configure the cellular modem if applicable.
  3. Computer or Laptop: You'll need a computer or laptop with a web browser to access the Mikrotik device's web interface (WebFig) or a terminal emulator to access it via SSH or Telnet.
  4. Knowledge of Basic Networking Concepts: Familiarity with basic networking concepts, such as IP addresses, subnets, and wireless security protocols, will be helpful but is not mandatory.

Step 1: Physical Setup

The first step in setting up a wireless network on a Mikrotik device is to perform the physical setup. Follow these steps:

  1. Power On the Device: Connect your Mikrotik device to a power source using the provided power adapter. Wait for the device to boot up, which may take a few minutes.
  2. Connect to the Device: Connect your computer or laptop to the Mikrotik device using an Ethernet cable. Make sure your computer's network settings are configured to obtain an IP address automatically (DHCP).
  3. Access the Web Interface: Open a web browser on your computer and enter the default IP address of the Mikrotik device (usually 192.168.88.1) in the address bar. Press Enter to access the WebFig web interface.
  4. Log In to the Device: Enter the default username (admin) and password (blank by default) to log in to the Mikrotik device. If you've changed the password previously, enter your new password.

Step 2: Configure the WAN Interface

Once you've logged in to the Mikrotik device, the next step is to configure the WAN (Wide Area Network) interface to connect to the internet. Follow these steps:

  1. Navigate to the Interface Section: In the WebFig web interface, click on the "Interfaces" tab in the left sidebar to access the interface settings.
  2. Identify the WAN Interface: Look for the interface that is connected to your internet source, usually labeled as "ether1" or "wan". Select the interface by clicking on its name.
  3. Configure the WAN Settings: Depending on your internet service provider (ISP), you may need to configure the WAN settings differently. Common configurations include DHCP (Dynamic Host Configuration Protocol), PPPoE (Point-to-Point Protocol over Ethernet), and Static IP.
    • DHCP: If your ISP assigns an IP address dynamically, select "DHCP Client" as the interface type and click "Apply". The Mikrotik device will automatically obtain an IP address from your ISP.
    • PPPoE: If your ISP uses PPPoE authentication, select "PPPoE Client" as the interface type. Enter your PPPoE username and password in the respective fields and click "Apply".
    • Static IP: If your ISP assigns a static IP address, select "Ethernet" as the interface type. Enter the static IP address, subnet mask, gateway, and DNS server addresses provided by your ISP and click "Apply".

Step 3: Configure the Wireless Interface

After configuring the WAN interface, the next step is to configure the wireless interface to create a wireless network. Follow these steps:

Mikrotik Device bestMikrotik Device factory

  1. Navigate to the Wireless Section: In the WebFig web interface, click on the "Wireless" tab in the left sidebar to access the wireless settings.
  2. Identify the Wireless Interface: Look for the wireless interface, usually labeled as "wlan1" or "wifi". Select the interface by clicking on its name.
  3. Configure the Wireless Settings: Configure the wireless settings according to your requirements. Here are some important settings to consider:
    • Mode: Select the appropriate wireless mode, such as "AP" (Access Point) or "Station" (Client). For most home or small office networks, "AP" mode is recommended.
    • SSID: Enter the name of your wireless network (SSID). Choose a unique and easy-to-remember name.
    • Frequency: Select the appropriate wireless frequency band, such as 2.4 GHz or 5 GHz, depending on your devices' compatibility and the available spectrum in your area.
    • Security: Enable wireless security to protect your network from unauthorized access. Common security protocols include WPA2-PSK and WPA3-PSK. Enter a strong passphrase to secure your network.
    • Channel: Select the appropriate wireless channel to avoid interference from other nearby wireless networks. You can choose an automatic channel selection or manually select a specific channel.
  4. Apply the Wireless Settings: Once you've configured the wireless settings, click "Apply" to save the changes. The Mikrotik device will restart the wireless interface to apply the new settings.

Step 4: Configure the DHCP Server

To allow devices to connect to your wireless network and obtain IP addresses automatically, you need to configure the DHCP (Dynamic Host Configuration Protocol) server on the Mikrotik device. Follow these steps:

  1. Navigate to the DHCP Server Section: In the WebFig web interface, click on the "IP" tab in the left sidebar and then click on the "DHCP Server" sub-tab to access the DHCP server settings.
  2. Create a New DHCP Server: Click on the "Add New" button to create a new DHCP server. Enter a name for the DHCP server and select the appropriate network interface (usually the wireless interface) as the DHCP server interface.
  3. Configure the DHCP Pool: Define the IP address range (DHCP pool) that the DHCP server will use to assign IP addresses to devices. Enter the starting and ending IP addresses of the pool, as well as the subnet mask.
  4. Configure the DHCP Lease Time: Specify the lease time, which is the duration for which a device can use an assigned IP address. A common lease time is 24 hours.
  5. Apply the DHCP Server Settings: Once you've configured the DHCP server settings, click "Apply" to save the changes. The Mikrotik device will start the DHCP server and begin assigning IP addresses to devices that connect to your wireless network.

Step 5: Test the Wireless Network

After configuring the wireless network and the DHCP server, the final step is to test the wireless network to ensure that it is working properly. Follow these steps:

  1. Connect a Wireless Device: On a wireless device, such as a smartphone, tablet, or laptop, search for available wireless networks. Select the SSID of your wireless network and enter the wireless password if prompted.
  2. Verify the Connection: Once the device is connected to the wireless network, open a web browser and try to access a website. If you can access the internet, the wireless network is working properly.
  3. Check the DHCP Assignment: On the connected device, check the IP address assigned by the DHCP server. You can usually find this information in the device's network settings. Make sure the IP address is within the DHCP pool range you configured earlier.

Step 6: Optional Configuration

Depending on your specific requirements, you may need to perform additional configuration on the Mikrotik device. Here are some optional configurations you can consider:

  1. Firewall Configuration: Configure the Mikrotik device's firewall to protect your network from unauthorized access and malicious traffic. You can set up rules to allow or block specific types of traffic, such as incoming and outgoing connections.
  2. Guest Network Configuration: Create a separate guest network to provide internet access to guests without exposing your main network. You can configure different security settings and access restrictions for the guest network.
  3. QoS (Quality of Service) Configuration: Configure QoS settings to prioritize certain types of traffic, such as voice and video, over others. This can help ensure a smooth and reliable network experience for all users.

Conclusion

Setting up a wireless network on a Mikrotik device may seem complex at first, but by following the steps outlined in this blog post, you can easily configure your wireless network to meet your specific needs. As a Mikrotik Device supplier, we're here to assist you every step of the way. If you have any questions or need further assistance, please don't hesitate to contact us for a consultation and to discuss procurement options.

References

  • Mikrotik RouterOS Documentation
  • Mikrotik Community Forums

Send Inquiry

Popular Blog Posts