US 12,445,325 B2
Active tunnel selection for facilitating loop-free layer-2 traffic forwarding in an overlay network
Rajeev Jain, Bangalore (IN); and Venkatavaradhan Devarajan, Bangalore (IN)
Assigned to Hewlett Packard Enterprise Development LP, Spring, TX (US)
Filed by Hewlett Packard Enterprise Development LP, Houston, TX (US)
Filed on Oct. 28, 2022, as Appl. No. 17/976,691.
Prior Publication US 2024/0146575 A1, May 2, 2024
Int. Cl. H04L 12/46 (2006.01); H04L 45/64 (2022.01)
CPC H04L 12/4633 (2013.01) [H04L 12/4641 (2013.01); H04L 45/64 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
operating a switch as a tunnel endpoint for a plurality of tunnels with corresponding remote endpoints;
determining, by the switch, a first tunnel network identifier (TNI) identifying a first virtual local area network (VLAN) configured at the switch, and a second TNI identifying a second VLAN configured at the switch;
enabling, by the switch, the first TNI for a first tunnel of the plurality of tunnels for carrying traffic of the first VLAN, and disabling the second TNI for the first tunnel to block traffic of the second VLAN over the first tunnel to prevent looping of traffic of the second VLAN back to the switch;
maintaining, by the switch, a first data structure associated with the first tunnel and containing the first TNI, the second TNI, and information identifying the first TNI as enabled for the first tunnel and the second TNI as disabled for the first tunnel, the information identifying the first TNI as enabled for the first tunnel comprising an active indication;
selecting, by the switch, a second tunnel as a standby tunnel for the first TNI from a remainder of the plurality of tunnels; and
based on detecting unavailability of the first tunnel, enabling, by the switch, the first TNI for the second tunnel to allow traffic of the first VLAN over the second tunnel, the enabling of the first TNI for the second tunnel comprising setting, in a second data structure associated with the second tunnel and containing the first TNI, an active indication specifying the first TNI as enabled for the second tunnel.