Patent attributes
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.