and if 1 script get stuck it won’t affect the 2nd one that is running?
so if I have this kind of script:
Code: Select all
:log warning “start”
/system script run script1;
/system script run script2;
:log warning “Done”;
if something is not good in script1 it will get stuck and won’t run script2
how can I make it go to script2 no matter what is the status of script1?
and the second question
we bought a new Mikrotik CRS125-24G-1S recently. Very first one in the company so nobody knows anything. Basic setup and configuration are fine, we use PPPoE. Previously we had two Cisco routers but they didn’t work as expected (both had problems with WAN port) except one thing. Here my question/problem comes.
We use VPN, setup was smooth. We can access our network from outside so VPN itself works but we need one more thing to routing goes via local IP and not the VPN one. An example:
When I connect to our network I obtain such configuration from VPN
PPP adapter:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 192.168.10.100
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . :
192.168.10.0 255.255.255.0 192.168.10.1 192.168.10.100 36
But we would like to obtain such config:
192.168.0.0 255.255.255.0 192.168.10.1 192.168.10.100 36
Can Mikrotik return via VPN this IP 192.168.0.0/24 to be used for routing? This was possible on Cisco. And I haven’t found any way how to configure this on Mikrotik.
Thank you in advance for all your help. If you need any further info just let me know.