Membuat Jaringan Dasar dengan Mikrotik RouterOS

2 min read 4 hours ago
Published on Oct 23, 2024 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Introduction

This tutorial guides you through the process of setting up a basic network using Mikrotik RouterOS. It is designed for beginners who want to understand fundamental networking concepts and how to implement them using Mikrotik devices. By the end of this tutorial, you will be equipped to create a simple yet functional network.

Step 1: Setting Up Your Mikrotik Router

  • Connect your Mikrotik router to a power source and your PC using an Ethernet cable.
  • Open your web browser and enter the default IP address of the router, typically 192.168.88.1.
  • Log in using the default credentials (username: admin, password: [leave it blank]).
  • Change the password immediately for security purposes.

Step 2: Configuring Basic Network Settings

  • Navigate to the "IP" menu and select "Addresses."
  • Click on the "+" button to add a new IP address.
  • Assign an IP address to your router interface. For example, set it to 192.168.1.1/24.
  • Choose the appropriate interface, usually "ether1" or "bridge."

Step 3: Setting Up DHCP Server

  • Go to the "IP" menu and select "DHCP Server."
  • Click on the "DHCP Setup" button.
  • Select the interface where you want the DHCP server to run (e.g., "bridge").
  • Follow the prompts to configure the DHCP settings:
    • Specify the address space (e.g., 192.168.1.0/24).
    • Define the gateway (the router's IP address, e.g., 192.168.1.1).
    • Set the DNS servers (you can use public DNS like 8.8.8.8).

Step 4: Configuring Firewall Settings

  • Navigate to the "IP" menu and select "Firewall."
  • Under the "Filter Rules" tab, click the "+" button to add a new rule.
  • Set the chain to "input."
  • Set the action to "accept" for established and related connections.
  • Add another rule to drop all other input traffic for security.

Step 5: Testing Your Network Setup

  • Connect a device to the network (via Ethernet or Wi-Fi).
  • Check if the device receives an IP address from the DHCP server.
  • Open a web browser on the connected device and try accessing the internet.

Conclusion

You have successfully created a basic network using Mikrotik RouterOS. This setup includes configuring your router, establishing a DHCP server, and ensuring network security through firewall settings. As a next step, consider exploring advanced features such as VPN setup or traffic management to enhance your network capabilities.