Cara Seting Mikrotik Menggunakan IP Statik Sampai Bisa Online || How to setting mikrotik static ip
Table of Contents
Introduction
This tutorial provides a step-by-step guide on how to configure a MikroTik router using a static IP address. Setting a static IP ensures that your router always retains the same IP address, making it easier to manage and identify devices within your network. This process is crucial for stable network management, particularly in environments where IP addresses need to remain constant.
Step 1: Preparing for Configuration
Before you begin configuring your MikroTik router, follow these preparatory steps:
-
Identify the Available IP Addresses:
- Use a network scanning tool or access your router’s DHCP settings to find IP addresses that are currently not in use.
- Ensure that the static IP you plan to use does not conflict with other devices.
-
Gather Required Information:
- Obtain the following details from your Internet Service Provider (ISP):
- Static IP address
- Subnet mask
- Gateway IP address
- DNS server addresses
- Obtain the following details from your Internet Service Provider (ISP):
Step 2: Accessing the MikroTik Router
To start configuring the router:
-
Connect to the Router:
- Use an Ethernet cable to connect your computer to the MikroTik router.
-
Open Winbox or WebFig:
- Use Winbox (the MikroTik configuration utility) or access the router through a web browser by entering the router's default IP address (usually
192.168.88.1
).
- Use Winbox (the MikroTik configuration utility) or access the router through a web browser by entering the router's default IP address (usually
-
Log In:
- Enter your credentials (default username is usually
admin
with no password).
- Enter your credentials (default username is usually
Step 3: Configuring the Static IP Address
Now, configure the static IP settings:
-
Navigate to IP Settings:
- In Winbox, go to
IP
>Addresses
.
- In Winbox, go to
-
Add the Static IP Address:
- Click the
+
button to add a new IP address. - Enter the static IP address you obtained, followed by the subnet mask (e.g.,
192.168.1.2/24
). - Select the interface (e.g.,
ether1
) that connects to your ISP.
- Click the
-
Set the Default Gateway:
- Go to
IP
>Routes
. - Click the
+
button to add a new route. - In the
Gateway
field, enter the gateway IP address provided by your ISP.
- Go to
Step 4: Configuring DNS Settings
To ensure your router can resolve domain names:
-
Access DNS Settings:
- Navigate to
IP
>DNS
.
- Navigate to
-
Add DNS Servers:
- Enter the DNS server addresses provided by your ISP.
- Enable the option to allow remote requests if needed.
Step 5: Testing the Configuration
After completing the settings, it's important to test the configuration:
-
Check the Status:
- Go to
IP
>Addresses
to ensure your static IP is listed and active.
- Go to
-
Ping Test:
- Use the terminal in Winbox or the command prompt on your computer to ping an external website (e.g.,
ping google.com
) to confirm that the router can access the internet.
- Use the terminal in Winbox or the command prompt on your computer to ping an external website (e.g.,
Conclusion
You have successfully configured your MikroTik router with a static IP address. This setup will help maintain a stable connection and facilitate easier network management.
Next Steps
- Consider exploring additional features of MikroTik, such as setting up a firewall or configuring NAT for advanced networking.
- Regularly check your router settings to ensure everything remains in order, especially after firmware updates or network changes.