Last-hop processing for reverse direction packets
First Claim
1. For a first managed forwarding element, a method comprising:
- receiving a first packet from a second managed forwarding element via a tunnel between the first and second managed forwarding elements, the first packet comprising context information that identifies (i) that first-hop logical processing was performed by the second managed forwarding element to process the first packet through a set of logical forwarding elements of a logical network implemented by the first and second managed forwarding elements and (ii) that a first machine connected to the first managed forwarding element is a destination for the first packet;
based on the context information in the first packet, generating forwarding data for processing subsequent packets received from the first machine and having a particular destination address that corresponds to a source address of the first packet; and
using the generated forwarding data to forward a second packet, received from the first machine and having the particular destination address, to the second managed forwarding element via the tunnel without performing first-hop logical processing to process the second packet through the set of logical forwarding elements of the logical network, wherein the second managed forwarding element performs said logical processing upon receiving the second packet via the tunnel.
0 Assignments
0 Petitions
Accused Products
Abstract
Some embodiments provide a method for a first managed forwarding element that implements a logical network. The method receives a packet from a second managed forwarding element. The first packet has an initial set of characteristics defining a first connection between a source machine connected to the second managed forwarding element and a destination machine connected to the first managed forwarding element. The method determines whether a second connection exists with the initial set of characteristics between a different machine connected to a third managed forwarding element and the destination machine. When a second connection exists with the initial set of characteristics, the method modifies at least one characteristic of the packet such that the modified packet does not have the same set of characteristics. The method delivers the modified packet to the destination machine.
-
Citations
20 Claims
-
1. For a first managed forwarding element, a method comprising:
-
receiving a first packet from a second managed forwarding element via a tunnel between the first and second managed forwarding elements, the first packet comprising context information that identifies (i) that first-hop logical processing was performed by the second managed forwarding element to process the first packet through a set of logical forwarding elements of a logical network implemented by the first and second managed forwarding elements and (ii) that a first machine connected to the first managed forwarding element is a destination for the first packet; based on the context information in the first packet, generating forwarding data for processing subsequent packets received from the first machine and having a particular destination address that corresponds to a source address of the first packet; and using the generated forwarding data to forward a second packet, received from the first machine and having the particular destination address, to the second managed forwarding element via the tunnel without performing first-hop logical processing to process the second packet through the set of logical forwarding elements of the logical network, wherein the second managed forwarding element performs said logical processing upon receiving the second packet via the tunnel. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A non-transitory machine readable medium storing a first managed forwarding element for execution by at least one processing unit, the first managed forwarding element comprising sets of instructions for:
-
receiving a first packet from a second managed forwarding element via a tunnel between the first and second managed forwarding elements, the first packet comprising context information that identifies (i) that first-hop logical processing was performed by the second managed forwarding element to process the first packet through a set of logical forwarding elements of a logical network implemented by the first and second managed forwarding elements and (ii) that a first machine connected to the first managed forwarding element is a destination for the first packet; based on the context information in the first packet, generating forwarding data for processing subsequent packets received from the first machine and having a particular destination address that corresponds to a source address of the first packet; and using the generated forwarding data to forward a second packet, received from the first machine and having the particular destination address, to the second managed forwarding element via the tunnel without performing first-hop logical processing to process the second packet through the set of logical forwarding elements of the logical network, wherein the second managed forwarding element performs said logical processing upon receiving the second packet via the tunnel. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification