SlideShare a Scribd company logo
www.glcnetworks.com
Mikrotik EOIP
Deep dive
GLC Webinar,
10 Mar 2022
Achmad Mardiansyah
achmad@glcnetworks.com
GLC Networks, Indonesia
www.glcnetworks.com
Agenda
● Introduction
● Review prerequisite knowledge
● EOIP
● Tips and trick
● Live practice
● Q & A
2
www.glcnetworks.com
Introduction
3
www.glcnetworks.com
What is GLC?
● Garda Lintas Cakrawala (www.glcnetworks.com)
● Based in Bandung, Indonesia
● Areas: Training, IT Consulting
● Certified partner for: Mikrotik, Ubiquity, Linux foundation
● Product: GLC radius manager
● Regular event
4
www.glcnetworks.com
Trainer Introduction
● Name: Achmad Mardiansyah
● Base: bandung, Indonesia
● Linux user since 1999, mikrotik user since 2007, UBNT
2011
● Mikrotik Certified Trainer
(MTCNA/RE/WE/UME/INE/TCE/IPv6)
● Mikrotik/Linux Certified Consultant
● Website contributor: achmadjournal.com, mikrotik.tips,
asysadmin.tips
● More info: http://au.linkedin.com/in/achmadmardiansyah
5
www.glcnetworks.com
Past experience
● 2020-2022 (Congo DRC, PNG, Malaysia): network support,
radius/billing integration
● 2019, Congo (DRC): build a wireless ISP from ground-up
● 2018, Malaysia: network revamp, develop billing solution and
integration, setup dynamic routing
● 2017, Libya (north africa): remote wireless migration for a new
Wireless ISP
● 2016, United Kingdom: workshop for wireless ISP, migrating a
bridged to routed network
● 2015, Kalimantan, wireless support
● See our website for more details
6
www.glcnetworks.com
About GLC webinar?
● First webinar: january 1, 2010 (title: tahun baru
bersama solaris - new year with solaris OS)
● As a sharing event with various topics: linux,
networking, wireless, database, programming,
etc
● Regular schedule
● Irregular schedule: as needed
● Checking schedule:
http://www.glcnetworks.com/schedule
● You are invited to be a presenter
○ No need to be an expert
○ This is a forum for sharing: knowledge, experiences,
information
7
www.glcnetworks.com
Please introduce yourself
● Your name
● Your company/university?
● Your networking experience?
● Your mikrotik experience?
● Your expectation from this course?
8
www.glcnetworks.com
Prerequisite
● This presentation requires some prerequisite knowledge
● We assume you already know:
○ Computer network
○ Mikrotik RouterOS
9
www.glcnetworks.com
Review prerequisite knowledge
10
www.glcnetworks.com
7 OSI layer & protocol
● OSI layer Is a conceptual model from ISO (International
Standard Organization) for project OSI (Open System
Interconnection)
● When you send a message with a courier, you need to
add more info to get your message arrived at the
destination (This process is called encapsulation)
● What is protocol
○ Is a set of rules for communication
○ Available on each layer
● Communication consist of series encapsulation
○ SDU: service data unit (before PDU)
○ PDU: protocol data unit (after header is added)
11
www.glcnetworks.com
Layered model (TCP/IP vs ISO) and encapsulation
12
/ datagram
www.glcnetworks.com
Layer 4 header
13
www.glcnetworks.com
Layer 3 header
14
www.glcnetworks.com
Layer 2 header, ethernet
15
www.glcnetworks.com
Layer 2 header, 802.11
16
www.glcnetworks.com
Did you notice?
● There is a big overhead on encapsulation process
● More encapsulation means less payload?
17
www.glcnetworks.com
Tunnel/VPN
18
www.glcnetworks.com
Tunnel / VPN
● an overlay network
● network above network
● Usually point-to-point
19
www.glcnetworks.com
Before VPN
20
HOME
192.168.1.0/24
3
.
3
.
3
.
0
/
2
4
2.2.2.0/24
OFFICE
172.18.1.0/24
1.1.1.0/24
cafe
192.168.1.0/24
www.glcnetworks.com
After VPN
21
HOME
192.168.1.0/24
3
.
3
.
3
.
0
/
2
4
2.2.2.0/24
OFFICE
172.18.1.0/24
1.1.1.0/24
cafe
192.168.1.0/24
VPN network
192.168.9.0/
24
@VPN network:
server: 192.168.9.1
router: 192.168.9.11
laptop: 192.168.9.12
www.glcnetworks.com
Generic Routing Encapsulation (GRE)
22
www.glcnetworks.com
Generic Routing Encapsulation (GRE)
● A tunneling protocol, developed by Cisco Systems
● can encapsulate a wide variety of network layer
(layer 3) protocols inside virtual PTP links or
PTMP links over an Internet Protocol network
● RFC: 1701, 2784
● Usage: tunnel, PPTP, IPsecVPN, etc
23
www.glcnetworks.com
GRE tunnel on Mikrotik
● Local-address
● Remote-address
● Ipsec-secret (to activate encryption)
24
www.glcnetworks.com
Ethernet over Internet Protocol (EoIP)
25
www.glcnetworks.com
Ethernet over Internet Protocol (EoIP)
● Mikrotik proprietary protocol for tunneling, using GRE protocol (RFC1701)
● Creates an Ethernet tunnel between two routers on top of an IP connection.
● The EoIP tunnel may run over IPIP tunnel, PPTP tunnel or any other connection capable of transporting IP.
● When configure bridge with eoip, it will create a virtual layer 2 segment → This protocol makes multiple network
schemes possible.
● Scenarios:
○ 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
● 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.
26
www.glcnetworks.com
EoIP tunnel on Mikrotik
● MAC address
● ARP mode
● Local address
● Remote address
● Tunnel id
● Ipsec secret (for encryption)
●
27
www.glcnetworks.com
EoIP tips and tricks
28
www.glcnetworks.com
EoIP tips
● Use static ip for local and remote address
● Assign IP address on EoIP interface for testing
● Allow GRE protocol on firewall
● Make sure IPsec configuration is same on both side
29
www.glcnetworks.com
Live practice
● SSH client
● SSH parameters
○ SSH address
○ SSH port
○ SSH username
○ SSH password
30
www.glcnetworks.com
QnA
Any questions?
31
www.glcnetworks.com
Interested? Just come to our training...
● Topics are arranged in systematic and
logical way
● You will learn from experienced teacher
● Not only learn the materials, but also
sharing experiences, best-practices, and
networking
32
www.glcnetworks.com
End of slides
● Thank you for your attention
● Please submit your feedback: http://bit.ly/glcfeedback
● Find our further event on our website :
https://www.glcnetworks.com
● Like our facebook page:
https://www.facebook.com/glcnetworks
● Slide: https://www.slideshare.net/glcnetworks/
● Discord (bahasa indonesia):
(https://discord.gg/6MZ3KUHHBX )
● Recording (youtube):
https://www.youtube.com/c/GLCNetworks
● Stay tune with our schedule
33

More Related Content

PDF
Mikrotik firewall filter
PDF
Layer 7 Firewall on Mikrotik
PDF
GLC webinar: limiting bandwidth using mikrotik
PDF
Using mikrotik with radius
PDF
Mikrotik fastpath
PDF
Routing fundamentals with mikrotik
PDF
Mikrotik firewall raw table
PDF
OSPF On Router OS7
Mikrotik firewall filter
Layer 7 Firewall on Mikrotik
GLC webinar: limiting bandwidth using mikrotik
Using mikrotik with radius
Mikrotik fastpath
Routing fundamentals with mikrotik
Mikrotik firewall raw table
OSPF On Router OS7

What's hot (20)

PDF
VLAN on mikrotik
PDF
Mikrotik the dude
PDF
BGP filter with mikrotik
PDF
ISP Load Balancing with Mikrotik ECMP
PDF
Mikrotik firewall mangle
PDF
BGP on mikrotik
PDF
Mikrotik Bridge Deep Dive
PDF
Limiting bandwidth of specific destination based on address list
PDF
Using Mikrotik Switch Features to Improve Your Network
PDF
Network Monitoring with The Dude and Whatsapp
PDF
IPsec on Mikrotik
PDF
ISP load balancing with mikrotik nth
PDF
Detecting network virus using mikrotik
PDF
Mikrotik VRRP
PDF
Connection load balancing with mikrotik [workshop]
PDF
Policy Based Routing (PBR) on Mikrotik
PDF
Stable OSPF: choosing network type.pdf
PDF
BGP tuning: Peer with loopback
PDF
Mikrotik firewall NAT
PDF
Mikrotik Load Balancing with PCC
VLAN on mikrotik
Mikrotik the dude
BGP filter with mikrotik
ISP Load Balancing with Mikrotik ECMP
Mikrotik firewall mangle
BGP on mikrotik
Mikrotik Bridge Deep Dive
Limiting bandwidth of specific destination based on address list
Using Mikrotik Switch Features to Improve Your Network
Network Monitoring with The Dude and Whatsapp
IPsec on Mikrotik
ISP load balancing with mikrotik nth
Detecting network virus using mikrotik
Mikrotik VRRP
Connection load balancing with mikrotik [workshop]
Policy Based Routing (PBR) on Mikrotik
Stable OSPF: choosing network type.pdf
BGP tuning: Peer with loopback
Mikrotik firewall NAT
Mikrotik Load Balancing with PCC
Ad

Similar to EOIP Deep Dive (20)

PDF
Zabbix for Monitoring
PDF
Mikrotik Hotspot
PDF
Using protocol analyzer on mikrotik
PDF
Up and Running SSH Service - Part 1
PDF
Building a Web Server with NGINX
PDF
Socket Programming with Python
PDF
BGP Services IP Transit vs IP Peering
PDF
MTCNA : Intro to RouterOS - Part 1
PDF
MTCNA Intro to routerOS
PDF
Controlling Access Between Devices in the same Layer 2 Segment
PDF
IPv6 with Mikrotik
PDF
CCNA : Intro to Cisco IOS - Part 1
PDF
Internet Protocol Deep-Dive
PDF
Building Local-loop Services for Customers
PDF
Network LACP/Bonding/Teaming with Mikrotik
PDF
Mikrotik IP Settings For Performance and Security
PDF
Troubleshooting Layer 2 Ethernet Problem: Loop, Broadcast, Security
PDF
Running Moodle for High Concurrent Users
PDF
Automatic Backup via FTP - Part 1
PDF
Best Current Practice (BCP) 38 Ingress Filtering for Security
Zabbix for Monitoring
Mikrotik Hotspot
Using protocol analyzer on mikrotik
Up and Running SSH Service - Part 1
Building a Web Server with NGINX
Socket Programming with Python
BGP Services IP Transit vs IP Peering
MTCNA : Intro to RouterOS - Part 1
MTCNA Intro to routerOS
Controlling Access Between Devices in the same Layer 2 Segment
IPv6 with Mikrotik
CCNA : Intro to Cisco IOS - Part 1
Internet Protocol Deep-Dive
Building Local-loop Services for Customers
Network LACP/Bonding/Teaming with Mikrotik
Mikrotik IP Settings For Performance and Security
Troubleshooting Layer 2 Ethernet Problem: Loop, Broadcast, Security
Running Moodle for High Concurrent Users
Automatic Backup via FTP - Part 1
Best Current Practice (BCP) 38 Ingress Filtering for Security
Ad

More from GLC Networks (20)

PDF
Firewall mangle PBR: steering outbound path similar to inbound
PDF
Internal BGP tuning: Mesh peering to avoid loop
PDF
BGP security tuning: pull-up route
PDF
BGP troubleshooting: route origin
PDF
Steering traffic in OSPF: Interface cost
PDF
Tuning OSPF: Bidirectional Forwarding Detection (BFD)
PDF
Tuning OSPF: Prefix Aggregate
PDF
Tuning OSPF: area hierarchy, LSA, and area type
PDF
GIT as Mikrotik Configuration Management
PDF
RouterOS Migration From v6 to v7
PDF
Policy Based Routing with Indirect BGP - Part 2
PDF
Policy Based Routing with Indirect BGP - Part 1
PPTX
Automatic Backup via FTP - Part 2
PDF
Voice Services, From Circuit Switch to VoIP
PDF
MPLS on Router OS V7 - Part 2
PDF
MPLS on Router OS V7 - Part 1
PDF
BGP on RouterOS7 - Part 2
PDF
BGP on RouterOS7 -Part 1
PDF
OSPF On Router OS7 - Part 2
PDF
Using Zettabyte Filesystem (ZFS)
Firewall mangle PBR: steering outbound path similar to inbound
Internal BGP tuning: Mesh peering to avoid loop
BGP security tuning: pull-up route
BGP troubleshooting: route origin
Steering traffic in OSPF: Interface cost
Tuning OSPF: Bidirectional Forwarding Detection (BFD)
Tuning OSPF: Prefix Aggregate
Tuning OSPF: area hierarchy, LSA, and area type
GIT as Mikrotik Configuration Management
RouterOS Migration From v6 to v7
Policy Based Routing with Indirect BGP - Part 2
Policy Based Routing with Indirect BGP - Part 1
Automatic Backup via FTP - Part 2
Voice Services, From Circuit Switch to VoIP
MPLS on Router OS V7 - Part 2
MPLS on Router OS V7 - Part 1
BGP on RouterOS7 - Part 2
BGP on RouterOS7 -Part 1
OSPF On Router OS7 - Part 2
Using Zettabyte Filesystem (ZFS)

Recently uploaded (20)

PDF
Architecture types and enterprise applications.pdf
PPT
What is a Computer? Input Devices /output devices
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Hybrid model detection and classification of lung cancer
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PPTX
The various Industrial Revolutions .pptx
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
DP Operators-handbook-extract for the Mautical Institute
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
STKI Israel Market Study 2025 version august
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PPTX
Tartificialntelligence_presentation.pptx
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
Architecture types and enterprise applications.pdf
What is a Computer? Input Devices /output devices
Enhancing emotion recognition model for a student engagement use case through...
Hybrid model detection and classification of lung cancer
O2C Customer Invoices to Receipt V15A.pptx
The various Industrial Revolutions .pptx
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
DP Operators-handbook-extract for the Mautical Institute
Module 1.ppt Iot fundamentals and Architecture
OMC Textile Division Presentation 2021.pptx
Final SEM Unit 1 for mit wpu at pune .pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
STKI Israel Market Study 2025 version august
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
A comparative study of natural language inference in Swahili using monolingua...
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Tartificialntelligence_presentation.pptx
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
NewMind AI Weekly Chronicles - August'25-Week II

EOIP Deep Dive