2Networks: connecting and managing your MikroTik
Every MikroTik router you add in the “Networks” section is called a “network”. You add it once, paste one line on it, and after that any change you make in the panel reaches it by itself.
Adding a new network#
- Open “Networks” and press “Add network”.
- Type a name that tells the place apart, such as “Main tower” or “Maadi branch”.
- Choose what this router will run (the table below), and press “Add”.
| The choice | What it means and what it changes |
|---|---|
| PPPoE broadband | Subscribers with a user name and password on their home router. |
| Hotspot | Cards and subscribers on Wi-Fi, with a login page. |
| Stop sharing the internet from phones | A phone that logged in through the hotspot cannot share the internet with other devices. It applies to the hotspot only. |
| Hotspot login by MAC | A subscriber whose name is his device's MAC gets in by himself, typing nothing. It must be on if you will add “MAC” subscribers. |
| Our service first on the internet line | Logins, accounting and control from the panel pass before any download, even on a full line. You type the line's real speed (explained below). |
Connecting the router with one line#
The connection page opens after you add the network, and you can come back to it at any time with the “Setup code” button in the network's row.
- Press “Copy the line”. The line works for half an hour and holds no password. If the time is over, open the page again for a new one.
- Open a Terminal on the MikroTik: the New Terminal button in Winbox, the Terminal page in WebFig, or SSH.
- Paste the line (right click → Paste), press Enter, and wait until it finishes.
MY RADIUS: setup done - everything is in place, and the connection page turns by itself to “The router is connected to RADIUS” with a green mark.Setting up a new, blank router#
If the router is new and runs no hotspot and no PPPoE, choose “A new blank router” at the top of the connection page. The line you get sets up the hotspot, the broadband or both, and then connects the router:
- Type the “Internet interface (WAN)”: the interface the internet comes from, named as in Winbox (such as
ether1). The router must already reach the internet. - For the hotspot: the interface, its network such as
10.5.50.1/24(253 devices), and the login page's name such ashotspot.lan. - For broadband: the interface, and the network subscribers get addresses from, such as
10.10.0.1/20(about 4,000 subscribers). Leave “One session per device (MAC)” off: when it is on, two connections from one device cut each other. - Press “Make the line” and paste the line you get in the Terminal in the same way.
What the line changes on your router#
Everything it adds carries the comment MY RADIUS, and your other settings stay as they are. What matters to you:
- The first time only, it saves a backup of the router named
myradius-before-setup.backup, which you find in Files. - The router's own users (PPP secrets and hotspot users) keep working.
- It turns FastTrack off so that package speeds apply. If you turn it on again yourself, the speeds will not apply.
- A subscriber or card on the “stop page” reaches that page only. The My Radius addresses he needs open on the hotspot even before login, so he can top up or renew.
- A subscriber on the network types the short address (
10.10.10.10at first) to open his page, and10.10.10.10/logoutto leave the hotspot. You change the address in Settings. - If something else on the router changes or deletes our settings, the router puts them back by itself within a minute and tells you in the panel.
The router's backup way#
Routers on RouterOS 7.15 or newer also get a backup way with the same line, with no extra step. If the router's main connection is down for about 20 seconds, it goes on over the backup by itself: logins and accounting keep working and whoever is online stays online, and it goes back to the main one by itself.
| The mark under the network's name | What it means |
|---|---|
| Backup way ready | The router is on its main connection and the backup is ready. |
| On its backup way | The main connection is down now and logins go on. Until it is back, Winbox, the router's state, opening devices and installing the hotspot page do not work. |
| Backup way: registering | It is being prepared and turns to “ready” by itself. |
| No backup way | The network works normally with no backup, and the reason is written under it: two of your routers are on the same internet line, the router has no public address, or its address is registered as a WPA-Enterprise access point. |
- A router older than RouterOS 7.15 works on its main connection only. If you upgrade it, paste the setup line again so it takes the backup.
- If both ways are down for more than two and a half minutes while the internet itself works, the router drops whoever is online until one is back. If the internet itself is down, nobody is dropped.
- If the router's internet line has a shared address from the provider, disconnects and speed changes may not reach it while it is on the backup. Every new login is still decided by the account's true state.
Our service first on the internet line#
If downloads fill the line, logins may be slow. This switch lets them pass first:
- On the connection page, switch on “Our service first on the internet line”.
- Type the real “Line download speed (Mbps)” and “Line upload speed (Mbps)”, from the line's plan or from a speed test while the line is idle.
- It is saved at once and the router takes it by itself.
Only 5% of the upload is kept free for our service and the whole download is the subscribers' (a line under 5 Mbps also keeps 20% of its download free). Each subscriber's package speed stays as it is.
A network's row and all its buttons#
| The part or button | What it does |
|---|---|
| The network's name and state | Online or not, how long it has been connected, the backup way's mark, and WPA-Enterprise when it is on for it. |
| Online on it | How many are online through it now. |
| Access devices | How many devices it has on the network map. |
| Winbox | The address and port that open the router in Winbox from anywhere, with a copy button. Type them in Connect To. |
| Setup code | The connection page: the choices, the line, the full code and the removal code. |
| Router state | The router's model and version, its uptime, CPU and free memory. |
| ⋮ → Login page | Design and install this network's hotspot login page. A green dot means our page is installed; a dot of another colour means it needs installing again. |
| ⋮ → Restart | Restarts the router after asking. All subscribers drop for a minute or two until it is back. |
| ⋮ → WPA-Enterprise | Opens the access points in the WPA-Enterprise section (when you have it). |
| ⋮ → Name and place | Changes the network's name and sets where its tower is on the map. |
| ⋮ → On the map | Shows once its place is set, and opens the subscribers' map there. |
| ⋮ → Delete | Deletes the network from the panel (explained below). |
Many networks? From 7 networks a search by name shows above them, with “Connected” / “Not connected” and their counts.
The router's settings update by themselves#
Any change in the panel that concerns the router reaches it by itself within about a minute (two at most), and nobody is dropped. If the router is offline at the time, it takes the change as soon as it is back. The state is written under the network:
| What it says | What to do |
|---|---|
| Settings up to date | Nothing, all is well. |
| New settings | Nothing: the router takes them by itself, or as soon as it connects. |
| The router last asked for its settings a long time ago | Check that the router is on and has internet. If it is and the message stays, paste the line again. |
| The last settings were taken incomplete | Paste the line once more. If it stays, send support the MY RADIUS lines of the router's Log. |
| This router does not update itself yet | Paste the setup line on it once. |
Warnings shown under a network#
| The warning | What it means and what to do |
|---|---|
| Jobs or scripts of another system that fetch settings from the internet | Another system may delete our settings. If you do not need it, remove its jobs from System → Scheduler and System → Scripts. |
| Another RADIUS server is on | Logins may go to it and be slow or refused. If you do not need it, remove it from RADIUS on the router. |
| Our RADIUS settings were changed and the router put them back | Logins came back by themselves. If it keeps happening, remove the other system from the router. |
The full code and the removal code#
Both are at the end of the connection page, beside the common problems and their fixes:
- The full code: for a router that cannot download the line (no DNS, for example). It holds the router's passwords: never send it to anyone.
- The removal code: takes every My Radius setting off the router and puts back what was changed; the backup stays.
Deleting a network from the panel#
- If the router will not be used with My Radius again, paste the removal code on it first.
- Choose “Delete” under ⋮ and confirm.
Last updated: 06 December 2026