I have two MT devices that I have deployed and am attempting to get site to site connectivity via VPN tunnel.
I see that I have established a tunnel between the devices, but I cannot ping the LAN side of either MT.
The basic config overview for each device is like this : Site A WAN : 1.1.1.1 LAN Bridge : 172.16.52.1/24, 192.168.168.52/24
No DHCP (handled by another device)
EoIP Tunnel (w IPSec):
Local IP : 1.1.1.1
Remote IP : 2.2.2.2
Site B WAN : 2.2.2.2 LAN Bridge : 172.16.51.1/24; 192.168.168.51/24
DHCP : 172.16.51.10-.20
DNS : 172.16.51.1, 192.168.168.51, 8.8.8.8
EoIP Tunnel (w IPSec)
Local IP : 2.2.2.2
Remote IP : 1.1.1.1
Both sites share the same network space 192.168.168.0/24 (edit: corrected 3rd octet); Site B has all devices statically assigned (not my decision). I am attempting to make it so it appears to be a flat network, joined by the EoIP tunnel. Is this setup feasible? I’ve obviously missed a step somewhere..
You can bridge two networks with EoIP, but those two DHCP servers won’t like it very much, it will be like having two DHCP servers in same network. Well, not like it, for real. What’s your plan with that?
Ultimately I’m hoping to migrate the two networks away from this flat-network scheme so each with be on their own subnet, connected via Layer3 VPN tunnel instead of the Layer2 style EoIP tunnel.
I can disable the DHCP server on site B and add a DNS relay to point back to the DHCP server at Site A; however I still have to be able to pass traffic first..
And what exactly you did so far? Because first post didn’t make it very clear, you write about one common subnet (192.168.138.0/24), but then list three completely different subnets (172.16.52.0/24, 172.16.51.0/24, 192.168.168.0/24).
Anyway, if you want one common L2 subnet, you create EoIP tunnel between routers and bridge local ends (EoIP interfaces) with LAN interfaces on both routers, that’s it.
Did you follow example and added EoIP interface to the Bridge with LAN interface? https://wiki.mikrotik.com/wiki/Manual:Interface/EoIP
Anyways…
L2 – EoIP.
L3 – varriety of other VPN solutions: IPsec, L2TP, PPTP, SSTP, OVPN.
If you want L3 Create either Pure IPsec (needs some knowledge) or use one MikroTik as VPN Server (Using any intergrated Server) and other as VPN Client. Connect client to the Server. Then add static routes on each MikroTik that remote subnet is reachable via VPN remote IP address. I think basic example can be found here (just void using PPTP it’s not secure): https://systemzone.net/mikrotik-vpn-configuration-with-site-to-site-pptp/
Dear Friends
I need help to connect my vpn users to connect local network of Site2.
this time as i have shared image of network, i am able to connect from site1 to site 2 locally by site to site vpn via internet.
my vpn user also can able to access Site1 local network, but vpn user can not access site 2 local network. please help me to connect vpn users to site 2 local network.
I dont know what im doing wrong.
I follow the steps exactly. But I cannot pass packets past the mikrotik devices at each site. I can see the tunnels established. The logging shows the tunnels established, keep alives are sent and acknowledged, but i can’t ping the other device’s local bridge
I don’t really undestand what you’re doing. Your original request to connect two networks with EoIP is simple. Let’s say you have current LAN as bridge “bridge1-lan” with some ethernet ports, wifi or whatever. Add tunnel with IPSec:
/interface eoip
add allow-fast-path=no ipsec-secret=<secret> local-address=<local WAN address> name=eoip-tunnel1 remote-address=<remote WAN address> tunnel-id=0
Add it as bridge port to LAN:
/interface bridge port
add bridge=bridge1-lan interface=eoip-tunnel1