We have a RB2011UiAS-RM we did manage using WebFig.
Now we have to replace it and want to configure it using a simple (short) SRC file (17 lines), attached here at the end.
My question is : is there a tool to verify it is complete, I mean, sufficient to run, complete ?
Or maybe any of you can point me what the script is missing or wrong ...
My concepts about routing are not clear enough -
I supose packets from clients to internet use "out-interface" from IP masquerade,
but packets from internet to clients I just dont know.
Any pointer to any URL (as Mikrotik routing) is welcome.
Today I am reading https://help.mikrotik.com/docs/display/ ... n+RouterOS
Have a nice day !
============================================================
The cabling is as follows :
*) eth1 has a direct cable to the ISP router, whose IP is 192.168.1.1
*) eth9 is where I connect my computer, whose IP is 5.5.5.22
*) eth5 has a cable going to Ubiquity "Rocket M5" controller, whose IP is 172.25.33.10 - this antena is where our clients connect, using Mikrotik LBE_5ac_Gen2
*) eth5 has another IP (10.139.130.65), IP used by our clients as Gateway in their configuration. The user's IP is in the range (10.139.130.66 .. 10.139.130.94).
============================================================
The "mine.rsc" file is - I can FTP it to router and can "/import mine.rsc" it perfectly
Code: Select all
# 2021.12.23 - RouterOS 6.47.4
/interface ethernet
set [ find default-name=ether1 ] comment="router FO" speed=100Mbps
set [ find default-name=ether5 ] comment="user access" speed=100Mbps
set [ find default-name=ether9 ] comment="console" speed=100Mbps
/ip address
add address=192.168.1.254/24 comment="router FO" interface=ether1 network=192.168.1.0
add address=172.25.33.9/30 comment="ubiquity controller" interface=ether5 network=172.25.33.8
add address=10.139.130.65/27 comment="ubiquity antena" interface=ether5 network=10.139.130.64
add address=5.5.5.5/24 comment="Port de Gestio" interface=ether9 network=5.5.5.0
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/system clock
set time-zone-name=Europe/Madrid
/system identity
set name=SAG-a2c