Ethernet over IP (EoIP) Tunnel Interface
Overview
Ethernet over IP (EoIP) Tunneling is a MikroTik RouterOS protocol that creates an Ethernet tunnel between two routers on top of an IP connection. The EoIP interface appears as an Ethernet interface. When the bridging function of the router is enabled, all Ethernet level traffic (all Ethernet protocols) will be bridged just as if there where a physical Ethernet interface and cable between the two routers (with bridging enabled). This protocol makes multiple network schemes possible.
Network setups with EoIP interfaces:
* Possibility to bridge LANs over the Internet
* Possibility to bridge LANs over encrypted tunnels
* Possibility to bridge LANs over 802.11b ‘ad-hoc’ wireless networks
Specifications
Packages required : None
License required : Basic (DEMO license is limited to 4 tunnels)
Home menu level : /interface eoip
Standards and Technologies : GRE (RFC1701)
Hardware usage: not significant
Related Documents
Software Package Installation and Upgrading
IP Addresses and Address Resolution Protocol (ARP)
Bridge Interfaces
PPTP (Point to Point Tunnel Protocol) Interface
Description
An EoIP interface should be configured on two routers that have the possibility for an IP level connection. The EoIP tunnel may run over an IPIP tunnel, a PPTP 128bit encrypted tunnel, a PPPoE connection, or any connection that transports IP.
Specific Properties:
* Each EoIP tunnel interface can connect with one remote router which has a corresponding interface configured with the same ‘Tunnel ID’.
* The EoIP interface appears as an Ethernet interface under the interface list.
* This interface supports all features of and Ethernet interface. IP addresses and other tunnels may be run over the interface.
* The EoIP protocol encapsulates Ethernet frames in GRE (IP protocol number 47) packets (just like PPTP) and sends them to the remote side of the EoIP tunnel.
* Maximal count of EoIP tunnels is 65536.
EoIP Setup
Menangapi banyaknya pertanyaan lewat YM pada artikel sebelumya mengenai Ethernet Over IP (EoIP) Pada Mikrotik Router, Pada artikel ini saya akan membahas bagaimana membuat tunnel EoIP over a PPtP connection, dalam kata lain EIoP dilakukan di dalam koneksi PPtP (VPN) yang kemudian di Bridge dengan Local Network. Dengan cara seperti ini kita serasa memiliki jaringan Lokal (Bridge) di dalam VPN yang Secure melalui Internet. Gambarannya seperti ini…

EoIP pada Mikrotik merupakan cara bridging ethernet traffic over a routed public network. Kendala utama ketika mengunakan EoIP sebagai VPN yaitu tidak data not encrypted.
Okey.. Langsung saja saya mencoba menjelaskan bagaimana melakukan setting EiOP over secure PPtP tunnel, kali ini saya menggunakan Mikrotik RouterOS V5 beta 5.
Pertama buat koneksi pptp antar router dulu
Router A:
/interface pptp-server server set enabled=yes
/ppp secret add name=”test” service=pptp password=”1234″ \local-address=192.168.0.1 remote-address=192.168.0.2 \disabled=no
Ini adalah konfigurasi Server PPtP Tunnel Untuk Router A. Router A harus terhubung dengan internet yang mempunyai 1 IP public,
Router B:
/interface pptp-clientadd name=”pptp-tunnel1″ connect-to=xxx.xxx.xxx.xxx \user=”test” password=”1234″ \profile=default-encryption add-default-route=no \disabled=no
Ini adalah konfigurasi client PPtP Tunnel Untuk Router B dimana xxx.xxx.xxx.xxx adalah IP public Router A. The profile section is a default setting
Sekarang kedua router telah terkoneksi melalui VPN, kita tinggal menseting EoIP tunnel untuk masing2 router, caranya:
Router A:
/interface eoip add name=mytunnel remote-address=192.168.0.2 \
tunnel-id=101 disabled=no
Router B:
/interface eoip add name=mytunnel remote-address=192.168.0.1 \
tunnel-id=101 disabled=no
It is very important that the tunnel-id / name (dalam contoh diatas =mytunnel) harus sama pada setiap router
Kemudian, kita perlu melakukan bridging interface EoIP dengan Interface jaringan Lokal (caranya sama untuk setiap router), caranya buat interface bridge baru dengan nama ‘bridge1′
/interface bridge add name=bridge1
Kemudian set up the bridge ports. diasumsikan LAN side of the Mikrotik routers adalah interface Ether1.
/interface bridge port add bridge=bridge1 interface=ether1
/interface bridge port add bridge=bridge1 interface=mytunnel
Okay lakukan bridge tersebit pada router B dengan cara yang sama, dan sampai sini kita sudah berhasil membuat bridge di dalam EoIP, kita tinggal menseting ip di masing2 router dengan subnet yang sama.
Okay.. Semoga bermanfaat
Internet, Linux, Mikrotik, Networking