i try since many hours to update from my old MikroTik 2.8.5 to the RB750 with 4.90.
I know i can not use the backup-file from the older version and i try to complete new configure the 4.90 version.
My Scenario:
I have 2 SDSL-Modems with fixed IPs (4 and 16 IPs) and a ADSL-Modem with dynmaic IP.
Internet over the ADSL works fine on ehther1.
On ether2 and ether3 i have the other modems with fixed IPs. In Statistics i can see traffic comes. But i ave tried the last hours to route the traffic from the public IP to the private LAN (192.168.x.x).
On 2.8.5 i have this correctly configured, but this was six oder seven years and i try this here with winbox. But i’m to stupid.
thank you for your answer and link. I have tried with my second RB750, no chance.
The Script-Files from 2.8.5 and 4.9 are very diffrent.
The problem starts in line 5.
I can not test or even recall how a 2.9.x export looks like. But I do remember
once using the export of a setup in 2.9.x in a routerboard with a version at that time
not yet stable of 3.x and it went fine.
You should edit the export file using notepad and change the mac-addresses accordingly (if you haven’t done it).
And this is the script-file in version 4.9 (only the first lines too)
#| ether1 is renamed ether1-gateway, rest of interfaces are switched
#| IP address 192.168.88.1/24 is on switch
#| DHCP client is on ether1-gateway
#| DHCP server is on switch, with address pool 192.168.88.10-192.168.88.254
#| masquerade on ether1-gateway
:global action
these commands are executed after installation or configuration reset
:if ($action = “apply”) do={
/interface set ether1 name=ether1-gateway
/interface set ether2 name=ether2-local-master
/interface set ether3 name=ether3-local-slave
/interface set ether4 name=ether4-local-slave
/interface set ether5 name=ether5-local-slave
/interface ethernet set ether3-local-slave master-port=ether2-local-master
/interface ethernet set ether4-local-slave master-port=ether2-local-master
/interface ethernet set ether5-local-slave master-port=ether2-local-master
…
…
I hope the support can help me. It is very angry. I have 8 Years working with my 2.8.5.
But last Weekend is crasched the older router and i have a backup-file what not working
i dont know what is the exactly the problem.
Only i knowing the ROS 4.9 reports the error in line 5 col. 35 (set interface). End of line exception, i think to many parameters.
I have send yesterday a Support-Mail with the original Script from 2.8.5 in Attachment.
The Ticket-Number is: Ticket#2011021466000326
Oh God, i hope you can help me and i can run my servers today with few changes.
where did you get that “script file for 4.9” ? you must do a “system reset” on the RB750 and then run import command for your own file from the older version
I hope i have you question correct understand. The “script file for 4.9” is the original script file from my 2.8.5 RouterOS what is crashed last weekend.
I think i have write this yesterday, sorry for my bad english.
What i have make:
Old Router 2.8.5 is last weekend crashed
New RouterBoard 750 installed
First configs for IP, Route etc. but problems with masquerading und route-table.
Then here come the idea i can use the old script-file to reconfigure my new RB750
I have take my second RB750 and all steps what you have me say (hard-reset, first-config removed, login via MAC-Addrress etc.)
But, if i say “import backup.rsc” then comes:
Script file loaded successfullyexpected end of command (line 5 column 35)
Btw: Gives knowing problems with scripts/import between version 4.9 und 5.0rc9 to update the firmware or better not update?
#| ether1 is renamed ether1-gateway, rest of interfaces are switched
#| IP address 192.168.88.1/24 is on switch
#| DHCP client is on ether1-gateway
#| DHCP server is on switch, with address pool 192.168.88.10-192.168.88.254
#| masquerade on ether1-gateway
:global action
# these commands are executed after installation or configuration reset
:if ($action = "apply") do={
/interface set ether1 name=ether1-gateway
/interface set ether2 name=ether2-local-master
this file is the original script from v4.9 after i reset the RB750 and click in winbox on “Show Script”.
This was only a example to show the betweens the script-syntax from 2.8.5 and 4.9
I have BELIEVE v4.9 can not understand the older version.
If i make all steps with resets and so on i become exactly here the error:
/ interface ethernet
set ether1 name=“ether1” mtu=1500
How come you don’t have mac-address specified? Is that file an export
of the whole configuration while you were still using 2.8?
I would suggest you input manually the values of the mac-address for the new
routerboard into that file and try again an import, like:
i can try it. I have last minutes try to clean-up the script-file (all my comments removed) but the engine breaks on lines, where the lines/syntax absolut okay.
I think i becomes wrong row-numbers.
Example here in line 65. But other lines okay? DIrect after the command add comes the error again.
…
Line 61: add address=213.148.xxx.yy1/28 network=213.148.xxx.yy0
Line 62: broadcast=213.148.xxx.yy5 interface=ether1 comment=“” disabled=no
Line 63: add address=213.148.xxx.yy2/28 network=213.148.xxx.yy0
Line 64: broadcast=213.148.xxx.yy5 interface=ether1 comment=“” disabled=no
Line 65: add address=213.148.xxx.yy3/28 network=213.148.xxx.yy0
Line 66: broadcast=213.148.xxx.yy5 interface=ether1 comment=“” disabled=no
Line 67: add address=213.148.xxx.yy4/28 network=213.148.xxx.yy0
In the next step i can try it with mac-address. But i don’t have hope.
Well, since in the export file you don’t have mac-addresses I suppose it is a corrupted export file.
You can try with manual input of mac-addresses, in case it would not work again, it is better
to reconfigure the router from scratch.
Yes, is think it too. It is to many rows and errors.
Can you me a simple way, how i make a NAT from 212.202.xxx.111 to 192.168.51.111 ?
I have in Firewall/NAT dst-nat entry and the counter runs, but no traffic come to the server.
I have a entry in the routelist and for the IP 192.168.51.111 two rules for SDSL-Line 1 (i have three).
thank you. Yes is a public IP for my Webserver here in the private network.
I have try your comands, the counter counts but no traffic on server.
I must what forget, but what?
I have give the ip addresses under /ip addresses for internal LAN and external WAN.
Where is my mistake, what have i forget? searchscroll