1. A server, comprising: memory storing instructions; and a processor configured to execute the instructions to: identify an identifier of a virtual machine; encapsulate, with a virtual network identifier representing a virtual network to which the virtual machine belongs, a frame containing layer 2 header information which includes the identifier of the virtual machine and a field for a virtual local area network tag (VLAN-Tag) of the frame; and forward the encapsulated frame.