Hi,
I’m fairly new to Mikrotik and started to play with the software on VMs only recently.
I would like to have this network structure:
+-- r1 ----- leased-line ----- r3 --+
LAN1 -+ | | +- LAN2
+-- r2 ----- Internet -------- r4 --+
(r1, r2) and (r3, r4) are in a VRRP failover configuration, distributed across two sites. The routers are are also cross-connected via a bonding interface. But there should be more sites forthcoming, if things work out well enough.
The traffic between LAN1 and LAN2 should usually run over the leased line and only fall back to the Internet, if the leased line breaks. The site-to-site traffic needs to be secured with IPSEC, regardless of whether it’s on the leased line or not. To that effect, I configured two IPSEC tunnels between r1 and r3, and r2 and r4, respectively, according to this tutorial:
The tunnel stuff all works fine. Now I wanted to establish BGP sessions between r1 and r2 (works), r3 and r4 (works), r2 and r4 (also works), and r1 and r3, which is where things break down horribly. The reason for that is that the moment I enable the BGP instance, the IPSEC tunnel between r1 and r3 goes down, and the BGP session also does not work. I have bgp multihop enabled for the session between r2 and r4, but not between r1 and r3 - it’s a direct link, isn’t it? To make the BGP sessions run inside the tunnels, I have configured them to use the LAN side IP addresses for update-source and remote-address.
Btw, using the sniffer tool on the GRE interface yields nothing useful, esp. no routing traffic, and on the physical interface, I can only see ARP and IPSEC traffic.
I’m using RouterOS 6.29.1 with a bunch of VMs to simulate this situation.
What gives?