ARP for logical router
First Claim
1. A computing device serving as a host machine in a logical network, the computing device comprising:
- a set of processing units; and
a non-transitory machine readable medium storing a program for execution by at least one processing unit, the program comprising sets of instructions for;
executing a plurality of virtual machines that are in a plurality of different segments of the logical network;
operating a managed physical routing element (MPRE) for routing data packets between different segments of the logical network, the MPRE comprising a plurality of logical interfaces, each logical interface for receiving data packets from a different segment of the logical network, wherein each of the logical interfaces is addressable by a network layer address;
intercepting an Address Resolution Protocol (ARP) broadcast message when a network layer destination address of the message matches the network layer address of one of the logical interfaces of the MPRE; and
formulating and delivering an ARP reply based on a MAC (Media Access Control) address of the matching logical interface to the ARP broadcast message.
1 Assignment
0 Petitions
Accused Products
Abstract
Some embodiments provide a method for a computing device serving as a host machine in a logical network. The method executes several virtual machines that are in several different segments of the logical network. The method operates a managed physical routing element (MPRE) for routing data packets between different segments of the logical network. The MPRE includes several logical interfaces, each of which is for receiving data packets from a different segment of the logical network. Each of the logical interfaces is addressable by a network layer address. The method intercepts an Address Resolution Protocol (ARP) broadcast message when the destination address matches the network address of one of the logical interfaces. The method formulates an ARP reply to the ARP broadcast message.
-
Citations
20 Claims
-
1. A computing device serving as a host machine in a logical network, the computing device comprising:
-
a set of processing units; and a non-transitory machine readable medium storing a program for execution by at least one processing unit, the program comprising sets of instructions for; executing a plurality of virtual machines that are in a plurality of different segments of the logical network; operating a managed physical routing element (MPRE) for routing data packets between different segments of the logical network, the MPRE comprising a plurality of logical interfaces, each logical interface for receiving data packets from a different segment of the logical network, wherein each of the logical interfaces is addressable by a network layer address; intercepting an Address Resolution Protocol (ARP) broadcast message when a network layer destination address of the message matches the network layer address of one of the logical interfaces of the MPRE; and formulating and delivering an ARP reply based on a MAC (Media Access Control) address of the matching logical interface to the ARP broadcast message. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computing device serving as a host machine in a logical network, the computing device comprising:
-
a set of processing units; and a non-transitory machine readable medium storing a program for execution by at least one processing unit, the program comprising sets of instructions for; executing a plurality of virtual machines that are in a plurality of different segments of the logical network; operating a first managed physical routing element (MPRE) for routing data packets between different segments of the logical network, the first MPRE comprising a plurality of logical interfaces, each logical interface for receiving data packets from a different segment of the logical network, each of the logical interfaces associated with a network layer address; intercepting an Address Resolution Protocol (ARP) broadcast message that is sent by a second MPRE operating on another host machine of the logical network when a source network layer address of the message matches the associated network layer address of one of the logical interfaces of the first MPRE; and formulating an ARP reply to the ARP broadcast message. - View Dependent Claims (7, 8, 9)
-
-
10. A system comprising:
-
a plurality of host machines for hosting a plurality of virtual machines in a logical network, the logical network comprising a logical routing element (LRE) for routing data packet between virtual machines that are in different segments of the logical network, each host machine operating a local instance of the LRE as a managed physical routing element (MPRE) for performing packet routing for the virtual machines operating on the host machine; and a physical host machine that does not operate an MPRE of the LRE, wherein a particular MPRE operating on a particular host machine of the plurality of host machines is selected for performing network layer routing on data packets from the physical host machine to the virtual machines being hosted by the plurality of host machines. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A system comprising:
-
a plurality of host machines for hosting a plurality of virtual machines in a logical network, the logical network comprising a logical routing element (LRE) for routing data packets between virtual machines that are in different segments of the logical network, each host machine operating a local instance of the LRE as a managed physical routing element (MPRE) for performing packet routing for the virtual machines operating on the host machine; and a physical host machine that does not operate an MPRE of the LRE, wherein a particular MPRE on a particular host machine of the plurality of host machines is selected for responding to an address resolution protocol (ARP) message sent by the physical host machine. - View Dependent Claims (18, 19, 20)
-
Specification