VXLAN Loop Prevention Bit for Unicast Traffic
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current techniques for handling unicast packets in EVPN-VXLAN networks face issues with unicast traffic loops during access link failures, leading to resource consumption and traffic loss.
Innovation Solution
Incorporating a loop prevention bit in the VXLAN header to prevent unicast traffic loops by determining the operational status of links between network devices and forgoing packet return when a link is non-operational, thereby redirecting traffic through alternative routes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If unicast packets are returned to the second network device when a link failure occurs, then traffic can be redirected through alternative routes, but unicast traffic loops are created causing resource consumption and traffic loss
Solution Approach 1:
The loop prevention bit is set in advance in the VXLAN header before packets are forwarded through the network. This preliminary marking allows receiving devices to immediately recognize and handle packets that might create loops, enabling proactive loop prevention rather than reactive detection and correction
Solution Approach 2:
The loop prevention bit acts as an intermediary mechanism between packet forwarding and loop detection. Instead of requiring complex real-time loop detection algorithms, the bit serves as a simple flag that mediates the decision-making process at each network device, indicating whether returning packets would create a loop
2Reliability
If the loop prevention bit is always checked and processed, then unicast traffic loops are prevented, but device complexity and processing overhead increase
Solution Approach 1:
The loop prevention functionality is extracted from complex real-time loop detection algorithms and encapsulated in a simple bit flag within the VXLAN header. This extraction simplifies the processing requirement at each network device from running complex detection algorithms to merely checking and acting on a single bit value
Solution Approach 2:
The state of the loop prevention bit changes based on the operational status of links. When a link failure is detected, the bit is set to indicate loop prevention mode; when links are operational, the bit can be cleared. This dynamic parameter change allows the system to adapt processing behavior to current network conditions
Data Source
AI summary
A first network device may receive a flow of unicast packets with a loop prevention bit set. The flow of unicast packets may be received from a second network device associated with a non-operational link provided between the second network device and a destination device. The second network device may be a peer of the first network device. The first network device may determine whether a link provided between the first network device and the destination device is operational, and may forgo returning the flow of unicast packets to the second network device when the link provided between the first network device and the destination device is non-operational and based on the loop prevention bit.


