NG HOST VIP Docs العربية My account

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.

The Networks section: each network, its state and its Winbox address

Adding a new network#

  1. Open “Networks” and press “Add network”.
  2. Type a name that tells the place apart, such as “Main tower” or “Maadi branch”.
  3. Choose what this router will run (the table below), and press “Add”.
The form of a new network
The choiceWhat it means and what it changes
PPPoE broadbandSubscribers with a user name and password on their home router.
HotspotCards and subscribers on Wi-Fi, with a login page.
Stop sharing the internet from phonesA phone that logged in through the hotspot cannot share the internet with other devices. It applies to the hotspot only.
Hotspot login by MACA 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 lineLogins, accounting and control from the panel pass before any download, even on a full line. You type the line's real speed (explained below).
What you will see
The network shows in the list as offline, and its connection page opens by itself so you can go on.

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.

The page that connects a router
Important
Before you paste the line, make sure no other system on the router deletes or changes others' settings by itself (such as an old RADIUS system). We never touch anything that is not ours, but such a system may delete our settings and stop logins. If there is one you do not need, remove it first.
  1. 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.
  2. Open a Terminal on the MikroTik: the New Terminal button in Winbox, the Terminal page in WebFig, or SSH.
  3. Paste the line (right click → Paste), press Enter, and wait until it finishes.
What you will see
The last line in the Terminal says 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.
Note
The page works on a phone too: copy the line, open WebFig in the phone's browser (type the router's IP → Terminal) and paste it. If you change a choice on this page after the router is connected, it is saved at once and the router takes it by itself within two minutes; you do not paste the line again.

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:

  1. 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.
  2. For the hotspot: the interface, its network such as 10.5.50.1/24 (253 devices), and the login page's name such as hotspot.lan.
  3. 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.
  4. Press “Make the line” and paste the line you get in the Terminal in the same way.
Setting up a new router
Note
If the router already runs a hotspot or PPPoE, the line stops without changing anything. Use “A router already running” then.

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.10 at first) to open his page, and 10.10.10.10/logout to 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.

A network on its backup way
The mark under the network's nameWhat it means
Backup way readyThe router is on its main connection and the backup is ready.
On its backup wayThe 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: registeringIt is being prepared and turns to “ready” by itself.
No backup wayThe 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:

  1. On the connection page, switch on “Our service first on the internet line”.
  2. 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.
  3. 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.

Important
A speed lower than the real one makes the internet a little slower for everybody; a higher one and the priority does not work. The switch cannot repair a line that drops: that is up to your provider.

A network's row and all its buttons#

A connected network whose settings are up to date
The part or buttonWhat it does
The network's name and stateOnline or not, how long it has been connected, the backup way's mark, and WPA-Enterprise when it is on for it.
Online on itHow many are online through it now.
Access devicesHow many devices it has on the network map.
WinboxThe address and port that open the router in Winbox from anywhere, with a copy button. Type them in Connect To.
Setup codeThe connection page: the choices, the line, the full code and the removal code.
Router stateThe router's model and version, its uptime, CPU and free memory.
⋮ → Login pageDesign 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.
⋮ → RestartRestarts the router after asking. All subscribers drop for a minute or two until it is back.
⋮ → WPA-EnterpriseOpens the access points in the WPA-Enterprise section (when you have it).
⋮ → Name and placeChanges the network's name and sets where its tower is on the map.
⋮ → On the mapShows once its place is set, and opens the subscribers' map there.
⋮ → DeleteDeletes 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 rest of a network's actions, under ⋮
A router's state
Changing the name and setting the place

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 saysWhat to do
Settings up to dateNothing, all is well.
New settingsNothing: the router takes them by itself, or as soon as it connects.
The router last asked for its settings a long time agoCheck that the router is on and has internet. If it is and the message stays, paste the line again.
The last settings were taken incompletePaste the line once more. If it stays, send support the MY RADIUS lines of the router's Log.
This router does not update itself yetPaste the setup line on it once.

Warnings shown under a network#

Warnings under a network
The warningWhat it means and what to do
Jobs or scripts of another system that fetch settings from the internetAnother system may delete our settings. If you do not need it, remove its jobs from System → Scheduler and System → Scripts.
Another RADIUS server is onLogins 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 backLogins came back by themselves. If it keeps happening, remove the other system from the router.
Note
We never remove anything that is not ours. A warning goes away by itself once you fix its cause.

The full code and the removal code#

Both are at the end of the connection page, beside the common problems and their fixes:

Common problems, the full code and the removal code
  • 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#

  1. If the router will not be used with My Radius again, paste the removal code on it first.
  2. Choose “Delete” under ⋮ and confirm.
Important
Whoever is online on it is dropped, and its devices leave the network map and their links stop. Subscribers and cards themselves are kept. If the router is offline when you delete it, restart it or paste the removal code on it.

Last updated: 06 December 2026