In this article, we will connect two Routers, Cisco and MikroTik, through the Ip Tunnel, a protocol used to provide network access for two devices that are not physically connected. For this you will need a static IP and a local IP address in both locations, 10.200.0.1 and 172.16.16.2 will be the “public” IP addresses, as shown in the example below.
On the Cisco router, in the general configuration mode, we enter the following configuration to create the IP tunnel:
Router (config) #interface Tunnel1
Router (config-if) # description AlwaysNetworkTunnel
Router (config-if) #ip adresi 192.168.1.1 255.255.255.252
Router (config-if) #ip mtu 1476
Router (config-if) #ip tcp
Adjust -mss 1360 Router (config-if) #tunnel source 10.200.0.1
Router (config-if) #tunnel hedefi 172.16.16.2
Router (config-if) #tunnel modu ipip
In addition to the static IP address, we also add the destination IP address.
Router (config) # ip route 192.168.1.2 255.255.255.255 Tunnel1
Enter the following configuration to create the IP tunnel in MikroTik:
1. First, make sure that you have configured the IP address and have access to the internet.
2. In the second step, we go to Interfaces and name it (It is up to you), select the IP Tunnel tab, and click the plus button. In the new screen, enter the MTU size to match on both sides, as well as local and remote addresses.
3. In Step Three, go to IP> Routes and select the default route through the tunnel as the exit interface, and we set the route to 10.200.0.1 through the other public address bypass point.
The fourth and last step is to set the transport IP address to the tunnel interface at IP> addresses.
That’s all we are going to tell you here, if you check it and you haven’t gotten through anything, you should have seen your tunnel working.
I hope it has been a useful article.