Logical L3 routing with DHCP
First Claim
1. For a network controller for managing a set of hosts, a method for configuring a physical machine to provide Dynamic Host Configuration Protocol (DHCP) service, the method comprising:
- configuring a DHCP module in a first physical machine to provide DHCP service for a plurality of logical networks by providing network addresses to machines belonging to the plurality of logical networks, wherein each logical network comprises a logical router having logical ports to which the network addresses provided for the machines of the logical network map, each logical network logically connecting a set of machines operating on a plurality of host machines, wherein the set of machines of a first logical network are isolated from the sets of machines of the other logical networks;
configuring a first managed forwarding element (MFE) operating in the first physical machine to (i) forward to the DHCP module requests to obtain network addresses, received from a plurality of other MFEs, for machines of the plurality of logical networks, and (ii) forward data packets for the plurality of logical networks; and
configuring a second MFE operating in a second physical machine to (i) forward to the first MFE requests to obtain network addresses received by the second MFE from a set of machines for which the second MFE is a first-hop MFE and (ii) forward data packets received from the machines of the set of machines for which the second MFE is the first-hop MFE according to the respective logical networks of the machines from which the packets are received, wherein the set of machines for which the second MFE is the first-hop MFE comprises machines from at least two of the logical networks.
1 Assignment
0 Petitions
Accused Products
Abstract
For a network controller for managing a set of hosts, a method for configuring a host to provide a Dynamic Host Configuration Protocol (DHCP) service is described. The method configures a DHCP module in a first host to provide a DHCP service. The method configures a managed forwarding element in the first host to (1) use the DHCP module to obtain network addresses and (2) forward packets using the obtained network addresses. The method configures a second managed forwarding element in a second host to (1) use the DHCP module to obtain network addresses and (2) forward packets using the obtained network addresses.
-
Citations
22 Claims
-
1. For a network controller for managing a set of hosts, a method for configuring a physical machine to provide Dynamic Host Configuration Protocol (DHCP) service, the method comprising:
-
configuring a DHCP module in a first physical machine to provide DHCP service for a plurality of logical networks by providing network addresses to machines belonging to the plurality of logical networks, wherein each logical network comprises a logical router having logical ports to which the network addresses provided for the machines of the logical network map, each logical network logically connecting a set of machines operating on a plurality of host machines, wherein the set of machines of a first logical network are isolated from the sets of machines of the other logical networks; configuring a first managed forwarding element (MFE) operating in the first physical machine to (i) forward to the DHCP module requests to obtain network addresses, received from a plurality of other MFEs, for machines of the plurality of logical networks, and (ii) forward data packets for the plurality of logical networks; and configuring a second MFE operating in a second physical machine to (i) forward to the first MFE requests to obtain network addresses received by the second MFE from a set of machines for which the second MFE is a first-hop MFE and (ii) forward data packets received from the machines of the set of machines for which the second MFE is the first-hop MFE according to the respective logical networks of the machines from which the packets are received, wherein the set of machines for which the second MFE is the first-hop MFE comprises machines from at least two of the logical networks. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory machine readable medium storing a program which when executed by at least one processing unit manages a plurality of machines for a plurality of logical networks, each logical network comprising a set of logical forwarding elements that logically connect a plurality of machines, the program comprising sets of instructions for:
-
for each of a plurality of physical machines, configuring a local DHCP module in the physical machine to provide DHCP service for a set of machines, for which an edge managed forwarding element operating in the physical machine is a first-hop managed forwarding element, by providing network addresses to the set of machines in response to requests for the network addresses, wherein the set of machines to which a particular local DHCP module provides service comprises machines that belong to two or more of the logical networks; configuring a managed forwarding element in a particular physical machine, separate from the plurality of physical machines, as a second-level managed forwarding element that (i) processes packets for the plurality of logical networks and (ii) is not a first-hop MFE for machines of any of the logical networks; and configuring a central DHCP module in the particular physical machine to manage allocation of the network addresses to the local DHCP modules in order for the local DHCP modules to provide DHCP service to their respective sets of machines without separate local DHCP modules assigning a same network address to separate machines that belong to a same logical network. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A method for managing a plurality of machines for a plurality of logical networks, each logical network comprising a set of logical forwarding elements that logically connect a plurality of machines, the method comprising:
-
for each of a plurality of physical machines, configuring a local DHCP module in the physical machine to provide DHCP service for a set of machines, for which an edge managed forwarding element operating in the physical machine is a first-hop managed forwarding element, by providing network addresses to the set of machines in response to requests for the network addresses, wherein the set of machines to which a particular local DHCP module provides service comprises machines that belong to two or more of the logical networks; configuring a managed forwarding element in a particular physical machine, separate from the plurality of physical machines, as a second-level managed forwarding element that (i) processes packets for the plurality of logical networks and (ii) is not a first-hop MFE for machines of any of the logical networks; and configuring a central DHCP module in the particular physical machine to manage allocation of the network addresses to the local DHCP modules in order for the local DHCP modules to provide DHCP service to their respective sets of machines without separate local DHCP modules assigning a same network address to separate machines that belong to a same logical network. - View Dependent Claims (15, 16, 17)
-
-
18. A non-transitory machine readable medium storing a program which when executed by at least one processing unit configures a physical machine to provide Dynamic Host Configuration Protocol (DHCP) service, the program comprising sets of instructions for:
-
configuring a DHCP module in a first physical machine to provide DHCP service for a plurality of logical networks by providing network addresses to machines belonging to the plurality of logical networks, wherein each logical network comprises a logical router having logical ports to which the network addresses provided for the machines of the logical network map, each logical network logically connecting a set of machines operating on a plurality of host machines, wherein the set of machines of a first logical network are isolated from the sets of machines of the other logical networks; configuring a first managed forwarding element (MFE) operating in the first physical machine to (i) forward to the DHCP module requests to obtain network addresses, received from a plurality of other MFEs, for machines of the plurality of logical networks, and (ii) forward data packets for the plurality of logical networks; and configuring a second MFE operating in a second physical machine to (i) forward to the first MFE requests to obtain network addresses received by the second MFE from a set of machines for which the second MFE is a first-hop MFE and (ii) forward data packets received from the machines of the set of machines for which the second MFE is the first-hop MFE according to the respective logical networks of the machines from which the packets are received, wherein the set of machines for which the second MFE is the first-hop MFE comprises machines from at least two of the logical networks. - View Dependent Claims (19, 20, 21, 22)
-
Specification