Hi.
I have two networks that are located in two different cities.
I want to connect two networks through protocol eoip tunnel .
Users through a Ether2 connected to the Internet.(pppoe)
Info Network City1:
Mikrotik:
Ether 1 :IP Internet :94.183.100.1
Ether 2 :IP LAN :192.168.0.150/24
Network:
Rang Ip Address :192.168.0.0/24
Info Network city2:
Mikrotik:
Ether 1 :IP Internet :212.91.10.50
Ether 2 :IP LAN :192.168.110.150/24
Could you explain why you want to use EoIP in this situation? with two different IP Ranges on either ends of your tunnel you will need to route traffic across the link and a routed tunnel may suit you better.
For example, as EoIP is providing a transparent bridged domain across both ends of the tunnel ethernet broadcast compromises both ends of the link. Possibly fine if the network is small but otherwise could be hard to deal with.
Maybe consider a GRE tunnel or other type of routed Tunnel for your needs.
However you need to create the EoIP interface on each router with the remote address as the public IP of the other end and pick a tunnel ID the same at both ends.
Then bridge the EoIP interface created with your internal network and you will have an EoIP link sharing a broadcast domain across the link.
This should create the tunnel between the sites. You can set local-address to the public address on your router if you want to be careful about routing source.
Next you need to decide how much you want to blend your network. You can route all traffic between the two ip ranges
+1. You can easily add make the tunnel go over ipsec… You can set the protocol to “any” in the below also if you want all traffic between the two sites to be encrypted, but I personally just do protocol 47 which is the protocol for GRE/EoIP. This won’t work for IPIP… you have to change the protocol…