L2TP is Layer 2 tunneling protocol. EoIP is ethernet over IP. L2TP also works over IP. Ethernet is Layer 2. So according to name it's the same. Both support IPSec encryption in MT, so... What's the difference basically? I'm talking from site-to-site bridging perspective. Lets say I have 2 sites and I want to bridge 2 networks on each of them on L2 with IPSec (including broadcasts and stuff, completely transparent bridge) what would be more suitable and why?
If i understand correctly I'd need to create 2 EoIP interfaces with different tunnel IDs, give some IPSec policy and simply bridge them. Or 1 EoIP and use VLANs on it. With L2TP create server and client then enable BCP and some IPSec policy as well, then some VLANs? I guess? So what's the difference? Are they like really close alternatives just like GRE and IPIP? If so then what are advantages of each of them?