Static route types for logical routers
First Claim
1. A method for implementing a first logical router of a logical network, the method comprising:
- receiving a configuration for the first logical router, the configuration comprising a static route for the first logical router;
defining a plurality of logical routing components with separate routing tables for the first logical router, the plurality of logical routing components comprising a distributed routing component and at least one centralized routing component, wherein the distributed routing component is implemented by a plurality of managed forwarding elements;
adding a static first route for the static route to the routing tables of at least a first subset of the routing components of the first logical router, the static first added route having a first static route type; and
based on a connection of a second logical router to the first logical router;
defining a logical switch that connects to the distributed routing component of the first logical router and a logical routing component of the second logical router, the logical switch having an assigned subnet;
adding a connected second route for the assigned subnet to the routing table of the distributed routing component; and
adding a static third route for the assigned subnet to the routing tables of the centralized routing components of the first logical router, the static third added route having a second static route type different from the first static route type; and
distributing the routing tables of the plurality of logical routing components to the plurality of managed forwarding elements, wherein the managed forwarding elements use routes in the distributed routing tables to process network traffic.
1 Assignment
0 Petitions
Accused Products
Abstract
Some embodiments provide method for implementing a logical router of a logical network. The method receives a configuration for a first logical router. The configuration includes a static route for the first logical router. The method defines several routing components with separate routing tables for the logical router. The method adds a first route, having a first static route type, for the static route to the routing tables of at least a first subset of the routing components. Based on the connection of a second logical router to the first logical router, adding a second route, having a second static route type, to the routing tables of at least a second subset of the routing components.
295 Citations
18 Claims
-
1. A method for implementing a first logical router of a logical network, the method comprising:
-
receiving a configuration for the first logical router, the configuration comprising a static route for the first logical router; defining a plurality of logical routing components with separate routing tables for the first logical router, the plurality of logical routing components comprising a distributed routing component and at least one centralized routing component, wherein the distributed routing component is implemented by a plurality of managed forwarding elements; adding a static first route for the static route to the routing tables of at least a first subset of the routing components of the first logical router, the static first added route having a first static route type; and based on a connection of a second logical router to the first logical router; defining a logical switch that connects to the distributed routing component of the first logical router and a logical routing component of the second logical router, the logical switch having an assigned subnet; adding a connected second route for the assigned subnet to the routing table of the distributed routing component; and adding a static third route for the assigned subnet to the routing tables of the centralized routing components of the first logical router, the static third added route having a second static route type different from the first static route type; and distributing the routing tables of the plurality of logical routing components to the plurality of managed forwarding elements, wherein the managed forwarding elements use routes in the distributed routing tables to process network traffic. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory machine readable medium storing a program for execution by at least one processing unit, the program comprising sets of instructions for:
-
receiving a configuration for a first logical router, the configuration comprising a static route for the first logical router; defining a plurality of logical routing components with separate routing tables for the first logical router, the plurality of logical routing components comprising a distributed routing component and at least one centralized routing component, wherein the distributed routing component is implemented by a plurality of managed forwarding elements; adding a static first route for the static route to the routing tables of at least a first subset of the routing components of the first logical router, the static first added route having a first static route type; and based on a connection of a second logical router to the first logical router; defining a logical switch that connects to the distributed routing component of the first logical router and a logical routing component of the second logical router, the logical switch having an assigned subnet; adding a connected second route for the assigned subnet to the routing table of the distributed routing component; and adding a static third route for the assigned subnet to the routing tables of the centralized routing components of the first logical router, the static third added route having a second static route type different from the first static route type; and distributing the routing tables of the plurality of logical routing components to the plurality of managed forwarding elements, wherein the managed forwarding elements use routes in the distributed routing tables to process network traffic. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification