Patent ID: 11968183
Assignee: JUNIPER NETWORKS, INC.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method, comprising:
assigning, by a first endpoint device, a first metric to a first Internet Protocol security (IPsec) tunnel and a second metric to a second IPsec tunnel,
wherein the first IPsec tunnel is a first communication channel for transmitting data between the first endpoint device and a second endpoint device and the second IPsec tunnel is a second communication channel for transmitting the data between the first endpoint device and the second endpoint device wherein the first IPsec tunnel is a first communication channel for transmitting data between the first endpoint device and a second endpoint device and the second IPsec tunnel is a second communication channel for transmitting the data between the first endpoint device and the second endpoint device, and
wherein the first IPsec tunnel and the second IPsec tunnel are from a plurality of IPsec tunnels between the first endpoint device and the second endpoint device;

ranking, by the first endpoint device and according to the first metric and the second metric, the plurality of IPsec tunnels;
selecting, by the first endpoint device and according to the ranking, the first IPsec tunnel or the second IPsec tunnel as a selected IPsec tunnel for transmitting the data toward the second endpoint device;
modifying, by the first endpoint device and upon determining an issue associated with the first IPsec tunnel, the second metric to generate a modified second metric;
re-ranking, by the first endpoint device and according to the modified second metric, the plurality of IPsec tunnels;
selecting, by the first endpoint device and in response to the re-ranking, a particular IPsec tunnel of the plurality of IPsec tunnels; and
transmitting, by the first endpoint device, the data toward the second endpoint device via the particular IPsec tunnel.