Search

Chapter 22. Setting up network connection with the firmware

download PDF

To set up or enable your network connection to the BMC firmware, use the Petitboot bootloader interface. Follow these steps:

  1. Power on your server using the power button on the front of your system. Your system will power on to the Petitboot bootloader menu. This process usually takes about 1 - 2 minutes to complete, but may take 5 - 10 minutes on the first boot or after a firmware update. Do not walk away from your system! When Petitboot loads, your monitor will become active and you will need to push any key in order to interrupt the boot process.
  2. At the Petitboot bootloader main menu, select Exit to Shell.
  3. Run ipmitool lan print 1. If this command returns an IP address, verify that is correct and continue to step 4. If no IP addresses are returned, follow these steps:

    1. Set the mode to static by running this command:

      ipmitool lan set 1 ipsrc static
    2. Set your IP address by running this command:

      ipmitool lan set 1 ipaddr _ip_address_

      Where ip_address is the static IP address that you are assigning to this system.

    3. Set your netmask by running this command:

      ipmitool lan set 1 netmask _netmask_address_

      Where netmask_address is the netmask for the system.

    4. Set your gateway server by running this command:

      ipmitool lan set 1 defgw ipaddr _gateway_server_
      Where gateway_server is the gateway for this system.
    5. Confirm the IP address by running the command ipmitool lan print 1 again.

      Note

      This interface is not active until after you perform the following steps.

    6. To reset your firmware, run the following command:

      ipmitool raw 0x06 0x40.

      This command must complete before continuing the process; however, it does not return any information. To verify that this command has completed, ping your system BMC address (the same IP address used in your IPMItool command). When the ping returns successfully, continue to the next step.

      Note

      Note: If your ping does not return successfully within a reasonable amount of time (2 - 3 minutes), try these additional steps

    7. Power your system off with this command: poweroff.h.
    8. Unplug the power cords from the back of the system. Wait 30 seconds and then apply power to boot BMC.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.