Route configuration for logical router
First Claim
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.
1 Assignment
0 Petitions
Accused Products
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.
-
Citations
20 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
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. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification