Bypassing a load balancer in a return path of network traffic
First Claim
1. A method for forwarding load balanced network traffic, the method comprising:
- at a host computer executing a data compute node (DCN),receiving, from a load balancer, a first data message that has (i) a first address associated with the DCN as a destination address and (ii) a source address identifying a source of the first data message;
identifying a second address embedded in the first data message by the load balancer, the second address originally specified as the destination address in a header of the first data message before being replaced with the first address in a load balancing operation of the load balancer;
based on (i) the source address and the first address of the first data message and (ii) the second address embedded in the first data message, generating a table entry to use subsequently to replace, with the second address, the first address that is specified as a source address of a subsequent data message sent by the DCN to the source of the first data message; and
forwarding the first data message towards the DCN.
1 Assignment
0 Petitions
Accused Products
Abstract
Some embodiments provide a method that allows a first data compute node (DCN) to forward outgoing traffic to a second DCN directly in spite of receiving the incoming traffic from the second DCN through a load balancer. That is, the return traffic'"'"'s network path from the first DCN to the second DCN bypasses the load balancer, even though a request that initiated the return traffic is received through the load balancer. The method receives a first data message from a load balancer to be sent to a DCN. After identifying a particular address embedded in the data message by the load balancer, the method generates a table entry, based on source and destination addresses of the data message and the identified address. This entry is used for modifying a source address of a subsequent data message received from the DCN in response to the data message.
-
Citations
17 Claims
-
1. A method for forwarding load balanced network traffic, the method comprising:
at a host computer executing a data compute node (DCN), receiving, from a load balancer, a first data message that has (i) a first address associated with the DCN as a destination address and (ii) a source address identifying a source of the first data message; identifying a second address embedded in the first data message by the load balancer, the second address originally specified as the destination address in a header of the first data message before being replaced with the first address in a load balancing operation of the load balancer; based on (i) the source address and the first address of the first data message and (ii) the second address embedded in the first data message, generating a table entry to use subsequently to replace, with the second address, the first address that is specified as a source address of a subsequent data message sent by the DCN to the source of the first data message; and forwarding the first data message towards the DCN. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
11. A non-transitory machine readable medium storing a program which when executed by at a set of processing units of a host computer forwards load balanced network traffic, the processing units of the host computer further executing a data compute node (DCN), the program comprising sets of instructions for:
-
receiving, from a load balancer, a first data message that has (i) a first address associated with the DCN as a destination address and (ii) a source address identifying a source of the first data message; identifying a second address embedded in the first data message by the load balancer, the second address originally specified as the destination address in a header of the first data message before being replaced with the first address in a load balancing operation of the load balancer; based on (i) the source address and the first address of the first data message and (ii) the second address embedded in the first data message, generating a table entry to use subsequently to replace with the second address, the first address that is specified as a source address of a subsequent data message sent by the DCN to the source of the first data message; and forwarding the first data message towards the DCN. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
Specification