Centralized processing of north-south traffic for logical network in public cloud
Abstract
Some embodiments provide a method for a first data compute node (DCN) operating in a public datacenter. The method receives an encryption rule from a centralized network controller. The method determines that the network encryption rule requires encryption of packets between second and third DCNs operating in the public datacenter. The method requests a first key from a secure key storage. Upon receipt of the first key, the method uses the first key and additional parameters to generate second and third keys. The method distributes the second key to the second DCN and the third key to the third DCN in the public datacenter.
Claims
exact text as granted — not AI-modifiedWe claim:
1. A method comprising:
at a first data compute node (DCN) configured to execute a gateway first forwarding element for a logical network within a datacenter:
receiving a data packet from a second forwarding element executing on a second DCN in the datacenter, wherein (i) the data packet has a first network address associated with an application executing on the second DCN as its source address, (ii) the second forwarding element performs a first set of operations on the data packet before sending the data packet to a host computer on which the first DCN executes and (iii) a network controller distributes logical network configuration data to configure the first and second forwarding elements;
performing a second set of operations on the data packet according to a logical network configuration for the gateway first forwarding element, the second set of operations comprising translating the first network address to a second network address allocated to the logical network by an administrator of the datacenter; and
sending the data packet to a third forwarding element configured by the administrator of the datacenter, wherein (i) the network controller does not have access to the third forwarding element and other administrator-configured forwarding elements of the datacenter and (ii) the third forwarding element performs a third set of operations on the data packet before sending the data packet to a destination external to the datacenter, the third set of operations comprising translating the second network address to a public third network address.
2. The method of claim 1 , wherein:
the network controller configures the gateway first forwarding element and the second forwarding element by providing configuration data to a controller module executing on the first DCN;
the controller module configures the gateway first forwarding element executing on the first DCN according to a first subset of the provided configuration data; and
the controller module distributes a second subset of the configuration data to the second DCN to configure the second forwarding element.
3. The method of claim 1 , wherein:
the first set of operations comprises encapsulating the data packet for delivery to the gateway first forwarding element; and
the second set of operations further comprises removing the encapsulation.
4. The method of claim 3 , wherein:
the second forwarding element comprises a first bridge that connects via an internal port to the application and a second bridge that connects to a network interface of the second DCN;
the first set of operations further comprises the first bridge performing network security and logical forwarding on the data packet; and
the second bridge performs the encapsulation of the data packet.
5. The method of claim 1 , wherein:
the second forwarding element sends the data packet to the gateway first forwarding element by sending the data packet to a fourth forwarding element executing on a same first host computer as the second DCN;
the fourth forwarding element encapsulates the data packet and sends the encapsulated data packet to a fifth forwarding element executing on a same second host computer as the first DCN; and
the fifth forwarding element removes the encapsulation added by the fourth forwarding element and delivers the data packet to the gateway first forwarding element.
6. The method of claim 5 , wherein the fourth and fifth forwarding elements are configured by the administrator of the datacenter.
7. The method of claim 1 , wherein a plurality of network addresses are allocated to the logical network by the administrator of the datacenter and associated with a same interface of the first DCN.
8. The method of claim 1 , wherein:
the datacenter is a first datacenter;
the network controller operates in a second datacenter comprising forwarding elements, executing on host computers, to which the network controller has access.
9. The method of claim 1 , wherein:
the logical network is implemented within a virtual private cloud of the datacenter; and
the first and second DCNs are part of the virtual private cloud.
10. A non-transitory machine-readable medium storing a program which when executed by at least one processing unit executes a gateway first forwarding element for a logical network within a datacenter, the gateway first forwarding element executing on a first data compute node (DCN), the program comprising sets of instructions for:
receiving a data packet from a second forwarding element executing on a second DCN in the datacenter, wherein (i) the data packet has a first network address associated with an application executing on the second DCN as its source address, (ii) the second forwarding element performs a first set of operations on the data packet before sending the data packet to a host computer on which the first DCN executes and (iii) a network controller distributes logical network configuration data to configure the first and second forwarding elements;
performing a second set of operations on the data packet according to a logical network configuration for the gateway first forwarding element, the second set of operations comprising translating the first network address to a second network address allocated to the logical network by an administrator of the datacenter; and
sending the data packet to a third forwarding element configured by the administrator of the datacenter, wherein (i) the network controller does not have access to the third forwarding element and other administrator-configured forwarding elements of the datacenter and (ii) the third forwarding element performs a third set of operations on the data packet before sending the data packet to a destination external to the datacenter, the third set of operations comprising translating the second network address to a public third network address.
11. The non-transitory machine-readable medium of claim 10 , wherein:
the network controller configures the gateway first forwarding element and the second forwarding element by providing configuration data to a controller module that also executes on the first DCN;
the controller module configures the gateway first forwarding element executing on the first DCN according to a first subset of the provided configuration data; and
the controller module distributes a second subset of the configuration data to the second DCN to configure the second forwarding element.
12. The non-transitory machine-readable medium of claim 10 , wherein:
the first set of operations comprises encapsulating the data packet for delivery to the gateway first forwarding element; and
the second set of operations further comprises removing the encapsulation.
13. The non-transitory machine-readable medium of claim 12 , wherein:
the second forwarding element comprises a first bridge that connects via an internal port to the application and a second bridge that connects to a network interface of the second DCN;
the first set of operations further comprises the first bridge performing network security and logical forwarding on the data packet; and
the second bridge performs the encapsulation of the data packet.
14. The non-transitory machine-readable medium of claim 10 , wherein:
the second forwarding element sends the data packet to the gateway first forwarding element by sending the data packet to a fourth forwarding element executing on a same first host computer as the second DCN;
the fourth forwarding element encapsulates the data packet and sends the encapsulated data packet to a fifth forwarding element executing on a same second host computer as the first DCN; and
the fifth forwarding element removes the encapsulation added by the fourth forwarding element and delivers the data packet to the gateway first forwarding element.
15. The non-transitory machine-readable medium of claim 14 , wherein the fourth and fifth forwarding elements are configured by the administrator of the datacenter.
16. The non-transitory machine-readable medium of claim 10 , wherein a plurality of network addresses are allocated to the logical network by the administrator of the datacenter and associated with a same interface of the first DCN.
17. The non-transitory machine-readable medium of claim 10 , wherein:
the datacenter is a first datacenter;
the network controller operates in a second datacenter comprising forwarding elements, executing on host computers, to which the network controller has access.
18. The non-transitory machine-readable medium of claim 10 , wherein:
the logical network is implemented within a virtual private cloud of the datacenter; and
the first and second DCNs are part of the virtual private cloud.Join the waitlist — get patent alerts
Track US11792138B2 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.