×

Handling reverse NAT in logical L3 routing

  • US 9,185,069 B2
  • Filed: 02/01/2013
  • Issued: 11/10/2015
  • Est. Priority Date: 08/17/2011
  • Status: Active Grant
First Claim
Patent Images

1. A non-transitory machine readable medium storing a program which when executed by at least one processing unit configures a plurality of managed forwarding elements (MFEs) to implement a logical topology that comprises a logical L3 router and at least one logical L2 switch that logically couples to a plurality of machines, the program comprising sets of instructions for:

  • for a first MFE that implements the logical topology and couples directly to a particular one of the plurality of machines, generating a first set of data records for configuring the first MFE to install a first set of flow entries that (i) implement the logical L2 switch and logical L3 router, (ii) perform source network address translation (NAT) processing on a first packet received from the particular machine and addressed to a particular destination, (iii) send, to a second MFE, the first packet with information indicating that the NAT processing has been performed on the first packet, and (iv) perform reverse source NAT processing on a second packet sent by the particular destination in response to the first packet;

    for a second MFE that implements the logical topology, generating a second set of data records for configuring the second MFE to install a second set of flow entries that (i) implement the logical L2 switch and logical L3 router for a subset of packets for which the second MFE is the initial MFE to process the packets and (ii) send the second packet, received from the particular destination in response to the first packet and for which the second MFE is the initial MFE to process the packet, to the first MFE without performing processing for the logical L3 router and the logical L2 switch on the second packet based on the information indicating that NAT processing was performed on the first packet.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×