Configuring IPMI (Intelligent Platform Management Interface) is one of the most effective ways to get full control over dedicated servers, regardless of their operating system state. In this guide, we want to learn IPMI Setup for Dedicated Servers.
By using the server’s Baseboard Management Controller (BMC), IPMI provides access for monitoring hardware health, managing power, and performing remote recovery tasks even when the OS is down or the server is unresponsive.
A correctly configured IPMI stack is an essential part of any serious infrastructure strategy, whether you're managing infrastructure at PerLod Hosting or any other data center, where uptime, rapid response, and predictable operations matter.
This guide will teach you how to configure IPMI for hardware monitoring and remote control of dedicated servers, from initial network and user setup through to advanced features like Serial-over-LAN, virtual media, and automated monitoring.
Introduction to IPMI and Key Features
IPMI (Intelligent Platform Management Interface) is a standardized interface specification developed by Intel and supported by over 200 vendors for the management and monitoring of server hardware.
It operates independently of the operating system, CPU, and BIOS, which provides administrators with remote access even when the server is powered off or the OS has crashed.
Key Features of IPMI Include:
Remote Power Control: Power on, off, reset, and cycle servers remotely.
Hardware Monitoring: Monitor temperatures, voltages, fan speeds, and power supplies in real-time.
System Event Logging: Record and track hardware events and failures.
Serial Console Access: Access the server console through Serial-over-LAN (SOL).
Virtual Media: Mount ISO images remotely for OS installation.
Independent Operation: Functions regardless of OS state.
Understand BMC and IPMI Architecture
Before you start the IPMI setup for dedicated servers, it is recommended to understand the Baseboard Management Controller (BMC) and IPMI architecture.
The BMC is a specialized microcontroller embedded on the server motherboard that implements IPMI functionality.
BMC has:
Its own processor and memory.
Dedicated or shared network interface.
Direct access to server hardware sensors.
Independent power supply, typically 5V standby.
How IPMI Works:
Administrator connects to BMC via LAN, Serial-over-LAN, or Web UI.
BMC communicates with hardware components via the system bus.
Commands are executed at the hardware level.
BMC collects sensor data and logs events.
Information is transmitted back to the administrator.
By default, IPMI operates on UDP port 623 using the RMCP (Remote Management Control Protocol) or RMCP+ protocol for encrypted communication.
Prerequisites and Requirements for IPMI Setup for Dedicated Servers
Now that you have understood how IPMI works, you must know what you will need for IPMI setup for dedicated servers.
Hardware Requirements Include:
Server motherboard with BMC support, such as enterprise servers from Dell, HP, Supermicro, Lenovo, etc.
Network cable connected to BMC and IPMI port, which can be a dedicated or shared LAN.
IPMI firmware must be up to date.
If you need a dedicated server with IPMI pre-configured, PerLod offers the best Dedicated Server Plans, including enterprise hardware with full BMC/IPMI access, DDoS protection, and managed support, which is perfect for production infrastructure.
Software Requirements Include:
Linux server such as Ubuntu, CentOS, Rocky Linux, Debian, etc., or Windows with IPMItool available.
OpenIPMI package.
IPMItool utility version 1.8.17 or later.
Network Requirements Include:
An IP address for BMC, which can be static or DHCP.
Network connectivity between the management system and BMC.
Firewall rules allowing UDP port 623.
Step 1. Install IPMI Tool on Dedicated Linux Servers
We assume you have a dedicated Linux server.
At this point, you can start to install the IPMI tool for working with IPMI from the command line, and it must be done correctly to avoid confusing driver or device errors later.
On Ubuntu and Debian-based distros, run the commands below to update and install the IPMI tool:
Bash
sudoaptupdatesudoaptinstallipmitool-y
Verify installation by checking its version:
Bash
ipmitool-V
On CentOS, RHEL, Rocky Linux, and AlmaLinux, you can use the commands below to install the OpenIPMI and packages:
In this step, you must perform the initial configuration for IPMI, including enabling the BMC, assigning it an IP address, subnet mask, and gateway, and then saving and rebooting so the controller becomes reachable on the network.
To access IPMI Settings via BIOS:
1. Boot the server and press the appropriate key during POST:
Once your network is configured, you can access the BMC web interface. Open your desired browser and enter the BMC IP address:
Bash
http://192.168.1.100# orhttps://192.168.1.100
Default credentials depend on the vendors, including:
Supermicro: Username: ADMIN, Password: ADMIN
Dell iDRAC: Username: root, Password: Check service tag
HP iLO: Username: Administrator, Password: Check server label
Security Note: Change default passwords immediately after first login.
Step 3. IPMI Network Configuration
Network configuration is what makes your IPMI controller reachable and manageable over the network, so it needs to be accurate and predictable from the start.
First, view the current LAN configuration for channel 1 on the BMC with the command below:
Bash
sudoipmitoollanprint1
In your output, you must see something similar to this:
sudoipmitoollanset1ipsrcstatic#Set IP address source to staticsudoipmitoollanset1ipaddr192.168.1.100#Set IP addresssudoipmitoollanset1netmask255.255.255.0#Set subnet masksudoipmitoollanset1defgwipaddr192.168.1.1#Set default gatewaysudoipmitoollanprint1#Verify changes
For configuring DHCP, you can use:
Bash
sudoipmitoollanset1ipsrcdhcp#Set IP address source to DHCPsudoipmitoollanprint1#Verify DHCP assignment
Also, you can safely reset the BMC’s network stack when configurations become inconsistent or inaccessible:
Bash
sudoipmitoolmcresetcold#Reset BMC to factory defaults
Step 4. IPMI User Management and Authentication
Every remote action against the BMC is executed under a specific user and privilege level, so you must configure the user management in IPMI.
List all users on channel 1 with the command below:
4 = ADMINISTRATOR: Full access to all IPMI functions.
To disable a user, you can use the command below with the User ID:
Bash
sudoipmitooluserdisable3
To completely remove the user, set a blank name:
Bash
sudoipmitoolusersetname3""
IPMI Hardware Monitoring
At this point, you can perform IPMI hardware monitoring to list all available sensors, filter for specific types such as temperatures, voltages, and fans, and continuously monitor these readings to detect overheating, failing fans, or unstable power before they cause outages.
To view all sensors, you can use the commands below:
Bash
# Local accesssudoipmitoolsensorlist# Remote access ipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordsensorlist
Monitor Specific Sensors with the following commands:
Bash
# View only temperature sensorssudoipmitoolsensorlist|grep-itemp# View only voltage sensorssudoipmitoolsensorlist|grep-ivolt# View only fan sensorssudoipmitoolsensorlist|grep-ifan# Get specific sensor readingsudoipmitoolsensorget"CPU Temp"
List Sensor Data Repository (SDR) with the commands below:
Bash
# List all SDR entriessudoipmitoolsdrlist# List SDR entries with full detailssudoipmitoolsdrelistfull# Get specific sensor typesudoipmitoolsdrtypeTemperaturesudoipmitoolsdrtypeFansudoipmitoolsdrtypeVoltage
Display Field Replaceable Unit (FRU) Information with the commands below:
Bash
# Display FRU inventory datasudoipmitoolfruprint# Display specific FRU (0 = motherboard, 1 = other components)sudoipmitoolfruprint0sudoipmitoolfruprint1
Tip: For dedicated servers with GPUs, IPMI monitoring becomes even more critical for tracking PCIe device health and thermal management. Learn how to deploy and monitor GPU-accelerated AI workloads by checking this guide on Edge AI Deployments on Private Bare Metal Machines.
IPMI Power Management
Power management is one of the most essential capabilities that IPMI adds to a dedicated server, because it lets you recover systems remotely without relying on the operating system or physical access.
To check the current power status, you can use the following commands:
Bash
# Local accesssudoipmitoolchassispowerstatus# Remote accessipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordchassispowerstatus
Common Power Control commands include:
Bash
# Power ON the serveripmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordchassispoweron# Power OFF the server (hard power off)ipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordchassispoweroff# Soft shutdown via ACPI (graceful shutdown)ipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordchassispowersoft# Power CYCLE (turn off then on)ipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordchassispowercycle# Power RESET (hard reset, equivalent to reset button)ipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordchassispowerreset
Get detailed chassis status with the command below:
Also, you can configure the chassis power restore policy, which ensures servers behave predictably after an AC power loss:
Bash
# View power policy after AC power lossipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordchassispolicylist# Set policy to always power on after AC restoredipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordchassispolicyalways-on# Set policy to restore previous stateipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordchassispolicyprevious# Set policy to stay offipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordchassispolicyalways-off
System Event Log Management with IPMI
System Event Log (SEL) management turns the BMC into a recorder for your server, capturing every hardware event that might explain outages, performance drops, or intermittent faults.
List system events with the commands below:
Bash
# List all SEL entries (summary)sudoipmitoolsellist# List all SEL entries with extended informationsudoipmitoolselelist# Remote accessipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordsellist
View Specific SEL Entry with the following command:
Bash
# Get detailed information for SEL entry (use hex format)sudoipmitoolselget 0x1# Remote accessipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordselget 0x1
View SEL statistics and capacity with:
Bash
sudoipmitoolselinfo
Clear System Event Log with the commands below:
Bash
# Clear all SEL entries (use with caution!)sudoipmitoolselclear# Confirmation required - type 'yes'# Remote accessipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordselclear
Save SEL to File with the commands below:
Bash
# Save SEL entries to a text filesudoipmitoolsellist>sel_backup_$(date+%Y%m%d).txt# Save with extended informationsudoipmitoolselelist>sel_detailed_$(date+%Y%m%d).txt
Serial-over-LAN Console Access with IPMI
Serial-over-LAN (SOL) lets you open a plain text console to the server over the network, as if you were directly connected to its serial port.
With SOL configured, you can see POST messages, enter BIOS/UEFI, work with the bootloader, and debug the OS console even when SSH is unavailable, or the system has no working network drivers.
Prerequisites for SOL:
IPMI over LAN must be enabled.
Serial port settings configured in BIOS/UEFI.
OS console redirection is enabled when accessing the OS console.
Activate SOL console with cipher suite 17, which is recommended for security:
# View current SOL configurationipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordsolinfo# Set SOL baud rateipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordsolsetvolatile-bit-rate115.2# Enable SOLipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordsolsetenabledtrue
Virtual Media and Remote OS Installation with IPMI
Virtual Media is one of the most powerful IPMI features because it lets you attach an ISO, floppy image, or USB image from your local workstation to a remote server as if it were a physical drive plugged into the chassis.
This makes it possible to install or repair an operating system, run rescue environments, or boot diagnostic tools without ever touching the server or shipping physical media.
1. Access Virtual Media via Web Interface
Log in to BMC Web Interface:
Bash
https://192.168.1.100
Navigate to Remote Console:
Click Remote Control and Console Redirection.
Launch KVM Console (Java or HTML5).
Mount ISO Image:
In the KVM Console, select Virtual Media and Virtual Storage.
Select the CD-ROM & ISO tab.
Choose ISO File as Logical Drive Type.
Click Open Image and browse to the ISO file on the local machine.
Click Plug In to mount the ISO.
The ISO is now available to the server as a virtual CD-ROM.
Boot from Virtual Media:
Restart the server.
Press F11 or the appropriate key during POST for the boot menu.
Select the virtual CD-ROM device.
The server will boot from the mounted ISO.
2. Alternative method: Command-Line Virtual Media
Command-line virtual media mounting is vendor-specific and may require specific tools.
For Supermicro servers using SMCIPMITool, mount ISO via IPMI:
# Disable user ID 1 (often anonymous)sudoipmitooluserdisable1# Verify no blank usernames existsudoipmitooluserlist1
3. Use Strong Passwords, min 12–16 characters, max 20 characters.
4. Enable Encryption with Cipher Suite 17:
Bash
# Use cipher suite 17 (RAKP-HMAC-SHA256, HMAC-SHA256-128, AES-CBC-128)# Always specify -C 17 for remote connectionsipmitool-Ilanplus-C17-H192.168.1.100-Uadmin-Ppasswordchassisstatus
5. Disable Cipher Suite 0: Check your BMC documentation for disabling cipher 0. This typically requires BMC web interface or vendor-specific commands.
6. Network Isolation: Isolate IPMI on a dedicated management VLAN.
7. Firewall Configuration: Block the IPMI port 623 from the public internet and allow only from trusted management networks. For dedicated firewall appliances, create similar rules.
For example, allow IPMI only from the management subnet:
8. IP Access Control (BMC-Level): Configure IP whitelist in BMC web interface:
Log in to the BMC web interface.
Navigate to Configuration and IP Access Control.
Enable IP Access Control.
Add allowed IP addresses and subnets.
Set policy to Accept for trusted IPs, Reject for all others.
9. Disable Unused Services: From the BMC web interface:
Disable the Virtual Media port if not needed.
Disable VNC if not used.
Change default HTTP and HTTPS ports (optional).
Disable SNMP if not needed.
10. Regular Firmware Updates: Check the current BMC firmware version, download the latest firmware from the vendor website, and apply updates regularly.
# Specify cipher suite 3 explicitlyipmitool-Ilanplus-C3-H192.168.1.100-Uadmin-Ppasswordchassisstatus# Or try cipher suite 17 (if BMC supports it)ipmitool-Ilanplus-C17-H192.168.1.100-Uadmin-Ppasswordchassisstatus# Some older BMCs only support cipher 0 (insecure)ipmitool-Ilanplus-C0-H192.168.1.100-Uadmin-Ppasswordchassisstatus
# Specify privilege level explicitlyipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppassword-LADMINISTRATORchassisstatus# Or verify user privilege levelipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordchannelgetaccess12# Ensure privilege level is ADMINISTRATOR (4)
Issue 4: BMC Not Responding or Hung
The solution is:
Bash
# Reset BMC (cold reset)sudoipmitoolmcresetcold# Wait 2–3 minutes for BMC to restart, then testipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordchassisstatus
Issue 5: SEL Full – Cannot Log New Events
Bash
$ ipmitoolselinfo...Overflow:true
To fix this:
Bash
# Backup SEL firstipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordsellist>sel_backup.txt# Clear SELipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordselclear
Reset BMC to defaults via BIOS or hardware button.
Advanced IPMI Configuration and Automation
Advanced IPMI configuration means using the BMC for more than just basic monitoring and power control, treating it as a remote controller that can update firmware, improve reliability, and provide data to your automation tools.
1. Remote Firmware Update via IPMI: Remember that the firmware update process is vendor-specific; here is a general example:
Bash
# Check current firmware versionipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordmcinfo# Update BMC firmware using HPM (Hardware Platform Management) format# Download firmware .img file from vendor website firstipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordhpmupgradefirmware.img# Activate new firmwareipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordhpmactivate# Verify firmware version after rebootipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordmcinfo
2. Query BMC Information: Query detailed controller information and self-tests.
Bash
# Get BMC device informationipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordmcinfo# Get BMC GUIDipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordmcguid# Get BMC self-test resultsipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordmcselftest
3. Raw IPMI Commands for advanced operations:
Bash
# Syntax: ipmitool raw <netfn> <cmd> [data...]# Example: Get Device ID (NetFn=0x06, CMD=0x01)ipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordraw 0x06 0x01
Common IPMI Raw Commands include:
Get Device ID: raw 0x06 0x01
Cold Reset: raw 0x06 0x02
Get SEL Time: raw 0x0a 0x48
Warning: Raw commands can damage your system if used incorrectly.
4. IPMI Watchdog Timer: Configure the watchdog timer for automatic recovery from hangs.
Bash
# Get watchdog configurationipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordmcwatchdogget# Configure watchdog (reset action after 120 seconds)ipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordmcwatchdogset120# Disable watchdogipmitool-Ilanplus-H192.168.1.100-Uadmin-Ppasswordmcwatchdogoff
5. Automate IPMI Monitoring with Scripts: Integrate IPMI metrics with custom scripts, Zabbix, and Prometheus so hardware health becomes a key part of your observability and automation workflows.
For example, here is a temperature monitoring script:
Bash
#!/bin/bash# monitor_temp.sh - Monitor CPU temperature and send alertIPMI_HOST="192.168.1.100"IPMI_USER="admin"IPMI_PASS="password"TEMP_THRESHOLD=80EMAIL="admin@example.com"# Get CPU temperatureTEMP=$(ipmitool-Ilanplus-C17-H$IPMI_HOST-U$IPMI_USER-P$IPMI_PASSsensorget"CPU Temp"|grep"Sensor Reading"|awk'{print $4}')# Check if temperature exceeds thresholdif(( $(echo"$TEMP > $TEMP_THRESHOLD"|bc-l)));thenecho"ALERT: CPU Temperature is ${TEMP}°C (Threshold: ${TEMP_THRESHOLD}°C)"|mail-s"Temperature Alert"$EMAIL# Optionally: trigger power off or other action# ipmitool -I lanplus -C 17 -H $IPMI_HOST -U $IPMI_USER -P $IPMI_PASS chassis power softfi
# Example external script for Zabbix: /usr/lib/zabbix/externalscripts/ipmi_sensor.sh#!/bin/bashSENSOR_NAME=$1ipmitool-Ilanplus-C17-H192.168.1.100-Umonitor-Ppasswordsensorget"$SENSOR_NAME"|grep"Sensor Reading"|awk'{print $4}'
Prometheus Integration: Use exporters like ipmi_exporter to expose IPMI metrics to Prometheus and integrate into your existing observability stack.
Tip: For production environments managing multiple dedicated servers, you can integrate IPMI monitoring into automated scaling workflows. Learn how to build complete auto-scaling systems that respond to hardware metrics by visiting this guide on Dedicated Server Auto-Scaling Scripts.
Conclusion
IPMI setup for dedicated servers is a professional server management, which gives you the power to monitor, control, and recover your infrastructure regardless of the operating system’s state.
By learning the ipmitool commands and settings in this guide, you can avoid many on-site visits, automate hardware checks, and handle issues more quickly. At the same time, IPMI can be dangerous if it is not secured, so always isolate it on a protected network, use strong authentication, and keep firmware updated to prevent attackers from abusing your access.
We hope you enjoy this guide on IPMI setup for dedicated servers.
Subscribe to our X and Facebook channels to get the latest updates and articles.
No. The IPMI protocol has known vulnerabilities and should never be exposed directly to the public internet.
Yes, if you have root access to the OS. You can use ipmitool locally to reset the password without a reboot:
sudo ipmitool user set password 2 new_password
Yes, as long as the server is plugged into power and the network cable is connected.
We use cookies to run PerLod and to understand how the site is used. You can accept everything, or open Manage to turn individual categories off. Cookie policy.