MikroTik routers and RADIUS: connect, test, and choose one authority
Add routers, run Test, understand local-secret versus RADIUS authentication, speed changes with CoA, and how Metron finds new devices.
Open NetworkMikroTik Routers.
Add a router#
- Use one MikroTik per branch, reachable from the internet. Use API-SSL on port 8729 where you can; plain API is port 8728.
- Pick the branch the router serves. The branch must exist.
- Use the generated setup script to prepare the router. See Network profile.
- Press Test. It checks login, API permissions and that the router's PPPoE login mode matches the branch.
Router credentials are stored encrypted in your account. They are never taken from a request.
Metron works with RouterOS v7. It reads and stores the version string. RouterOS v6 is not claimed.
Choose one authority for PPPoE#
| Mode | Who owns the login | What suspension does |
|---|---|---|
| Local secrets | Metron writes the PPP secret on the router | Disables the secret and ends the session; reconnect enables it and re-dials |
| RADIUS | An external RADIUS server | Plan speed comes from the queue RADIUS creates. Metron will not create a local secret, because that would override RADIUS |
The RouterOS RADIUS client configuration is covered in Configure MikroTik RouterOS v7 RADIUS.
Speed changes#
On a plan change Metron either writes the new profile to the local secret and drops the session, or, for RADIUS routers, sends a live CoA speed change to the router on UDP port 3799. For CoA the router needs /radius incoming enabled on port 3799, and a shared secret must be set. CoA changes the live session only; your RADIUS server must also hold the new plan.
Health and sync#
- Every 5 minutes Metron logs in to each router and refreshes its status. One critical alert is raised for an outage longer than 10 minutes, and one notice when it recovers.
- Every 15 minutes Metron retries failed provisioning and imports router state: secrets, live sessions and queues, recording online status, IP, MAC, uptime and rate.
New devices#
A router secret Metron does not know goes to NetworkNew Devices for you to review. A secret found on two routers is reported, never bound automatically.
Router drift#
A read-only report compares Metron with the router: paid but still cut, unpaid but still online, orphan secrets. Use it to find revenue leaks.
Private addresses#
If the router has a private address, see Routers on private addresses.