摘要 |
A method and a platform device for setting service single-board address are provided by the embodiments of the present invention. The method includes: receiving a first Internet Protocol (IP) address setting instruction in the form of Ethernet protocol; transforming the first IP address setting instruction into a second IP address setting instruction in the form of platform management interface protocol, wherein the first and second IP address setting instructions include the slot number of the slot where a service single-board is inserted and the IP address data corresponding to the slot number; transmitting the second IP address setting instruction to the service single-board corresponding to the slot number via the platform management interface network, so that the service single-board can set the IP address of the network interface card module of the service single-board according to the IP address data included in the IP address setting instruction. According to the slot number of the slot where the service single-board is inserted, the IP address setting instruction is transmitted to the service single-board via the platform management interface network in the embodiments of the present invention, thus enabling the setting function of the IP address of the service single-board, and avoiding the problem that additional cost is increased by using an external device. |