IPIP with IPSec stays down after internet outage

Hello everyone,

I have a problem with two IPIP tunnels with IPsec in a Mikrotik. We have two sites, both with a second internet connection, so there is a backup connection when the main goes down. There is an IPIP tunnel between the main connections of both sites and a IPIP tunnel between the backup connections.

Site A Main IP <– IPIP –> Site B Main IP
Site A Backup IP <– IPIP –> Site B Backup IP

Site A is an Mikrotik RB4011, Site B is an Mikrotik RB3011. In both routers there is een static route, so the second tunnel goes over the backup connection.

Normaly the IPIP tunnels works correctly, but when there was a outage of the PPPoE and the connection is back again, the IPIP tunnel stays down. I tried the following:

  • Clearing connection tracking
  • Flush IPsec SA
  • Disable / enable IPIP

Only a reboot of the Mikrotik router works. Then the tunnel is up directly. Also when I disable IPSec encryption, the tunnel goes up.

Does anyone recognise this problem? Thanks in advance!

Regards,
KoffieKopje

I’d have to see exports of both side’s configurations. See my automatic signature below for anonymisation hints.

In the attachments you will see the export of the routers.
Site-B.rsc (6.46 KB)
Site-A.rsc (7.28 KB)

Hello,
same problem over here, colud you solve it?
Thnk