Some content of this application is unavailable at the moment.
If this situation persist, please contact us atFeedback&Contact
1. (WO2019006042) ASSIGNMENT OF UNIQUE NETWORK ADDRESSES FOR LOGICAL NETWORK ADDRESSES
Note: Text based on automatic Optical Character Recognition processes. Please use the PDF version for legal matters

CLAIMS

We claim:

1. For a network controller that manages a plurality of logical networks implemented by a plurality of managed forwarding elements (MFEs) operating on a plurality of host machines, a method comprising:

receiving a notification from a particular MFE that an interface corresponding to a logical port of a logical forwarding element has connected to the particular MFE and has a particular logical network address;

assigning a unique physical network address to the interface, wherein each of a plurality of interfaces connected to the particular MFE is assigned a different physical network address; and

providing the assigned unique physical network address to the particular MFE for the particular MFE to convert data messages sent from the particular logical network address to have the unique physical network address.

2. The method of claim 1, wherein the interface is a virtual interface of a data compute node (DCN) operating on a same host machine as the particular MFE.

3. The method of claim 2, wherein a plurality of DCNs operate on the same host machine as the particular MFE, wherein each of the DCNs has at least one interface connected to the particular MFE, the method further comprising assigning unique physical network addresses for each of the interfaces.

4. The method of claim 3, wherein the particular logical network address is a first logical network address, the virtual interface is a first virtual interface, and the logical forwarding element is a first logical forwarding element of a first logical network, wherein a second virtual interface of a second DCN, connected to a second logical forwarding element of a second logical network, also has the particular logical network address, the method further comprising assigning different physical network addresses to the first and second virtual interfaces.

5. The method of claim 2, wherein the particular logical network address is a first logical network address and the unique physical network address is a first physical network address, wherein the DCN comprises at least a second virtual interface connected to the MFE and having a second logical network address, the method further comprising assigning a second unique physical network address to the interface.

6. The method of claim 1, wherein the particular MFE is a first MFE, the interface is a first interface, the logical port is a first logical port, the logical network address is a first logical network address, and the unique physical network address is a first physical network address, the method further comprising:

receiving a notification from a second MFE that a second interface corresponding to a second logical port of the logical forwarding element has connected to the second MFE and has a second logical network address;

assigning a second physical network address to the second interface;

providing the assigned second physical network address to the second MFE for the second MFE to convert data messages sent from the second logical network address to have the second physical network address.

7. The method of claim 6, wherein the first and second logical network addresses are in a same first subnet, wherein the first and second physical network addresses are in different second and third subnets.

8. The method of claim 1, wherein the particular MFE further converts data messages sent to the unique physical address to have the particular logical network address.

9. The method of claim 1, wherein the particular MFE is a first MFE, the method further comprising:

receiving a request from a second MFE when the second MFE has received a data message with the particular logical network address as a destination address; and

providing the unique physical network address to the second MFE for the second MFE to replace the particular logical network address with the unique physical network address as the destination address for at least a subsequent data message.

10. The method of claim 1, wherein the particular logical network address and unique physical network address are Internet Protocol (IP) addresses, the method further comprising assigning a physical media access control (MAC) address for the interface.

11. The method of claim 1, wherein the unique physical network address is assigned from a pool of physical network addresses.

12. The method of claim 1 further comprising:

receiving a notification from the particular MFE that the interface is no longer connected to the particular MFE; and

allocating the unique physical network address to a waiting pool for a period of time; and

after the period of time, allocating the unique physical network address to a pool of available physical network addresses.

13. A non-transitory machine readable medium storing a network controller program which when executed by at least one processing unit manages a plurality of logical networks implemented by a plurality of managed forwarding elements (MFEs) operating on a plurality of host machines, the network controller program comprising sets of instructions for:

receiving a notification from a particular MFE that an interface corresponding to a logical port of a logical forwarding element has connected to the particular MFE and has a particular logical network address;

assigning a unique physical network address to the interface, wherein each of a plurality of interfaces connected to the particular MFE is assigned a different physical network address; and

providing the assigned unique physical network address to the particular MFE for the particular MFE to convert data messages sent from the particular logical network address to have the unique physical network address.

14. The non-transitory machine readable medium of claim 13, wherein the interface is a virtual interface of a data compute node (DCN) operating on a same host machine as the particular MFE.

15. The non-transitory machine readable medium of claim 14, wherein a plurality of DCNs operate on the same host machine as the particular MFE, wherein each of the DCNs has at least one interface connected to the particular MFE, the network controller program further comprising a set of instructions for assigning unique physical network addresses for each of the interfaces.

16. The non-transitory machine readable medium of claim 15, wherein the particular logical network address is a first logical network address, the virtual interface is a first virtual interface, and the logical forwarding element is a first logical forwarding element of a first logical network, wherein a second virtual interface of a second DCN, connected to a second logical forwarding element of a second logical network, also has the particular logical network address, the network controller program further comprising a set of instructions for assigning different physical network addresses to the first and second virtual interfaces.

17. The non-transitory machine readable medium of claim 13, wherein the particular MFE is a first MFE, the interface is a first interface, the logical port is a first logical port, the logical network address is a first logical network address, and the unique physical network address is a first physical network address, the network controller program further comprising sets of instructions for:

receiving a notification from a second MFE that a second interface corresponding to a second logical port of the logical forwarding element has connected to the second MFE and has a second logical network address;

assigning a second physical network address to the second interface;

providing the assigned second physical network address to the second MFE for the second MFE to convert data messages sent from the second logical network address to have the second physical network address.

18. The non-transitory machine readable medium of claim 17, wherein the first and second logical network addresses are in a same first subnet, wherein the first and second physical network addresses are in different second and third subnets.

19. The non-transitory machine readable medium of claim 13, wherein the particular MFE is a first MFE, the network controller program further comprising sets of instructions for:

receiving a request from a second MFE when the second MFE has received a data message with the particular logical network address as a destination address; and

providing the unique physical network address to the second MFE for the second MFE to replace the particular logical network address with the unique physical network address as the destination address for at least a subsequent data message.

20. The non-transitory machine readable medium of claim 13, wherein the network controller program further comprises sets of instructions for:

receiving a notification from the particular MFE that the interface is no longer connected to the particular MFE; and

allocating the unique physical network address to a waiting pool for a period of time; and

after the period of time, allocating the unique physical network address to a pool of available physical network addresses.

21. A method comprising:

receiving a packet having a first logical network address as a source address and a second logical network address as a destination network address;

replacing the first and second logical network addresses with corresponding first and second physical network addresses; and

transmitting the packet having the first and second physical network addresses as source and destination network addresses without encapsulation to a physical network for delivery to the second logical network address.

22. The method of claim 21, wherein the method is performed by a managed forwarding element (MFE), wherein receiving the packet comprises receiving the packet from a virtual interface of a data compute node operating on a same host machine as the managed forwarding element.

23. The method of claim 21 further comprising performing logical network processing on the packet prior to replacing the first and second logical network addresses with the first and second physical network addresses.

24. The method of claim 21 further comprising, prior to replacing the first and second logical network addresses with the first and second physical network addresses, determining that the packet is eligible for network address replacement and transmission without encapsulation.

25. The method of claim 24, wherein the packet is only eligible for network address replacement and transmission without encapsulation if the packet is a unicast packet sent from a first logical network address to a second logical network address.

26. The method of claim 24, wherein multicast packets sent from the first logical network address require encapsulation.

27. The method of claim 24, wherein packets sent from the first logical network address to a destination network address that is not part of a same logical network require encapsulation.

28. The method of claim 21 further comprising:

determining that a protocol header field value of the packet matches one of a set of specified values; and

replacing the protocol header field value of the packet with a different value.

29. The method of claim 28, wherein the protocol header field value corresponds to a protocol that causes a physical network forwarding element to take a particular action in response to receiving the packet.

30. The method of claim 21, wherein the packet is a first packet, the method further comprising:

receiving a second packet having the second physical network address as a source address and the first physical network address as a destination address;

replacing, in the second packet, the first and second physical network addresses with the corresponding first and second logical network addresses; and

delivering the second packet to an interface that corresponds to the first logical network address.

31. The method of claim 30 further comprising:

replacing, in the second packet, a destination data link layer address with a first logical data link layer address corresponding to the interface; and

replacing, in the second packet, a source data link layer address with a second logical data link layer address.

32. The method of claim 31, wherein the second logical data link layer address corresponds to a same interface as the second logical network address.

33. The method of claim 31, wherein the second logical data link layer address corresponds to a logical interface of a logical router.

34. The method of claim 21 further comprising modifying a time to live (TTL) field value by an amount based on analysis of the physical network.

35. A non-transitory machine readable medium storing a program for execution by at least one processing unit, the program comprising sets of instructions for:

receiving a packet having a first logical network address as a source address and a second logical network address as a destination network address;

replacing the first and second logical network addresses with corresponding first and second physical network addresses; and

transmitting the packet having the first and second physical network addresses as source and destination network addresses without encapsulation to a physical network for delivery to the second logical network address.

36. The non-transitory machine readable medium of claim 35, wherein the program further comprises sets of instructions for:

performing logical network processing on the packet prior to replacing the first and second logical network addresses with the first and second physical network addresses; and modifying a time to live (TTL) field value by an amount based on analysis of the physical network.

37. The non-transitory machine readable medium of claim 35, wherein the program further comprises a set of instructions for, prior to replacing the first and second logical network addresses with the first and second physical network addresses, determining that the packet is eligible for network address replacement and transmission without encapsulation.

38. The non-transitory machine readable medium of claim 37, wherein the packet is only eligible for network address replacement and transmission without encapsulation if the packet is a unicast packet sent from a first logical network address to a second logical network address, wherein multicast packets sent from the first logical network address require

encapsulation and packets sent from the first logical network address to a destination network address that is not part of a same logical network require encapsulation.

39. The non-transitory machine readable medium of claim 35, wherein the program further comprises sets of instructions for:

determining that a protocol header field value of the packet matches one of a set of specified values; and

replacing the protocol header field value of the packet with a different value.

40. The non-transitory machine readable medium of claim 35, wherein the packet is a first packet, the program further comprising sets of instructions for:

receiving a second packet having the second physical network address as a source address and the first physical network address as a destination address;

replacing, in the second packet, the first and second physical network addresses with the corresponding first and second logical network addresses; and

delivering the second packet to an interface that corresponds to the first logical network address.