# US 2021/0243118 A1 · Inter-network service chaining

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

- Number: US 2021/0243118 A1
- Document ID: US20210243118A1
- Status: Published application
- Kind: A1
- Application number: 17/216,308
- Filed: 2021-03-29
- Published: 2021-08-05
- Earliest claimed: 2019-05-31
- Assignees: Juniper Networks, Inc.
- Applicants: Juniper Networks, Inc.
- Inventors: Anantharamu Suryanarayana; Manish Krishnan; Jacopo Pianigiani; Vivekananda Shenoy; Mahesh Sivakumar
- Web page: https://patentgrep.com/patent/US20210243118A1

## CPC

- H04L 45/64: using an overlay routing layer
- G06F 9/45541: {Bare-metal, i.e. hypervisor runs directly on hardware}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 12/4641: {Virtual LANs, VLANs, e.g. virtual private networks [VPN] (LAN interconnection over a bridge based backbone H04L12/462; encapsulation techniques H04L12/4633; routing of packets H04L45/00; packet switches H04L49/00; virtual private networks for security H04L63/0272)}
- H04L 12/4675: {Dynamic sharing of VLAN information amongst network nodes (configuration of the network or of network elements H04L41/08)}
- H04L 45/04: {Interdomain routing, e.g. hierarchical routing}
- H04L 45/34: {Source routing}
- H04L 45/50: using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L 45/586: of virtual routers
- H04L 45/74: Address processing for routing
- H04L 45/745: Address table lookup; Address filtering
- H04L 69/164: Adaptation or special uses of UDP protocol
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques are described in which a centralized controller constructs a service chain between a bare metal server (BMS) and a virtual execution element (e.g., virtual machine or container), or in some instances a remote BMS, across a plurality of networks. In some examples, the controller may construct a service chain between a BMS and a virtual execution element or remote BMS using Ethernet Virtual Private Network (EVPN)-Virtual Extensible Local Area Network (VXLAN) and Internet Protocol Virtual Private Networks (IP VPNs) such as BGP/Multiprotocol Label Switching (BGP/MPLS) IP VPNs.

## Claims

### Claim 1

A method comprising:
obtaining, by a controller and from a destination network, a route that specifies a next hop to a destination address reachable by the destination network;
generating, by the controller, a first modified route that specifies a service node as the next hop for the destination address, wherein the service node is external to the destination network;
generating, by the controller, a second modified route that specifies a server hosting the service node as the next hop for the destination address;
sending, by the controller, the second modified route to a switch of a source network to configure the switch to send traffic originating from a bare metal server and destined for the source network to the server hosting the service node; and
sending, by the controller, the first modified route to a router of the source network to configure the router to send the traffic received from the switch to the service node.

### Claim 2 (depends on 1)

The method of claim 1,
wherein the bare metal server comprises a first bare metal server,
wherein the destination address comprises an Internet Protocol (IP) address of a second bare metal server reachable by the destination network,
wherein the route comprises an Ethernet Virtual Private Network (EVPN) route that specifies the IP address of the second bare metal server,
wherein generating the first modified route comprises storing the EVPN route as an IP route, and
wherein sending the second modified route to the switch of a source network comprises sending a border gateway protocol (BGP) message including the EVPN route that specifies the IP address of the second bare metal server.

### Claim 3 (depends on 2)

The method of claim 2, wherein the switch comprises a first switch, the method further comprising:
generating, by the controller, a third modified route that specifies a second switch of the destination network as the next hop for the destination address, wherein the second switch is directly connected to the second bare metal server;
sending, by the controller, the third modified route to a router of the destination network to configure the router of the destination network to send the traffic received from the service node to the second switch.

### Claim 4 (depends on 3)

The method of claim 3,
wherein the router of the source network is configured to send the traffic received from the switch to the service node using Multiprotocol Label Switching (MPLS) over Generic Route Encapsulation (GRE) or MPLS over User Datagram Protocol (UDP), and
wherein the router of the destination network is configured to send the traffic to the second switch that is directly connected to the second bare metal server using a Virtual Extensible Local Area Network (VXLAN).

### Claim 5 (depends on 1)

The method of claim 1,
wherein the destination address comprises an Internet Protocol (IP) address of a virtual machine reachable by the destination network,
wherein the route comprises an IP route,
wherein generating the second modified route comprises storing the IP route as an Ethernet Virtual Private Network (EVPN) route that specifies the IP address of the virtual machine, and
wherein sending the first modified route to the switch of a source network comprises sending a border gateway protocol (BGP) message including the EVPN route that specifies the IP address of the virtual machine.

### Claim 6 (depends on 5)

The method of claim 5, wherein the BGP message includes an import route target to configure the switch to import the EVPN route.

### Claim 7 (depends on 5)

The method of claim 5, wherein the EVPN route comprises an EVPN Type-5 route for specifying the IP address for inter-subnet connectivity across data centers.

### Claim 8 (depends on 5)

The method of claim 5,
wherein the router of the source network is configured to send the traffic received from the switch to the service node using Multiprotocol Label Switching (MPLS) over Generic Route Encapsulation (GRE) or MPLS over User Datagram Protocol (UDP), and
wherein the switch is configured to send traffic from the bare metal server to the server hosting the service node using a Virtual Extensible Local Area Network (VXLAN).

### Claim 9

A method comprising:
obtaining, by a controller and from a switch in a destination network, an Ethernet Virtual Private Network (EVPN) route that specifies a next hop to an Internet Protocol (IP) address of a bare metal server reachable by the destination network;
generating, by the controller, a first modified IP route that specifies a service node as a next hop for the destination address;
generating, by the controller, a second modified IP route that specifies the switch as the next hop for the destination address, wherein the switch is directly connected to the bare metal server;
sending, by the controller, the first modified IP route to a router of a source network to configure the router of the source network to send traffic originating from the virtual machine and destined for the bare metal server to the service node; and
sending, by the controller, the second modified IP route to a router of the destination network to configure the router of the destination network to send the traffic received from the service node to the switch.

### Claim 10 (depends on 9)

The method of claim 9,
wherein generating the first modified route comprises storing the EVPN route as an IP route that specifies the IP address of the bare metal server.

### Claim 11 (depends on 9)

The method of claim 9, wherein the EVPN route comprises an EVPN Type-5 route for specifying the IP address for inter-subnet connectivity across data centers.

### Claim 12

A controller comprising:
one or more processors;
a control unit executed by the one or more processors configured to obtain a route from a destination network that specifies a next hop to a destination address reachable by the destination network; and
a service chain unit executed by the one or more processors configured to:
generate a first modified route that specifies a service node as the next hop for the destination address, wherein the service node is external to the destination network;
generate a second modified route that specifies a server hosting the service node as the next hop for the destination address;
send the second modified route to a switch of a source network to configure the switch to send traffic from a bare metal server to the server hosting the service node, wherein the traffic is originated from the bare metal server and destined for the source network; and
send the first modified route to a router of the source network to configure the router of the source network to send the traffic received from the switch to the service node.

### Claim 13 (depends on 12)

The controller of claim 12,
wherein the bare metal server comprises a first bare metal server,
wherein the destination address comprises an Internet Protocol (IP) address of a second BMS reachable by the destination network,
wherein the route comprises an Ethernet Virtual Private Network (EVPN) route that specifies the IP address of the second bare metal server,
wherein, to generate the first modified route, the one or more processors are further configured to store the EVPN route as an IP route, and
wherein, to send the second modified route to the switch of a source network, the one or more processors are further configured to send a border gateway protocol (BGP) message including the EVPN route that specifies the IP address of the second bare metal server.

### Claim 14 (depends on 13)

The controller of claim 13 wherein the switch comprises a first switch, the service chain unit executed by the one or more processors are further configured to:
generate a third modified route that specifies a second switch of the destination network as the next hop for the destination address, wherein the second switch is connected to the second bare metal server;
send the third modified route to a router of the destination network to configure the router of the destination network to send the traffic received from the service node to the second switch.

### Claim 15 (depends on 14)

The controller of claim 14,
wherein the router of the source network is configured to send the traffic received from the switch to the service node using Multiprotocol Label Switching (MPLS) over Generic Route Encapsulation (GRE) or MPLS over User Datagram Protocol (UDP), and
wherein the router of the destination network is configured to send the traffic to the second switch connected to the second bare metal server using a Virtual Extensible Local Area Network (VXLAN).

### Claim 16 (depends on 12)

The controller of claim 12,
wherein the destination address comprises an Internet Protocol (IP) address of a virtual machine reachable by the destination network,
wherein the route comprises an IP route,
wherein, to generate the second modified route, the one or more processors are further configured to store the IP route as an Ethernet Virtual Private Network (EVPN) route that specifies the IP address of the virtual machine, and
wherein, to send the first modified route to the switch of a source network, the one or more processors are further configured to send a border gateway protocol (BGP) message including the EVPN route that specifies the IP address of the virtual machine.

### Claim 17 (depends on 16)

The controller of claim 16, wherein the BGP message includes an import route target to configure the switch to import the EVPN route.

### Claim 18 (depends on 16)

The controller of claim 16, wherein the EVPN route comprises an EVPN Type-5 route for specifying the IP address for inter-subnet connectivity across data centers.

### Claim 19 (depends on 16)

The controller of claim 16,
wherein the router of the source network is configured to send the traffic received from the switch to the service node using Multiprotocol Label Switching (MPLS) over Generic Route Encapsulation (GRE) or MPLS over User Datagram Protocol (UDP), and
wherein the switch is configured to send traffic from the bare metal server to the server hosting the service node using a Virtual Extensible Local Area Network (VXLAN).

### Claim 20 (depends on 12)

The controller of claim 12,
wherein the control unit executed by the one or more processors is further configured to obtain an Ethernet Virtual Private Network (EVPN) route from a destination network that specifies a next hop to an Internet Protocol (IP) address of a bare metal server reachable by the destination network; and
a service chain unit executed by the one or more processors configured to:
store the EVPN route as an IP route having the IP address specified by the EVPN route;
generate a first modified IP route that specifies a service node as a next hop for the destination address
generate a second modified IP route that specifies the switch as the next hop for the destination address, wherein the switch is connected to the bare metal server;
send the first modified IP route to a router of a source network to configure the router of the source network to send traffic received from a virtual machine to the service node, wherein the traffic is originated from the virtual machine and destined for the bare metal server; and
send the second modified IP route to a router of the destination network to configure the router of the destination network to send the traffic received from the service node to the switch.
