IP Library Granted Patent US 10,805,212
Granted Patent B2
US 10,805,212 · App. 16/290,864 · Granted Oct 13, 2020

Static route configuration for logical router

Inventors: Uday Masurekar (Palo Alto, CA); Abhishek Goliya (Pune, IN)
Assignee: NICIRA, INC.
H04L45/586H04L45/54H04L45/64H04L49/354H04L49/70H04L45/42H04L45/44H04L45/74
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,805,212
App. No.
16/290,864
Granted
Oct 13, 2020
Kind
B2
Abstract

Some embodiments provide a method for implementing a logical router in a logical network. In some embodiments, the method receives a configuration of a static route for the logical router, which includes several routing components with separate routing tables. The method identifies which of the routing components require addition of a route to a corresponding routing table to implement the configuration of the static route. The method adds the routes to the corresponding separate routing tables of the identified routing components.

Claims (46)

1. A method for implementing a logical router in a logical network, the method comprising:

receiving a configuration of a static route for the logical router, wherein the static route configuration specifies a next hop address, wherein the logical router comprises (i) a distributed routing component that interfaces with other logical forwarding elements to process data traffic internal to the logical network and (ii) one or more centralized routing components that interface with an external physical network to process data traffic between the logical network and the external physical network, wherein the distributed routing component and each of the centralized routing components have separate routing tables, wherein the distributed routing component interfaces with each of the centralized routing components;

identifying which of the routing components require addition of a route to a corresponding routing table to implement the configuration of the static route; and

adding routes for the static route to the corresponding separate routing tables of each of the identified routing components, wherein (i) a first route is added to the routing table of a first one of the routing components of the logical router, the first route specifying the next hop address of the configured static route as its next hop address, and (ii) a second route is added to the routing table of a second one of the routing components of the logical router, the second route specifying an address of an interface of the first one of the routing components of the logical router as its next hop address.

2. The method of claim 1 , wherein the configuration of the static route further specifies a prefix.

3. The method of claim 2 , wherein the configuration of the static route further specifies an output interface.

4. The method of claim 1 , wherein:

the next hop address specified in the configured static route is an address in the logical network;

the first routing component is the distributed routing component and the first route is the static route as configured;

the second routing component is a particular centralized routing component; and

the interface of the first routing component, the address of which is specified by the first route, is an interface of the distributing routing component to which the particular centralized routing component connects.

5. The method of claim 1 , wherein:

the next hop address specified in the configured static route is an address in the external physical network;

no output interface is specified for the configured static route; and

identifying which of the routing components require addition of a route to the corresponding routing table comprises identifying centralized routing components with connectivity to the next hop address.

6. The method of claim 5 , wherein the first routing component is one of the identified centralized routing components with connectivity to the next hop address and the first route is the static route as configured.

7. The method of claim 6 , wherein:

the configured static route is not a default route;

the second routing component is the distributed routing component; and

the interface of the first routing component, the address of which is specified by the first route, is an interface of the centralized routing component to which the configured static route was added.

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

9. The method of claim 8 further comprising distributing the routing tables with the added routes to local network controllers operating on physical machines that implement the distributed routing component.

10. The method of claim 1 , wherein adding a route to a particular routing table comprises adding or modifying an entry of the particular routing table.

11. A non-transitory machine readable medium storing a controller which when executed by at least one processing unit implements a logical router in a logical network, the controller comprising sets of instructions for:

receiving a configuration of a static route for the logical router, wherein the static route configuration specifies a next hop address, wherein the logical router comprises (i) a distributed routing component that interfaces with other logical forwarding elements to process data traffic internal to the logical network and (ii) one or more centralized routing components that interface with an external physical network to process data traffic between the logical network and the external physical network, wherein the distributed routing component and each of the centralized routing components have separate routing tables, wherein the distributed routing component interfaces with each of the centralized routing components;

identifying which of the routing components require addition of a route to a corresponding routing table to implement the configuration of the static route; and

adding routes for the static route to the corresponding separate routing tables of each of the identified routing components, wherein (i) a first route is added to the routing table of a first one of the routing components of the logical router, the first route specifying the next hop address of the configured static route as its next hop address, and (ii) a second route is added to the routing table of a second one of the routing components of the logical router, the second route specifying an address of an interface of the first one of the routing components of the logical router as its next hop address.

12. The non-transitory machine readable medium of claim 11 , wherein the configuration of the static route further specifies a prefix.

13. The non-transitory machine readable medium of claim 12 , wherein the configuration of the static route further specifies an output interface.

14. The non-transitory machine readable medium of claim 11 , wherein:

the next hop address specified in the configured static route is an address in the logical network;

the first routing component is the distributed routing component and the first route is the static route as configured;

the second routing component is a particular centralized routing component; and

the interface of the first routing component, the address of which is specified by the first route, is an interface of the distributing routing component to which the particular centralized routing component connects.

15. The non-transitory machine readable medium of claim 11 , wherein:

the next hop address specified in the configured static route is an address in the external physical network;

no output interface is specified for the configured static route; and

the set of instructions for identifying which of the routing components require addition of a route to the corresponding routing table comprises a set of instructions for identifying centralized routing components with connectivity to the next hop address.

16. The non-transitory machine readable medium of claim 15 , wherein the first routing component is one of the identified centralized routing components with connectivity to the next hop address and the first route is the static route.

17. The non-transitory machine readable medium of claim 16 , wherein:

the configured static route is not a default route;

the second routing component is the distributed routing component; and

the interface of the first routing component, the address of which is specified by the first route, is an interface of the centralized routing component to which the configured static route was added.

18. The non-transitory machine readable medium of claim 11 , wherein the controller is a centralized network controller that manages the logical router.

19. The non-transitory machine readable medium of claim 18 , wherein the controller further comprises a set of instructions for distributing the routing tables with the added routes to local network controllers operating on physical machines that implement the distributed routing component.

20. The non-transitory machine readable medium of claim 11 , wherein the set of instructions for adding a route to a particular routing table comprises a set of instructions for adding or modifying an entry of the particular routing table.

Assignments (1)
MERGER Recorded Jan 27, 2025
From: NICIRA, INC.
To: VMWARE LLC
Reel/Frame 070187/0487 →
Priority Claims (1)
IN 4183/CHE/2015 · Aug 11, 2015 · national
Continuity (2)
Continuation 14871968 · Sep 30, 2015
Related Publication 20190199625A1 · Jun 27, 2019
Cited By (1)
US 12,309,248