US 12,113,704 B2
Using a routing protocol for network port failover
Kenyon James Hensler, Acworth, GA (US)
Assigned to Microsoft Technology Licensing, LLC, Redmond, WA (US)
Filed by Microsoft Technology Licensing, LLC, Redmond, WA (US)
Filed on Apr. 4, 2022, as Appl. No. 17/712,913.
Prior Publication US 2023/0318968 A1, Oct. 5, 2023
Int. Cl. H04L 45/28 (2022.01); H04L 12/66 (2006.01); H04L 45/02 (2022.01); H04L 45/12 (2022.01); H04L 45/645 (2022.01); H04L 69/325 (2022.01)
CPC H04L 45/28 (2013.01) [H04L 12/66 (2013.01); H04L 45/04 (2013.01); H04L 45/12 (2013.01); H04L 45/645 (2022.05); H04L 69/325 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method, implemented at a computer system that includes a processor and a plurality of network ports, for using BGP (border gateway protocol) for network port failover in a single network stack environment having a single default route, the method comprising:
identifying a plurality of interfaces configured at a network stack that does not perform reverse path forwarding, including identifying at least:
a first interface provided by the network stack as a loopback interface, and that is assigned a first IP (internet protocol) address corresponding to a first IP subnet,
a second interface provided by the network stack as an interface to a first network port of the plurality of network ports, and that is assigned a second IP address corresponding to a second IP subnet that is different than the first IP subnet, and
a third interface provided by the network stack as an interface to a second network port of the plurality of network ports, and that is assigned a third IP address corresponding to a third IP subnet that is different than each of the first IP subnet and the second IP subnet;
configuring BGP to communicate over the second interface with a first port at one or more remote network devices, and to communicate over the third interface with a second port at one or more remote network devices;
announcing, to the one or more remote network devices, a route comprising the first IP address;
configuring a default route of the network stack to egress IP packets via the second interface;
after configuring the network stack to route IP packets via the second interface, determining, based on BGP, that there is a forwarding failure associated with the second interface; and
based on determining that there is a forwarding failure associated with the second interface, configuring the default route of the network stack to egress IP packets via the third interface.