EoIP
In WinBox you can configure EoIP in Interfaces -> EoIP, or you can use terminal with command /interface eoip
EoIP creates true layer-2 connectivity, making remote networks appear as if they are directly connected at the Ethernet level.
EoIP fundamentals
How EoIP works
Key characteristics:
Layer-2 tunnel - Transports Ethernet frames, not just IP packets
MikroTik proprietary - Only works between RouterOS devices
Protocol 47 - Uses GRE protocol (same as GRE tunnels)
Transparent bridging - Can be added to bridge interfaces
MAC learning - Supports standard Ethernet MAC address learning
VLAN transport - Can carry VLAN tagged traffic
Common use cases:
Remote bridging - Extend layer-2 networks across WAN
Site interconnection - Connect remote sites at layer-2
VLAN extension - Extend VLANs across geographic locations
Legacy network support - Connect networks requiring layer-2 adjacency
Cluster networking - Connect servers/services requiring broadcast domains
Basic EoIP configuration
Simple point-to-point EoIP tunnel
Create a basic EoIP tunnel between two RouterOS devices:
Router A (Local: 203.0.113.10, Remote: 203.0.113.20):
Router B (Local: 203.0.113.20, Remote: 203.0.113.10):
Test EoIP connectivity
Advanced EoIP configuration
EoIP with keepalive
Enable keepalive for tunnel failure detection:
Multiple EoIP tunnels
Create multiple tunnels with different tunnel IDs:
EoIP hub and spoke topology
Central site connecting multiple remote locations:
EoIP with VLANs
Transport VLANs over EoIP
EoIP can carry VLAN tagged traffic transparently:
Separate tunnels per VLAN
For better control and security, use separate EoIP tunnels:
EoIP security
Secure EoIP with IPSec
EoIP itself provides no encryption, use IPSec for security:
Firewall protection for EoIP
EoIP over NAT
Handle EoIP behind NAT
EoIP uses GRE protocol which requires special handling behind NAT:
Dynamic IP with EoIP
One end with dynamic IP address:
Monitoring and troubleshooting
Monitor EoIP tunnels
Troubleshoot EoIP issues
Performance optimization
Optimize EoIP performance
Bridge optimization for EoIP
Common use cases
Remote site layer-2 extension
Connect remote office as if it's on same LAN:
Server farm interconnection
Connect multiple data centers at layer-2:
Best practices
Design recommendations
Use unique tunnel IDs - Avoid conflicts between tunnels
Implement keepalives - Detect failures quickly
Plan carefully - Layer-2 extension affects broadcast domains
Monitor bridge tables - Watch MAC address learning
Use VLANs wisely - Segment traffic appropriately
Security considerations
Always encrypt - EoIP provides no security by itself
Limit bridge scope - Don't extend layer-2 unnecessarily
Filter MAC addresses - Control which devices can communicate
Monitor traffic - Watch for unusual broadcast patterns
Use separate tunnels - Isolate different network segments
Performance tips
Optimize bridges - Configure spanning tree properly
Control broadcasts - Limit broadcast/multicast traffic
Monitor utilization - Watch tunnel bandwidth usage
Use hardware acceleration - When available
Plan redundancy - Multiple tunnels for critical connections
Last updated
Was this helpful?