Hello,
I just bought a RouterBOARD 750G r2.
I have a VPN with a cisco router (871). Both routers have dynamic ip from the isp. The mikrotik has 100% cpu utilization. the process ipsec is using 90% of the cpu and it wont go down even with no traffic.
Usually the router has a load of 2Mbps of upload and 2Mbps of download.
I am using two scripts to reconfigure the vpn and DDNS.
The DDNS script runs every 4 minutes if it detects the same name it doesnt update the value and the VPN script runs every 5 minutes, in this case it writes a change every 5 minutes.
The router behaves well for 8 hours aproximatly, past this time the cpu goes to 100% and it needs a reboot.
Here is the VPN script:
*Note: im using the values “site0” and “site1” to not give the names of the sites.
:global newr1 [:resolve “site0”]
:global newr2 [:resolve “site1”]
/ip ipsec policy set src-address=192.168.1.0/24 dst-address=192.168.0.0/24 protocol=all action=encrypt level=require ipsec-protocols=esp tunnel=yes sa-src-address=$newr2 sa-dst-address=$newr1 proposal=MyProposal numbers=1
/ip ipsec peer set address=$newr1 port=500 auth-method=pre-shared-key secret=central2017 exchange-mode=main send-initial-contact=yes nat-traversal=no proposal-check=obey hash-algorithm=md5 enc-algorithm=3des dh-group=modp1024 generate-policy=no 0
:log info “SetIPsecscript:Changing IP”
Router info:
Model RouterBOARD 750G r2
Factory Firmware 3.31
Current Firmware 3.31
Upgrade Firmware 3.30
Voltage 11.8 V
Temperature 44 C
Software ID L2S8-K2FT
Level 4
What could be causing this? i think that the script might be the problem but i dont know how to write it better, maybe someone can help me with this?
Thanks!