IP Library Granted Patent US 10,129,142
Granted Patent B2
US 10,129,142 · App. 14/871,977 · Granted Nov 13, 2018

Route configuration for logical router

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,129,142
App. No.
14/871,977
Granted
Nov 13, 2018
Kind
B2
Abstract

Some embodiments provide a method for implementing a logical router (LR) in a logical network. The method receives configuration data connecting a first LR to a second LR, which includes several logical routing components with separate routing tables. For each of one or more routes configured for the first LR, the method adds a route to the routing table of a distributed routing component of the second LR. The added route has a next hop address of an interface of the first LR. The method also adds, for each of the one or more routes configured for the first LR, a route to the routing tables of each of one or more centralized routing components of the second LR. The next hop address of the added route is an address of an interface of the distributed routing component that is internal to the second LR.

Claims (28)

1. For a multi-user datacenter in which a plurality of user-managed logical routers are implemented, a method comprising:

receiving configuration data connecting a user-managed logical router to a datacenter-managed logical router in order to connect the user-managed logical router to devices external to the datacenter, wherein the datacenter-managed logical router comprises (i) a distributed routing component implemented across a plurality of physical machines in the datacenter and (ii) one or more centralized routing components that are each implemented on a different physical machine, wherein each of the distributed and centralized routing components of the datacenter-managed logical router has a separate routing table; and

for each route configured for the user-managed logical router:

adding, to the routing table of a distributed routing component of the datacenter-managed logical router, a route for a same prefix as the route configured for the user-managed logical router and having a next hop address of an interface of the user-managed logical router; and

adding, to the routing table of each centralized routing component of the datacenter-managed logical router, a route for the same prefix as the route configured for the user-managed logical router and having a next hop address of an interface of the distributed routing component of the datacenter-managed logical router.

2. The method of claim 1 , wherein the user-managed logical router is a tenant logical router that does not connect to any external physical networks and the datacenter-managed logical router is a provider logical router that connects to an external physical network.

3. The method of claim 2 , wherein the configuration data comprises a request received through an application programming interface from a tenant who deploys the tenant logical router.

4. The method of claim 1 , wherein the user-managed logical router comprises a single distributed routing component implemented across a set of physical machines in the multi-user datacenter but does not include any centralized routing component.

5. The method of claim 4 , wherein the interface of the user-managed logical router comprises an interface of the distributed routing component of the user-managed logical router.

6. The method of claim 1 , wherein the user-managed logical router comprises (i) a distributed routing component implemented across a set of physical machines in the multi-user datacenter, (ii) an active centralized routing component, and (iii) a standby centralized routing component.

7. The method of claim 6 , wherein the interface of the user-managed logical router comprises an interface of the active centralized routing component.

8. The method of claim 1 , wherein routes are added to the routing tables of the distributed routing component and the centralized routing components of the datacenter-managed logical router when a tenant who deploys the user-managed logical router specifies for the routes to be advertised outside of the user-managed logical router.

9. The method of claim 1 , wherein the method is performed by a centralized network controller that manages the datacenter-managed logical router.

10. The method of claim 9 further comprising distributing the added routes to local network controllers operating on the plurality of physical machines that implement the distributed routing component and the centralized routing components.

11. The method of claim 1 , wherein the routes configured for the user-managed logical router comprise connected routes generated automatically for the user-managed logical router based on connection of logical switches to the user-managed logical router.

12. The method of claim 1 further comprising specifying for the centralized routing components to advertise the routes to an external physical network via a dynamic routing protocol.

13. A non-transitory machine readable medium storing a program which when executed by at least one processing unit implements a plurality of user-managed logical routers in a datacenter, the program comprising sets of instructions for:

receiving configuration data connecting a user-managed logical router to a datacenter-managed logical router in order to connect the user-managed logical router to devices external to the datacenter, wherein the datacenter-managed logical router comprises (i) a distributed routing component implemented across a plurality of physical machines in the datacenter and (ii) one or more centralized routing components that are each implemented on a different physical machine, wherein each of the distributed and centralized routing components of the datacenter-managed logical router has a separate routing table; and

for each route configured for the user-managed logical router:

adding, to the routing table of a distributed routing component of the datacenter-managed logical router, a route for a same prefix as the route configured for the user-managed logical router and having a next hop address of an interface of the user-managed logical router; and

adding, to the routing table of each centralized routing component of the datacenter-managed logical router, a route for the same prefix as the route configured for the user-managed logical router and having a next hop address of an interface of the distributed routing component of the datacenter-managed logical router.

14. The non-transitory machine readable medium of claim 13 , wherein the user-managed logical router is a tenant logical router that does not connect to any external physical networks and the datacenter-managed logical router is a provider logical router that connects to an external physical network.

15. The non-transitory machine readable medium of claim 13 , wherein the user-managed logical router comprises a single distributed routing component implemented across a set of physical machines in the multi-user datacenter but does not include any centralized routing component.

16. The non-transitory machine readable medium of claim 15 , wherein the interface of the user-managed logical router comprises an interface of the distributed routing component of the user-managed logical router.

17. The non-transitory machine readable medium of claim 13 , wherein the user-managed logical router comprises (i) a distributed routing component implemented across a set of physical machines in the multi-user datacenter, (ii) an active centralized routing component, and (iii) a standby centralized routing component, wherein the interface of the user-managed logical router comprises an interface of the active centralized routing component.

18. The non-transitory machine readable medium of claim 13 , wherein routes are added to the routing tables of the distributed routing component and the centralized routing components of the datacenter-managed logical router when a tenant who deploys the user-managed logical router specifies for the routes to be advertised outside of the user-managed logical router.

19. The non-transitory machine readable medium of claim 13 , wherein the routes configured for the user-managed logical router comprise connected routes generated automatically for the user-managed logical router based on connection of logical switches to the user-managed logical router.

20. The non-transitory machine readable medium of claim 13 , wherein the program further comprises a set of instructions for specifying for the centralized routing components to advertise the routes to an external physical network via a dynamic routing protocol.

Assignments (2)
MERGER Recorded Jan 27, 2025
From: NICIRA, INC.
To: VMWARE LLC
Reel/Frame 070187/0487 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 30, 2015
From: GOLIYA, ABHISHEK; MASUREKAR, UDAY
To: NICIRA, INC.
Reel/Frame 036699/0148 →
Cited By (5)
US 12,255,804 US 12,309,248 US 12,375,533 US 12,399,886 US 12,647,346