Basic Router Setup
A new router ready for internet: WAN (DHCP/static/PPPoE), LAN bridge, DHCP server, DNS, NAT, clock & NTP.
For a router reset without the default configuration (no-defaults). The LAN ports are joined in one bridge, clients get an IP from the DHCP server, and everything goes out to the internet through NAT masquerade.
- Run it on a router without the default configuration. If a LAN port is already in another bridge (e.g. the default one), remove it from that bridge first.
- Connect Winbox by MAC address while running it, since the LAN IP is created halfway through the script.
How to use: Copy the script, open Winbox → New Terminal, paste. Or Download .rsc, upload it in Files, then run /import file-name=basic-config.rsc.
RouterOS v6 / v7 · added 10 November 2026
readyRouterOS v6 / v7
Terminal <basic-config>
More in Basics