Mikrotik – Mikrotik Configuring IPIP (IPv4) tunnel

Published on Author gryzli

Here are the steps to create simple IPIP tunnel using Mikrotik CLI console.

In the following example I suppose the following setup:

Tunnel: IPIP

Public IP addresses:

Mikrotik public ip:

Work computer public ip:

IPIP Tunnel Internal ip addresses:

Mikrotik IPIP ip address:

Work computer IPIP ip address:


Also I suggest, that you have already configured the IPIP tunnel from the other side (the work computer)


1. Open Mikrotik console

You can do this by one of the following ways:

– Mikrotik WEB GUI — > New terminal

– Log through SSH into the Mikrotik router


2. Create the IPIP tunnel

# Create IPIP tunnel
[admin@MikroTik] /interface ipip

# Configure the public ip addresses 
[admin@MikroTik] interface ipip> add

# Enable the interface
[admin@MikroTik] interface ipip> enable

3. Add the internal IPIP tunnel ip address

[admin@MikroTik] interface ipip> /ip address add address= interface=ipip1


4. Finally check if the tunnel is working okay

Issue ping from the working computer, and monitor the traffic on the router:

computer> ping

# .........
# On the router
[admin@MikroTik] /interface> monitor-traffic ipip1