AU2016307199B2

Route configuration for logical router

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.

AU2016307199B2, drawing sheet 1
Sheet 1 of 16

Term

9.5 yearsleft in the term

Expires 1 April 2036.

  1. Priority
  2. Filed
  3. Granted
  4. Today
  5. Expires

20 claims: 10 independent, 10 dependent

  1. 1
    CLAIMS: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 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 is implemented across a plurality of physical machines that implement the logical network;identifying which of the centralized routing components require addition of a route to a corresponding routing table to implement the configuration of the static route;and adding routes for a same prefix as the configured static route to (i) each of the corresponding separate routing tables of the identified centralized routing components and (ii) the routing table of the distributed routing component.
  2. 4
    The method of any one of claims 1 to 3, wherein the static route includes a next hop address that is an address in the logical network, wherein the distributed routing component and each of the centralized routing components of the logical router are identified as requiring addition of a route to a corresponding routing table.
  3. 5
    A method for implementing a logical router in a logical network, the method comprising:for the logical router, receiving a configuration of a static route including a next hop address that is an address in the logical network, wherein the logical router comprises (i) a distributed routing component that interfaces with other logical forwarding elements and (ii) one or more centralized routing components that interface with an external physical network, wherein the distributed routing component and each of the centralized routing components have separate routing tables, wherein the distributed routing component is implemented across a plurality of physical machines that implement the logical network;2016307199 18 Feb 2020 determining that the static route should be added to the routing table of the distributed routing component and each of the centralized routing components;adding the static route as configured to the routing table of the distributed routing component;and adding routes for a same prefix as the configured static route to the routing table of each of the centralized routing components, the routes added to the routing tables of each of the centralized routing components including a next hop address of an interface of the distributed routing component to which the centralized routing components connect.
  4. 8
    A method for implementing a logical router in a logical network, the method comprising:for the logical router, receiving a configuration of a static route including a next hop address that is an address in the external physical network and no output interface is specified for the static route, wherein the logical router comprises (i) a distributed routing component that interfaces with other logical forwarding elements and (ii) one or more centralized routing components that interface with an external physical network, wherein the distributed routing component and each of the centralized routing components have separate routing tables, wherein the distributed routing component is implemented across a plurality of physical machines that implement the logical network;identifying centralized routing components with connectivity to the next hop address;adding the static route as configured to the routing table of each identified centralized routing component with connectivity to the next hop address;and based on a determination that the configured static route is not a default route, adding routes routing table of the distributed routing component, the next hop address for each route added to the routing table of the distributed routing component being an address of an interface of the centralized routing component to which the configured static route was added.
  5. 11
    The method of any one of claims 8 to 10, wherein adding a route to a particular routing table comprises adding or modifying an entry of the particular routing table.
  6. 12
    The method of any one of claims 1 to 4, wherein the method is performed by a centralized network controller that manages the logical router.
  7. 14
    The method of any one of claims 1 to 4, wherein adding a route to a particular routing table comprises adding or modifying an entry of the particular routing table.
  8. 15
    The method of any one of claims 5 to 7, wherein the configuration of the static route further comprises a prefix and an output interface.
  9. 16
    The method of any one of claims 5 to 7, wherein the method is performed by a centralized network controller that manages the logical router.
  10. 18
    The method of any one of claims 5 to 7, wherein adding a route to a particular routing table comprises adding or modifying an entry of the particular routing table.
  11. 19
    A machine readable medium storing a program which when executed by at least one of the processing units implements the method according to any one of claims 1 to 18.
  12. 20
    An electronic device comprising:a set of processing units;and a machine readable medium storing a program which when executed by at least one of the processing units implements the method according to any one of claims 1 to 18.