VPLS and EoIP Tunneling with Mikrotik for Efficient ISP Backhaul

As a certified Mikrotik consultant with extensive experience in managing network infrastructures for various ISPs, I have delved into multiple tunneling solutions, particularly VPLS (Virtual Private LAN Service) and EoIP (Ethernet over IP). This post explores the technicalities of VPLS and EoIP tunneling using Mikrotik devices, emphasizing their efficiency in ISP backhaul scenarios, and provides insights into real-life complications, challenges, and the benefits of traffic engineering.

Understanding VPLS and EoIP

VPLS (Virtual Private LAN Service)

VPLS is a method for providing Ethernet connectivity over a wide area network (WAN). It enables the creation of a virtual LAN that spans multiple geographic locations, allowing remote sites to communicate as if they were on the same local network. VPLS leverages MPLS (Multiprotocol Label Switching) for packet forwarding, providing scalability, redundancy, and efficient bandwidth usage.

EoIP (Ethernet over IP)

EoIP is a simpler tunneling protocol that encapsulates Ethernet frames within IP packets. It is often used to connect remote networks over the internet or private networks without the overhead of setting up a full MPLS infrastructure. Mikrotik supports EoIP natively, making it an accessible solution for ISPs looking for quick deployment options.

Detailed Comparison of VPLS and EoIP

Here’s a comprehensive comparison of VPLS and EoIP tunneling regarding their deployment, performance, and use cases for ISP backhaul:

FeatureVPLSEoIP
Protocol TypeMPLS-basedIP-based
ScalabilityHighly scalable with MPLSLimited scalability
PerformanceBetter performance in high-load scenariosGood for lower-load connections
OverheadHigher due to MPLS headersLower overhead
MTU ConsiderationsMTU may vary with MPLS configurationStandard MTU (usually 1500 bytes)
L2MTU ConsiderationsTypically allows up to 1600 bytesStandard L2MTU of 1600 bytes
Use CaseLarge ISPs with multiple sitesSmall to medium ISPs, remote links
Configuration ComplexityMore complex due to MPLS setupSimpler configuration
ResilienceHigher resilience with MPLS featuresBasic resilience
Traffic EngineeringAdvanced traffic engineering capabilitiesBasic routing capabilities
Cost of ImplementationHigher due to equipment and expertiseGenerally lower cost
LatencyLower latency in well-optimized setupsHigher latency in congested networks
Failover and RedundancyEnhanced failover with MPLS featuresBasic failover capabilities
Table 1.1 – Comparison of Features VPLS and EOIP Tunnel

Enhancements in Mikrotik RouterOS v7.x for EoIP and VPLS

Mikrotik RouterOS v7.x introduced several enhancements that significantly improve both EoIP and VPLS functionality:

  1. Improved Performance: v7.x optimizes the handling of tunnels, reducing CPU load and increasing throughput, which is crucial for high-traffic environments.
  2. Enhanced Traffic Engineering: With better support for BGP and advanced routing features, v7.x allows for more effective traffic engineering capabilities, enabling ISPs to manage traffic flow more efficiently.
  3. Simplified Configuration: The updated user interface and command-line tools make it easier to configure and manage both EoIP and VPLS, reducing the complexity involved in setting up these tunnels.
  4. Improved Monitoring and Diagnostics: New tools and features for monitoring tunnel performance help in diagnosing issues quickly, allowing for better maintenance and troubleshooting.
  5. Support for More Protocols: Enhanced compatibility with various network protocols can facilitate easier integration with existing network architectures.

These improvements make Mikrotik RouterOS v7.x a powerful platform for implementing EoIP and VPLS, especially for ISPs looking to optimize their backhaul solutions.

Advantages and Disadvantages

Here’s a table summarizing the advantages and disadvantages of both VPLS and EoIP:

FeatureVPLS AdvantagesVPLS DisadvantagesEoIP AdvantagesEoIP Disadvantages
ScalabilityHighly scalable for large networksMore complex to manage and configureEasy to set up and configureLimited scalability for large deployments
PerformanceOptimized for high-load scenariosRequires careful bandwidth managementGood performance for basic connectivityMay struggle with high-load applications
Traffic EngineeringAllows for advanced traffic managementNeeds expertise for optimal setupBasic traffic routingLimited traffic management capabilities
CostBetter long-term investment for ISPsHigher initial costs and equipment needsLow implementation costsPotentially less efficient in the long run
LatencyLower latency due to optimized routingLatency can increase with misconfigurationHigher latency in congested networksPotential bottlenecks in high-traffic scenarios
RedundancyEnhanced failover capabilitiesMore components can lead to more failure pointsBasic redundancy availableLimited failover options
Table 1.2 – Advantages and Disadvantages of VPLS and EOIP Tunnel

MTU and L2MTU Considerations

When implementing VPLS and EoIP, understanding Maximum Transmission Unit (MTU) and Layer 2 Maximum Transmission Unit (L2MTU) is crucial:

  • MTU: The largest packet size that can be sent over a network. For VPLS, the MTU must be carefully configured, especially when dealing with various service providers, to avoid fragmentation.
  • L2MTU: For Ethernet frames, the L2MTU defines the maximum size for Layer 2 packets. Mikrotik typically supports an L2MTU of up to 1600 bytes, which is necessary to accommodate additional headers added by tunneling protocols.

Traffic Engineering

Traffic engineering is a vital aspect of VPLS that allows ISPs to optimize the flow of data through their networks. By implementing traffic engineering, ISPs can:

  • Prioritize Traffic: Assign different priorities to various types of traffic (e.g., VoIP, video streaming) to ensure critical applications receive the necessary bandwidth and low latency.
  • Manage Congestion: Dynamically reroute traffic during peak periods or network congestion to maintain service quality.
  • Optimize Resource Utilization: Efficiently use network resources by distributing traffic evenly across available paths and links.
  • Implement Quality of Service (QoS): Apply QoS policies to manage bandwidth allocation, ensuring that users experience consistent performance regardless of network conditions.

Use Cases for ISPs

ISPs can leverage VPLS and EoIP tunneling to address various challenges in their infrastructure:

  1. Connecting Remote Offices:
    • VPLS: Large ISPs can use VPLS to connect multiple remote offices or customer sites seamlessly, allowing for efficient data sharing and centralized management without complex routing protocols.
    • EoIP: Smaller ISPs can utilize EoIP to connect remote clients or branch offices quickly and affordably, facilitating easier management of client networks.
  2. Cost-Effective Backhaul Solutions:
    • VPLS: By aggregating multiple customer connections over a single physical infrastructure, ISPs can optimize bandwidth usage and reduce operational costs while providing reliable services.
    • EoIP: ISPs can implement EoIP for low-cost backhaul solutions, enabling them to extend their reach without significant investment in MPLS infrastructure.
  3. Redundant Connectivity:
    • VPLS: VPLS enables ISPs to set up redundant paths for critical connections, ensuring high availability and minimal downtime during outages or maintenance.
    • EoIP: ISPs can deploy EoIP tunnels as backup connections for less critical paths, maintaining service continuity in case of primary link failures.
  4. Support for VoIP and Video Services:
    • VPLS: The low-latency characteristics of VPLS make it ideal for supporting latency-sensitive applications like VoIP and video conferencing, providing high-quality service to customers.
    • EoIP: EoIP can also be used for VoIP services in smaller deployments, allowing ISPs to offer basic telephony services without extensive infrastructure.
  5. Data Center Interconnectivity:
    • VPLS: Large ISPs can interconnect multiple data centers using VPLS to facilitate rapid data transfer, disaster recovery, and improved service delivery.
    • EoIP: EoIP can be deployed for smaller data center interconnections where budget constraints exist but basic connectivity is still required.

Pro Tips

  1. Plan Your Network Design: Before implementation, take time to plan your network design carefully. Consider future growth and ensure scalability by using VPLS where necessary, especially for larger deployments.
  2. Optimize MTU Settings: Regularly review and optimize your MTU settings across all devices. Standardizing MTU can prevent fragmentation and enhance performance, especially for sensitive applications like VoIP.
  3. Leverage Monitoring Tools: Utilize Mikrotik’s monitoring tools and consider third-party solutions to gain insights into traffic patterns and performance metrics. Early identification of issues can save time and resources in troubleshooting.

Real-Life Complications and Challenges

  1. MTU Mismatches: During deployments, I’ve encountered issues with MTU mismatches between different network segments. This often results in packet fragmentation or dropped packets, impacting performance. It’s essential to standardize MTU settings across all devices and links in the backhaul network.
  2. Configuration Complexity: While Mikrotik devices provide a user-friendly interface, configuring VPLS can be intricate, especially when integrating with existing networks. Proper understanding and experience are required to avoid misconfigurations that can lead to connectivity issues.
  3. Routing Protocol Overhead: In some cases, the use of routing protocols (like OSPF or BGP) alongside VPLS may introduce additional overhead. Balancing routing and switching is critical for maintaining optimal performance.
  4. Monitoring and Troubleshooting: Continuous monitoring of the VPLS and EoIP tunnels is essential for identifying bottlenecks or failures. Utilizing Mikrotik’s built-in tools for monitoring can aid in quickly resolving issues, but having experience with network analysis tools is invaluable.
  5. Scalability: While VPLS provides better scalability, planning for growth is essential. A poorly designed VPLS network can become cumbersome to manage, leading to challenges in adding new sites or services.

Conclusion

Both VPLS and EoIP offer unique advantages for ISPs looking to enhance their backhaul infrastructure. While VPLS is more suited for larger networks requiring scalability and advanced traffic engineering capabilities, EoIP provides a simpler and cost-effective solution for smaller ISPs.

Understanding the differences, challenges, and use cases for both can help ISPs make informed decisions that lead to better service delivery and customer satisfaction. By leveraging the strengths of each technology, ISPs can effectively address the demands of their networks and improve overall operational efficiency.