Multiple levels of logical routers
First Claim
1. A managed network for implementing a logical network for a tenant, the managed network comprising:
- a first set of host machines for hosting virtual machines (VMs) for the logical network, each of the first set of host machines operating a managed forwarding element (MFE) that implements a first logical router for the tenant logical network and a second logical router to which the first logical router connects, wherein the implementation of the second logical router on the first set of host machines is for processing packets exiting the tenant logical network, wherein a packet sent from a VM of the logical network to a destination external to the logical network is processed by the MFE operating on a same host machine as the VM according to the implementations of the first logical router and the second logical router;
a second set of host machines for hosting L3 gateways for the second logical router, wherein the L3 gateways connect the tenant logical network to at least one external network, wherein each host machine of the second set of host machines further implements the first logical router for processing packets entering the tenant logical network, wherein a packet received from the external network by a specific host machine that operates an L3 gateway for the second logical router is processed by the specific host machine according to the implementations of the second logical router and the first logical router.
0 Assignments
0 Petitions
Accused Products
Abstract
Some embodiments provide a managed network for implementing a logical network for a tenant. The managed network includes a first set of host machines and a second set of host machines. The first set of host machines is for hosting virtual machines (VMs) for the logical network. Each of the first set of host machines operates a managed forwarding element that implements a first logical router for the tenant logical network and a second logical router to which the first logical router connects. The implementation of the second logical router is for processing packets entering and exiting the tenant logical network. The second set of host machines is for hosting L3 gateways for the second logical router. The L3 gateways connect the tenant logical network to at least one external network.
314 Citations
20 Claims
-
1. A managed network for implementing a logical network for a tenant, the managed network comprising:
-
a first set of host machines for hosting virtual machines (VMs) for the logical network, each of the first set of host machines operating a managed forwarding element (MFE) that implements a first logical router for the tenant logical network and a second logical router to which the first logical router connects, wherein the implementation of the second logical router on the first set of host machines is for processing packets exiting the tenant logical network, wherein a packet sent from a VM of the logical network to a destination external to the logical network is processed by the MFE operating on a same host machine as the VM according to the implementations of the first logical router and the second logical router; a second set of host machines for hosting L3 gateways for the second logical router, wherein the L3 gateways connect the tenant logical network to at least one external network, wherein each host machine of the second set of host machines further implements the first logical router for processing packets entering the tenant logical network, wherein a packet received from the external network by a specific host machine that operates an L3 gateway for the second logical router is processed by the specific host machine according to the implementations of the second logical router and the first logical router. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. For a managed forwarding element operating on a host machine, a method comprising:
-
receiving a packet from an end machine that operates on the host machine, the end machine belonging to a particular tenant logical network, the packet having a destination address located outside the tenant logical network; performing first logical router processing on the packet according to a first logical router for the tenant logical network to logically forward the packet to a second logical router to which the first logical router connects; performing second logical router processing on the packet according to the second logical router; and based on the second logical router processing, forwarding the packet to a gateway host machine that implements (i) a gateway for the second logical router to connect the tenant network to an external network and (ii) the first logical router. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A non-transitory machine readable medium storing a program which when executed by at least one processing unit of a particular host machine implements a managed forwarding element, the program comprising sets of instructions for:
-
receiving a packet from an end machine that operates on the particular host machine, the end machine belonging to a particular tenant logical network, the packet having a destination address located outside the tenant logical network; performing first logical router processing on the packet according to a first logical router for the tenant logical network to logically forward the packet to a second logical router to which the first logical router connects; performing second logical router processing on the packet according to the second logical router; and based on the second logical router processing, forwarding the packet to a gateway host machine that implements (i) a gateway for the second logical router to connect the tenant network to an external network and (ii) the first logical router. - View Dependent Claims (17, 18, 19, 20)
-
Specification