Configuring the BMC IP address

Dynamic Host Configuration Protocol (DHCP) is the default network setup for the BMC in the 7063-CR2 HMC. To enable your network connection, you can connect to your system and use the Petitboot bootloader interface to configure the IP address of the BMC. If you do not plan to use DHCP, you can also set up a static IP address. Alternatively, you can use the HMC GUI to enable your network connection by navigating to HMC Management > Console Settings > Change BMC/IPMI Network Settings.

Before you begin

You must connect the network cable and a VGA monitor before you access the Petitboot bootloader interface.

If you encounter any problems in accessing the Petitboot bootloader interface, see Resolving a BMC access problem.

About this task

To use the Petitboot bootloader interface to set up or enable the network interface of the BMC, complete the following steps:

Procedure

  1. Power on the server by pressing the power button on the front of the system. The system powers on to the Petitboot bootloader menu.
    Note: The boot process takes about 1 to 2 minutes to complete.
    When Petitboot loads, the monitor activates. Press any key to interrupt the boot process.
  2. At the Petitboot bootloader main menu, select Exit to Shell.
  3. Run the following command: ipmitool lan print 2. If this command returns an IP address, verify that is correct. To set a static IP address, follow these steps:
    Notes:
    • The following two LAN interfaces are available to BMC:
      • Shared interface is LAN1
      • Dedicated interface is LAN2
    • The ipmitool lan print 2 command cannot display more than one IP address. To avoid this situation, you can set the static IP address to a different subnet from the default zero configuration networking IP address.
    1. Set the mode to static by running the following command: ipmitool lan set 2 ipsrc static.
    2. Set your IP address by running the following command: ipmitool lan set 2 ipaddr ip_address, where ip_address is the static IP address that you want to assign to this system.
    3. Set your netmask by running the following command: ipmitool lan set 2 netmask netmask_address, where netmask_address is the netmask for the system.
    4. Set your gateway server by running the following command: ipmitool lan set 2 defgw ipaddr gateway_server, where gateway_server is the gateway for this system.
    5. Confirm the IP address by running the following command: ipmitool lan print 2.