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
Using mikrotik with radius
Achmad Mardiansyah
 
PDF
Mikrotik fastpath
Achmad Mardiansyah
 
PDF
Mikrotik firewall raw table
Achmad Mardiansyah
 
PDF
Mikrotik Bridge Deep Dive
GLC Networks
 
PDF
Mikrotik Load Balancing with PCC
GLC Networks
 
PDF
Mikrotik firewall filter
Achmad Mardiansyah
 
PDF
BGP vs OSPF on Mikrotik
GLC Networks
 
PDF
Using Mikrotik Switch Features to Improve Your Network
GLC Networks
 
Using mikrotik with radius
Achmad Mardiansyah
 
Mikrotik fastpath
Achmad Mardiansyah
 
Mikrotik firewall raw table
Achmad Mardiansyah
 
Mikrotik Bridge Deep Dive
GLC Networks
 
Mikrotik Load Balancing with PCC
GLC Networks
 
Mikrotik firewall filter
Achmad Mardiansyah
 
BGP vs OSPF on Mikrotik
GLC Networks
 
Using Mikrotik Switch Features to Improve Your Network
GLC Networks
 

What's hot (20)

PDF
Tunnel vs VPN on Mikrotik
GLC Networks
 
PDF
Stable OSPF: choosing network type.pdf
GLC Networks
 
PDF
Mikrotik Hotspot
GLC Networks
 
PDF
GLC webinar: limiting bandwidth using mikrotik
Achmad Mardiansyah
 
PDF
Mikrotik IP Settings For Performance and Security
GLC Networks
 
PDF
Routing fundamentals with mikrotik
Achmad Mardiansyah
 
PDF
Layer 7 Firewall on Mikrotik
GLC Networks
 
PDF
Network Monitoring with The Dude and Whatsapp
GLC Networks
 
PDF
Best Current Practice (BCP) 38 Ingress Filtering for Security
GLC Networks
 
PDF
Policy Based Routing (PBR) on Mikrotik
GLC Networks
 
PDF
VLAN on mikrotik
Achmad Mardiansyah
 
PDF
BGP on RouterOS7 -Part 1
GLC Networks
 
PDF
Voice Services, From Circuit Switch to VoIP
GLC Networks
 
PDF
Mikrotik firewall NAT
Achmad Mardiansyah
 
PDF
BGP filter with mikrotik
Achmad Mardiansyah
 
PDF
ISP load balancing with mikrotik nth
Achmad Mardiansyah
 
PDF
BGP on mikrotik
Achmad Mardiansyah
 
PDF
Networking in Telecommunication (signalling, tcp, ucp, ss7, sctp, sigtran)
GLC Networks
 
PDF
IPsec on Mikrotik
GLC Networks
 
PDF
Build enterprise wireless with CAPsMAN
GLC Networks
 
Tunnel vs VPN on Mikrotik
GLC Networks
 
Stable OSPF: choosing network type.pdf
GLC Networks
 
Mikrotik Hotspot
GLC Networks
 
GLC webinar: limiting bandwidth using mikrotik
Achmad Mardiansyah
 
Mikrotik IP Settings For Performance and Security
GLC Networks
 
Routing fundamentals with mikrotik
Achmad Mardiansyah
 
Layer 7 Firewall on Mikrotik
GLC Networks
 
Network Monitoring with The Dude and Whatsapp
GLC Networks
 
Best Current Practice (BCP) 38 Ingress Filtering for Security
GLC Networks
 
Policy Based Routing (PBR) on Mikrotik
GLC Networks
 
VLAN on mikrotik
Achmad Mardiansyah
 
BGP on RouterOS7 -Part 1
GLC Networks
 
Voice Services, From Circuit Switch to VoIP
GLC Networks
 
Mikrotik firewall NAT
Achmad Mardiansyah
 
BGP filter with mikrotik
Achmad Mardiansyah
 
ISP load balancing with mikrotik nth
Achmad Mardiansyah
 
BGP on mikrotik
Achmad Mardiansyah
 
Networking in Telecommunication (signalling, tcp, ucp, ss7, sctp, sigtran)
GLC Networks
 
IPsec on Mikrotik
GLC Networks
 
Build enterprise wireless with CAPsMAN
GLC Networks
 
Ad

Similar to EOIP Deep Dive (20)

PDF
Zabbix for Monitoring
GLC Networks
 
PDF
Using protocol analyzer on mikrotik
Achmad Mardiansyah
 
PDF
Up and Running SSH Service - Part 1
GLC Networks
 
PDF
Building a Web Server with NGINX
GLC Networks
 
PDF
Socket Programming with Python
GLC Networks
 
PDF
BGP Services IP Transit vs IP Peering
GLC Networks
 
PDF
MTCNA : Intro to RouterOS - Part 1
GLC Networks
 
PDF
MTCNA Intro to routerOS
GLC Networks
 
PDF
Controlling Access Between Devices in the same Layer 2 Segment
GLC Networks
 
PDF
IPv6 with Mikrotik
GLC Networks
 
PDF
CCNA : Intro to Cisco IOS - Part 1
GLC Networks
 
PDF
Internet Protocol Deep-Dive
GLC Networks
 
PDF
Building Local-loop Services for Customers
GLC Networks
 
PDF
Network LACP/Bonding/Teaming with Mikrotik
GLC Networks
 
PDF
Troubleshooting Layer 2 Ethernet Problem: Loop, Broadcast, Security
GLC Networks
 
PDF
Running Moodle for High Concurrent Users
GLC Networks
 
PDF
Automatic Backup via FTP - Part 1
GLC Networks
 
PDF
RouterOS Migration From v6 to v7
GLC Networks
 
PDF
Radio Optimization In Telco - Part 1
GLC Networks
 
PDF
Mikrotik VRRP
Achmad Mardiansyah
 
Zabbix for Monitoring
GLC Networks
 
Using protocol analyzer on mikrotik
Achmad Mardiansyah
 
Up and Running SSH Service - Part 1
GLC Networks
 
Building a Web Server with NGINX
GLC Networks
 
Socket Programming with Python
GLC Networks
 
BGP Services IP Transit vs IP Peering
GLC Networks
 
MTCNA : Intro to RouterOS - Part 1
GLC Networks
 
MTCNA Intro to routerOS
GLC Networks
 
Controlling Access Between Devices in the same Layer 2 Segment
GLC Networks
 
IPv6 with Mikrotik
GLC Networks
 
CCNA : Intro to Cisco IOS - Part 1
GLC Networks
 
Internet Protocol Deep-Dive
GLC Networks
 
Building Local-loop Services for Customers
GLC Networks
 
Network LACP/Bonding/Teaming with Mikrotik
GLC Networks
 
Troubleshooting Layer 2 Ethernet Problem: Loop, Broadcast, Security
GLC Networks
 
Running Moodle for High Concurrent Users
GLC Networks
 
Automatic Backup via FTP - Part 1
GLC Networks
 
RouterOS Migration From v6 to v7
GLC Networks
 
Radio Optimization In Telco - Part 1
GLC Networks
 
Mikrotik VRRP
Achmad Mardiansyah
 
Ad

More from GLC Networks (19)

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

Recently uploaded (20)

PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 

EOIP Deep Dive