BFD Packet TTL Adjustment in Virtualized Switches
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Bidirectional Forwarding Detection (BFD) protocol faces challenges in virtualized network device environments, particularly with TTL management for BFD packets, leading to potential packet discard due to incorrect hop counting in active forwarding modes.
Innovation Solution
Implementing techniques such as creating networking tunnels, using ternary content-addressable memory (TCAM) to adjust TTL values, and modifying the BFD control plane daemon to support desired TTL values, ensuring BFD packets are not discarded in virtualized switch environments.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If active forwarding mode is used to route data traffic through linked network devices, then bandwidth utilization and link failure recovery are improved, but TTL management becomes incorrect causing BFD packets to be discarded
Solution Approach 1:
The patent introduces an intermediary mechanism (TTL adjustment at the receiving device) that mediates between the active forwarding mode's hop counting and the BFD protocol's TTL requirements. The receiving device identifies BFD synchronization packets and adjusts their TTL values to match expected BFD TTL, preventing premature packet discard while maintaining active forwarding benefits
2Reliability
If TTL adjustment is performed for BFD synchronization packets, then packet discard is prevented, but device complexity increases due to additional packet inspection and modification logic
Solution Approach 1:
The patent applies local quality by implementing TTL adjustment only for specific BFD synchronization packets rather than all packets. The receiving device inspects packet types and applies TTL modification selectively based on packet identification criteria, maintaining simplicity for regular traffic while ensuring reliability for BFD packets
Data Source
AI summary
Examples disclosed herein relate to a method comprising receiving a bidirectional forwarding detection (BFD) packet originating from a first network device, wherein the first linked network device and a second linked network device are part of a link aggregation group running a BFD session. The method may include transmitting, from the first linked network device, a BFD synchronization packet to the second linked network device and receiving, at the second linked network device, the BFD synchronization packet, wherein a time-to-live (TTL) value of the BFD synchronization packet is lower than a BFD TTL supported by the BFD session. The method may also include determining that the BFD synchronization packet is a BFD single-hop packet coming from a VLANs using the active forwarding mode and determining not to discard the BFD synchronization packet.


