Redirecting traffic in a virtual distributed router environment
First Claim
Patent Images
1. A system comprising:
- a plurality of host machines that are configured to operate a logical network comprising a logical routing element (LRE) for routing packets between different segments of the logical network, wherein each host machine executes a managed physical routing element (MPRE) that implements a local instance of the LRE, the LRE comprising a plurality of logical interfaces (LIFs), each LIF for interfacing with a different segment of the logical network and associated with a set of MPREs executing on a set of the host machines,wherein to route a packet into a particular logical network segment associated with a particular LIF, an MPRE of a first host machine (i) identifies an outbound LIF associated with the packet and (ii) when the identified outbound LIF is the particular LIF and is inactive on the first host, selects a second host machine on which the particular LIF is active from a subset of host machines on which the particular LIF is active by performing an ECMP (equal cost multi-path) operation and forwards the packet to the second host machine for the MPRE of the second host machine to identify a destination address of the packet in the particular network segment.
2 Assignments
0 Petitions
Accused Products
Abstract
A LRE (logical routing element) that have LIFs that are active in all host machines spanned by the LRE as well as LIFs that are active in only a subset of those spanned host machines is provided. A host machine having an active LIF for a particular L2 segment would perform the L3 routing operations for network traffic related to that L2 segment. A host machine having an inactive LIF for the particular L2 segment would not perform L3 routing operations for the network traffic of the L2 segment.
350 Citations
18 Claims
-
1. A system comprising:
-
a plurality of host machines that are configured to operate a logical network comprising a logical routing element (LRE) for routing packets between different segments of the logical network, wherein each host machine executes a managed physical routing element (MPRE) that implements a local instance of the LRE, the LRE comprising a plurality of logical interfaces (LIFs), each LIF for interfacing with a different segment of the logical network and associated with a set of MPREs executing on a set of the host machines, wherein to route a packet into a particular logical network segment associated with a particular LIF, an MPRE of a first host machine (i) identifies an outbound LIF associated with the packet and (ii) when the identified outbound LIF is the particular LIF and is inactive on the first host, selects a second host machine on which the particular LIF is active from a subset of host machines on which the particular LIF is active by performing an ECMP (equal cost multi-path) operation and forwards the packet to the second host machine for the MPRE of the second host machine to identify a destination address of the packet in the particular network segment. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A non-transitory machine readable medium storing a program for implementing a managed physical routing element (MPRE) on a first host machine as a local instance of a logical routing element (LRE) of a logical network that connects a plurality of host machines, the LRE comprising a plurality of logical interfaces (LIFs), each LIF for interfacing with a different segment of the logical network and associated with a set of MPREs executing on a set of the host machines, the program comprising sets of instructions for:
-
receiving a packet that is destined for a particular logical network segment; identifying an outbound LIF associated with the packet; determining that the identified outbound LIF is (i) a particular LIF associated with the particular logical network segment and (ii) is inactive on the first host; selecting a second host machine on which the particular LIF is active from a subset of host machines on which the particular LIF is active by performing an ECMP (equal cost multi-path) operation; and forwarding the packet to the second host machine for an MPRE of the second host machine to identify a destination address of the packet in the particular network segment. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A method of operating a logical network over a network virtualization infrastructure that comprises a plurality of host machines, the method comprising:
-
defining a logical routing element (LRE) spanning the plurality of host machines for routing packets between different segments of the logical network, wherein each host machine executes a managed physical routing element (MPRE) that implements a local instance of the LRE, the LRE comprising a plurality of logical interfaces (LIFs), each LIF for interfacing with a different segment of the logical network and associated with a set of MPREs executing on a set of the host machines; generating configuration data to configure an MPRE of a first host machine to route a packet into a particular logical network segment associated with a particular LIF, by (i) identifying an outbound LIF associated with the packet and (ii) when the identified outbound LIF is the particular LIF and is inactive on the first host, selecting a second host machine on which the particular LIF is active from a subset of host mcahines on which the particular LIF is active by performing an ECMP (equal cost multi-path) operation and forwarding the packet to the second host machine for the MPRE of the second host machine to identify a destination address of the packet in the particular network segment; and configuring the plurality of host machines by using the generated configuration data. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification