Hey Folks. I configured 3x Mikrotiks with EoiP and its running, but I still dont get why? They are not configured in the same way - this wont work! (same devices with same firmware etc.)
I had a real real bad problem with it and was getting crazy the last 2 weeks. Its solved now, but I dont get why. Whyt I did makes (almost) no sense to me.
AND I think a lot of people will run in this problem, too. And maybe dont find the answer - I had luck with it (and was going to test around like 18 hours a day!)
Overview:
2x Router in the “Backbone Location” (VRRP) so one is active, only. Lets call them M1 and M2.
1x Router in the Remote Office. Lets call it R1.
The M1 and M2 have an EoiP-Tunnel to the R1.
First things first, so I connected R1 and M1 with EoiP.
No conneciton possible.
Firewall → GRE (input and output chain)
WORKS
Second lets connect M2 and R1 in the same way.
Wont work!
I checked everythink twice, but the configuration was the same.
One think was “special” EoiP-Tun1 and EoiP-Tun2 got the same Bridge on R1. (of course)
Well, lets see what the logs are telling … WOW … IPSEC ERRORS IN A ROW.
WHY!
I started to test around with Firewall rules on ipsec and after 2-3 checks I found the solution.
M2 needs to have protocol 50 (ipsec-esp) activated as input chain and the packets started to flow.
WHY?!
R1 and M1 never need it with EoiP.
Both working clean with GRE (protocoll 47) as input and output chain between R1 and M1.
Why M2 suddenly needs an Ipsec chain?
Never used ipsec, well ofc the ipsec-passphrase build in with EoiP - but not more.
I was lucky that I tested around with pptp, l2tp, ovpn and and and some years and month before.
I had a feeling to check the firewall because there was no packet flow.
But it still does not make sense to me.
Any ideas why 2 same devices, with the same configuration, are not working the same way?
Did not found anything about it.
Many thanks.