We have RUT950 units with FW ver.: RUT9XX_R_00.06.07.
We are using GRE over IPSec to a Cisco router. We are binding the GRE tunnel and IPSec tunnel to a tap interface on the router. Here is the /etc/rc.local file:
root@JohnTestRTU950:~# cat /etc/rc.local
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
ip tuntap add name tap0 mode tap
ip addr add 184.108.40.206/32 brd + dev tap0
Here is the problem:
If I power cycle the RUT950, the tunnel comes up perfect.
If I reboot from the webUI, the ssh console or SMS, the IPSec comes up to the Cisco and the GRE tunnel says it comes up but no traffic flows. This situation stays until I power cycle, then it works again.
On the Cisco I watch the IPSec SA disappear after the restart and then come back when the unit is up but if its a reboot, data never flows. If its a power cycle it does.