System and method for identifying communication between virtual servers
View Patent ↗A server, includes a virtual machine identifier assigning section to assign an identifier of a virtual machine operating on the server; and a network interface to transmit a packet including a Layer 2 header information which includes the identifier of the virtual machine and a first packet field for a VLAN-Tag, wherein the network interface transmits the packet to a packet encapsulate section which encapsulates a second packet field including the Layer 2 header information with a virtual network identifier representing a virtual network to which the virtual machine belongs.
1. A server, comprising:
a memory storing instructions; and
a processor configured to execute the instructions to:
assign an identifier of a virtual machine operating on the server;
transmit a packet including a Layer 2 header information which includes the identifier of the virtual machine and a first packet field for a VLAN-Tag; and
encapsulate the packet, to generate a second packet field including the Layer 2 header information, with a virtual network identifier representing a virtual network to which the virtual machine belongs.
2. The server according to claim 1 , wherein the processor is further configured to execute the instructions to:
receive the packet; and
remove the virtual network identifier from the packet.
3. A system, comprising:
a virtual network; and
a server, comprising:
a memory storing instructions; and
a processor configured to execute the instructions to:
assign an identifier of a virtual machine operating on the server, the virtual machine belonging to the virtual network;
transmit a packet including a Layer 2 header information which includes the identifier of the virtual machine and a first packet field for a VLAN-Tag; and
encapsulate the packet, to generate a second packet field including the Layer 2 header information, with a virtual network identifier representing the virtual network.
4. The system according to claim 3 , wherein the processor is further configured to execute the instructions to:
receive the packet; and
remove the virtual network identifier from the packet.
5. A method, comprising:
assigning an identifier of a virtual machine operating on a server;
transmitting a packet including a Layer 2 header information which includes the identifier of the virtual machine and a first packet field for a VLAN-Tag; and
encapsulating the packet, to generate a second packet field including the Layer 2 header information, with a virtual network identifier representing a virtual network to which the virtual machine belongs.
6. The method according to claim 5 , further comprising:
receiving the packet; and
removing the virtual network identifier from the packet.
7. A network device, comprising:
a memory storing instructions; and
a processor configured to execute the instructions to:
receive a packet including a Layer 2 header information, the Layer 2 header information including an identifier of a virtual machine operating on a server and a first packet field for a VLAN-Tag; and
encapsulate the packet, to generate a second packet field including the Layer 2 header information, with a virtual network identifier representing a virtual network to which the virtual machine belongs.
8. A method, comprising:
receiving a packet including a Layer 2 header information, the Layer 2 header information including an identifier of a virtual machine operating on a server and a first packet field for a VLAN-Tag; and
encapsulating the packet, to generate a second packet field including the Layer 2 header information, with a virtual network identifier representing a virtual network to which the virtual machine belongs.