1. A system comprising: a management server; and a plurality of information processing apparatuses, wherein the management server includes a storage control unit that transmits, to the information processing apparatuses, information indicating a logical network, to which a device capable of communicating with each of the information processing apparatuses belongs, and address information on the device belonging to the logical network, and each of the information processing apparatuses includes: a storing unit that stores therein first association information, in which address information on a device connected to a port is associated with information indicating the logical network to which the device belongs, and second association information, in which information indicating the port is associated with the information indicating the logical network to which the device connected to the port belongs; a control unit that allows the storing unit to store the first association information in which information indicating the logical network, which is transmitted from the storage control unit and to which the device capable of communicating with the information processing apparatus belongs, is associated with the address information on the device belonging to the logical network; and a transferring unit that receives data containing address information on a transmission source device, that specifies, when the address information on the transmission source device matches the address information indicated by the first association information, the logical network that is indicated by the first association information and is associated with the matched address information, that specifies, when the specified logical network matches the logical network indicated by the second association information, the port that is indicated by the second association information and is associated with the matched logical network, and that transfers the data to the specified port.