# US 2021/0288865 A1 · Overlay network ingress edge region selection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0288865 A1
- Document ID: US20210288865A1
- Status: Published application
- Kind: A1
- Application number: 17/335,121
- Filed: 2021-06-01
- Published: 2021-09-16
- Earliest claimed: 2015-12-31
- Assignees: Akamai Technologies, Inc.
- Applicants: Akamai Technologies, Inc.
- Inventors: Ryan Ruel; Fardad Farahmand; Brandon O. Williams
- Web page: https://patentgrep.com/patent/US20210288865A1

## CPC

- H04L 63/164: {at the network layer}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 63/0272: {Virtual private networks}
- H04L 63/061: {for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838)}
- H04L 61/2514: between local and global IP addresses
- H04L 61/4511: using domain name system [DNS]
- H04L 63/0485: {Networking architectures for enhanced packet encryption processing, e.g. offloading of IPsec packet processing or efficient security association look-up}
- H04L 63/068: {using time-dependent keys, e.g. periodically changing keys (cryptographic mechanisms or cryptographic arrangements for controlling usage of secret information H04L9/088)}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This disclosure relates to enhanced overlay network-based transport of traffic to and from customer branch office locations, facilitated through the use of the Internet-based overlay routing. A method of selecting an ingress edge region of the overlay network begins by mapping a service hostname to an IKEv2 destination of an outer IPsec tunnel associated with a first overlay network edge. An IKEv2 session is established from the first overlay network edge to the customer router. Upon tunnel establishment, a secondary lookup is performed to determine whether the first overlay network edge is an appropriate ingress region. Based on a response to the secondary lookup, a IKEv2 redirect is issued to a second overlay network edge. A new tunnel is then established from the second overlay network edge to the customer router. Thereafter, an additional lookup may also be performed to determine whether the second overlay network edge remains an appropriate ingress region.

## Claims

### Claim 1

A method of selecting an ingress edge region of an Internet-based overlay network, the overlay network having an authoritative domain name service (DNS), comprising:
mapping, using the authoritative DNS, a service hostname to a first overlay network edge;
establishing a first destination tunnel from the first overlay network edge to a customer router;
upon establishment of the first destination tunnel, re-mapping, using the authoritative DNS, the service hostname to determine whether the first overlay network edge is an appropriate ingress region for the first destination tunnel;
when a result of the re-mapping operation determines that the first overlay network edge is not an appropriate ingress edge region for the first destination tunnel but a second overlay edge network region is an appropriate ingress edge region, redirecting to the second overlay edge network region; and
establishing a second destination tunnel from the second overlay network edge region to the customer router.

### Claim 2

A method of selecting an ingress edge region of an Internet-based overlay network, the overlay network having an authoritative domain name service (DNS), comprising:
following establishment of a tunnel between a first overlay network edge and a router, performing periodic lookups to the authoritative DNS to determine whether the first overlay network edge remains an appropriate ingress region; and
based on a response to a periodic lookup additional lookup, determining whether the first overlay network edge remains an appropriate ingress region for the router;
upon a determination that the first overlay network edge no longer remains an appropriate ingress region for the router, dropping responses to one or more liveness probes otherwise being received over the tunnel from the router, thereby triggering the router to initiate a service hostname lookup to the authoritative DNS; and
establishing a new tunnel between a second overlay network edge and the router.

### Claim 3 (depends on 2)

The method as described in claim 2 wherein the liveness probes are IP-SLA probes.

### Claim 4 (depends on 2)

The method as described in claim 2 wherein the tunnel is an IKEv2 destination of an outer IPsec tunnel associated with the first overlay network edge.

### Claim 5 (depends on 2)

The method as described in claim 2 wherein the new tunnel is established by the first overlay network issuing a redirect to the second overlay network edge.

### Claim 6 (depends on 5)

The method as described in claim 5 wherein the redirect is an IKEv2 redirect notify message.

### Claim 7 (depends on 2)

The method as described in claim 2 wherein the first and second overlay network edges are associated with distinct geographic regions.

### Claim 8 (depends on 2)

The method as described in in claim 2 wherein the Internet-based overlay network is a content delivery network (CDN) and the first and second overlay network edge are collections of CDN edge servers.
