Kokil Thapa - Professional Web Developer in Nepal
Freelancer Web Developer in Nepal with 15+ Years of Experience

Kokil Thapa is an experienced full-stack web developer focused on building fast, secure, and scalable web applications. He helps businesses and individuals create SEO-friendly, user-focused digital platforms designed for long-term growth.

IPMI, iLO, and iDRAC for Remote Management

By Kokil Thapa | Last reviewed: September 2026

When SSH dies and the kernel panics, you need IPMI, iLO, and iDRAC for remote management to recover the machine without driving to a data centre. These out-of-band interfaces sit on a separate management controller that stays alive when the host OS is down. On production deployments I maintain, that separation has saved hours during disk failures, bad kernel upgrades, and firewall lockouts. This guide covers how each platform works, how to secure it, and what to do when the main network path is gone. If you run bare-metal or colocated servers alongside cloud workloads, read our Linux system administration service overview for the full operational picture.

What is IPMI, and how do iLO and iDRAC relate to it?

IPMI stands for Intelligent Platform Management Interface. It is an open standard, originally from Intel, that defines how a Baseboard Management Controller (BMC) talks to the host and to administrators. The BMC is a small computer on the motherboard. It has its own CPU, RAM, and network port. It runs even when the main server is powered off.

iLO (Integrated Lights-Out) is HPE's proprietary implementation built on IPMI concepts. iDRAC (integrated Dell Remote Access Controller) is Dell's equivalent. Both extend the baseline with richer web UIs, virtual media, and licensing tiers. Supermicro, Lenovo, and other vendors ship plain IPMI firmware or their own branded consoles.

Out-of-Band Management ArchitectureHost ServerHost CPU and RAMRuns Linux or appsHost OS NetworkSSH, HTTP, app trafficBMC (IPMI / iLO / iDRAC)Dedicated NICPower, sensors, KVMLPC busAdmin VPN or mgmt VLAN
IPMI, iLO, and iDRAC for remote management use a BMC on a separate network path from production traffic

The practical difference matters when you buy hardware. Generic IPMI often ships with a basic web UI and IPMI-over-LAN on port 623. HPE iLO 5 and iLO 6 add HTML5 remote console, firmware update workflows, and directory integration on higher licence tiers. Dell iDRAC9 and iDRAC10 offer similar features with Enterprise licences unlocking virtual media and automated inventory.

Core capabilities shared across platforms

  • Remote power on, off, cycle, and graceful shutdown
  • Serial-over-LAN and HTML5 or Java KVM console
  • Virtual media to mount ISO images for OS installs
  • Hardware sensor readings: temperature, fan speed, voltage
  • Event logs and SEL (System Event Log) for diagnostics
  • User account management on the BMC itself

None of this replaces your application layer. It sits below the OS. That is exactly why it survives when Ubuntu user management and SSH access are both broken.

How do IPMI, iLO, and iDRAC compare for remote server management?

Choosing between them is rarely a software decision. You get whatever BMC your hardware vendor ships. Still, knowing the trade-offs helps when you spec servers or audit an existing rack.

FeatureGeneric IPMIHPE iLODell iDRAC
Standard basisOpen IPMI 2.0 specIPMI plus HPE extensionsIPMI plus Dell extensions
Default web UIBasic, vendor-dependentModern HTML5 (iLO 5+)HTML5 (iDRAC9+)
Virtual mediaOften limited or absentAdvanced licenceEnterprise licence
CLI toolingipmitool, freeipmihponcfg, REST APIracadm, Redfish API
Typical mgmt portTCP 623 (IPMI), 443 (HTTPS)443 HTTPS443 HTTPS
API directionIPMI commandsRedfish on newer gensRedfish native

Redfish is a modern REST-based management standard from DMTF. Both HPE and Dell push Redfish on current generations. Legacy IPMI commands still work through compatibility layers. For automation, Redfish is cleaner than parsing IPMI hex output.

Remote Management by VendorNew bare-metal server?HPE ProLiantUse iLO 5 or iLO 6Dell PowerEdgeUse iDRAC9 or iDRAC10Supermicro / otherUse IPMI firmwareLicence tier checkEnterprise for vMediaChange defaults firstIsolate mgmt NIC on dedicated VLANNever expose BMC to public internet
Vendor hardware determines whether you use IPMI, iLO, or iDRAC—the security model is the same

How do you configure IPMI, iLO, and iDRAC on a new server?

First boot is the easiest window to set management credentials. Most servers expose a BIOS setup prompt for BMC configuration. Miss it, and you may need physical access or a factory reset jumper.

Initial setup checklist

  1. Connect the dedicated management NIC to a switch port on an isolated VLAN.
  2. Boot into BIOS or UEFI setup and locate BMC, iLO, or iDRAC settings.
  3. Assign a static IP on the management subnet or reserve a DHCP lease.
  4. Change the default password immediately. Factory defaults are well known.
  5. Disable unused protocols: disable IPMI v1.5 if only v2.0 is needed.
  6. Update BMC firmware before putting the server into production.
  7. Document the management IP, credentials location, and licence tier.

For generic IPMI from Linux on the host itself, install ipmitool and configure the channel:

sudo apt install ipmitool freeipmi-tools

ipmitool lan print 1

sudo ipmitool lan set 1 ipsrc static
sudo ipmitool lan set 1 ipaddr 10.10.99.50
sudo ipmitool lan set 1 netmask 255.255.255.0
sudo ipmitool lan set 1 defgw ipaddr 10.10.99.1

sudo ipmitool user set name 2 admin
sudo ipmitool user set password 2 'LongRandomPassw0rd!'
sudo ipmitool user enable 2
sudo ipmitool channel setaccess 1 2 callin=on ipmi=on link=on privilege=4

On HPE, use the iLO web UI or hponcfg with an XML config file. On Dell, browse to the iDRAC IP and run the first-time wizard, or use racadm setniccfg from a bootable lifecycle controller environment.

Store BMC passwords in your secrets vault, not in plain-text wiki pages. Treat them like root credentials. Our guide on secrets management with HashiCorp Vault covers patterns that apply here. Generate strong credentials with a password generator and rotate them on the same schedule as root passwords.

Network layout that works in production

Never bridge the management interface to your public-facing subnet. A common pattern I've used on colocated racks in Kathmandu and on international hosting:

  • Management VLAN (e.g. 10.10.99.0/24) reachable only via VPN or jump host
  • Firewall rules allowing admin IPs to TCP 443 and optionally UDP 623
  • DNS A record like srv01-mgmt.internal.example.com separate from production DNS
  • SNMP disabled unless you actively monitor via an internal NMS

This mirrors the isolation principles in CI/CD secrets management best practices. The BMC is a high-value target. An attacker with IPMI access owns the hardware regardless of disk encryption.

Secure Management Network TopologyAdmin laptopWireGuard or OpenVPNFirewall / routerAllow mgmt VLAN onlyMgmt switchVLAN 99 isolatedProduction VLAN — app traffic, SSH, databasesNo route from internet to BMC subnetServer 1 iLO10.10.99.11Server 2 iDRAC10.10.99.12Server 3 IPMI10.10.99.13
Place IPMI, iLO, and iDRAC interfaces on an isolated management VLAN reachable only through VPN

How do you secure IPMI, iLO, and iDRAC against attacks?

BMC interfaces have a terrible security history. Researchers have found default credentials, cipher downgrade bugs, and unauthenticated firmware uploads on multiple vendors. Shodan regularly indexes exposed IPMI ports. Treat every BMC as a root-equivalent backdoor.

Non-negotiable hardening steps

  • Change default usernames and passwords before the server touches any network.
  • Place the management NIC on a private VLAN with no default gateway to the internet.
  • Disable IPMI-over-LAN on the production-facing NIC if the board shares ports.
  • Enable TLS 1.2 or higher and replace factory self-signed certs with internal CA certs.
  • Disable anonymous authentication and cipher suite zero (IPMI v2.0 only).
  • Apply BMC firmware updates on the same cadence as OS security patches.
  • Audit BMC user accounts quarterly and remove departed staff access.

The Intel IPMI specification defines authentication modes, but firmware quality varies by vendor. Scan your management subnet with an internal vulnerability scanner. CVEs affecting iLO and iDRAC appear regularly on NVD.

For certificate management on internal CAs, see our PKI and certificate management basics article. HPE and Dell both accept uploaded certificates through their web UIs or CLI tools.

Generate unique passwords per host. Reusing one BMC password across twelve servers means one leak compromises the entire rack. This is the same principle as multi-cloud secrets management, applied at the hardware layer.

How do you recover a server using IPMI, iLO, or iDRAC when SSH fails?

This is where out-of-band management pays for itself. The scenario is familiar: a bad iptables rule, a failed glibc upgrade, or a full disk on / that prevents SSH from starting.

Step-by-step recovery workflow

  1. Connect to the BMC web UI or VPN into the management network.
  2. Check power state and the System Event Log for hardware faults first.
  3. Open the remote KVM console and watch the boot process.
  4. If the OS is hung, issue a power cycle (not just reboot) from the BMC.
  5. Boot into single-user mode or a rescue ISO via virtual media if filesystem repair is needed.
  6. Fix the issue, verify SSH on the production NIC, then close the console session.

From the command line on your admin workstation with IPMI access:

ipmitool -I lanplus -H 10.10.99.50 -U admin -P 'secret' power status
ipmitool -I lanplus -H 10.10.99.50 -U admin -P 'secret' power reset
ipmitool -I lanplus -H 10.10.99.50 -U admin -P 'secret' sol activate

Dell iDRAC equivalents via racadm:

racadm -r 10.10.99.12 -u root -p 'secret' serveraction powercycle
racadm -r 10.10.99.12 -u root -p 'secret' console view

On HPE iLO, the RESTful API or web console handles the same tasks. For scripted power operations in deployment pipelines, combine BMC calls with Laravel Envoy for remote task automation patterns on the application side.

Remote Recovery WorkflowSSH downAlert firesVPN to mgmtOpen BMC UICheck SEL logRule out HW faultOpen KVMView boot screenDecision: OS fixable or reinstall needed?Read console output, check mount errors, kernel panicsBoot rescue ISOVirtual media mountFix and rebootVerify SSH returnsDocument incident in runbook for next time
Use IPMI, iLO, or iDRAC KVM and virtual media to recover servers when SSH and production networking fail

I've used this exact path after a failed PHP-FPM config locked me out of a colocated box at 2 AM Nepal time. The production NIC was dead. The iLO interface came up fine. Virtual media booted an Ubuntu live ISO, I chrooted in, fixed the config, and rebooted. Total downtime was under twenty minutes.

Cloud VMs on AWS or similar do not expose IPMI. You use the provider's serial console or instance recovery features instead. For hybrid setups, document which machines have BMC access and which rely on cloud consoles. Our Adventure Third Pole Trek deployment runs on managed cloud, but sister legal-tech sites on shared EC2 still benefit from knowing when bare-metal BMC is the right tool.

What are common IPMI, iLO, and iDRAC mistakes to avoid?

Most BMC incidents I see are configuration errors, not hardware failures. Avoid these patterns.

Exposing management ports to the internet

Port 623 and BMC HTTPS interfaces get scanned constantly. If your hosting provider assigns a public IP to the management NIC, request a private VLAN or re-cable. Check with nmap from an external host after setup.

Shared NIC mode without understanding failover

Some boards multiplex management and production traffic on one physical port. A misconfigured switch can leak IPMI to the wrong VLAN. Prefer dedicated management ports when the hardware supports them.

Ignoring firmware updates

BMC firmware ages silently. Vendors patch critical CVEs in iLO and iDRAC releases. Schedule quarterly BMC update windows separate from OS patching. Test on one host before rolling across a cluster.

Skipping monitoring integration

Pull sensor data into your existing monitoring stack. High inlet temperature or a failed fan predicts downtime before the OS notices. Tools like Prometheus exporters for Redfish exist for Dell and HPE current generations. Pair this with log rotation and disk space management on Linux on the host side for full coverage.

No documented break-glass procedure

Write a one-page runbook: management IP, VPN steps, default recovery ISO, and who holds credentials. Store it where on-call can reach it when the wiki server itself is down. Offline copies matter.

For teams without in-house ops capacity, support and maintenance services can include BMC monitoring and firmware cadence as part of a managed hosting agreement. Pair that with domain registration and hosting when you are standing up new infrastructure.

Key Takeaways

  • IPMI is the open standard; iLO and iDRAC are vendor implementations with richer UIs and licensing tiers.
  • Always isolate the management NIC on a private VLAN reachable only via VPN or jump host.
  • Change default BMC credentials and apply firmware updates before the server goes live.
  • Use remote KVM and virtual media to recover when SSH, Docker, or the host OS is unreachable.
  • Automate power and sensor checks with ipmitool, racadm, or Redfish APIs in your runbooks.
  • Cloud VMs use provider consoles; BMC access applies to bare-metal, colocation, and dedicated servers.

People Also Ask

Can IPMI work when the server is powered off?

Yes. The BMC draws standby power from the PSU and remains online when the host is off. You can power on the server remotely, configure BIOS settings, and access the console before the OS boots. That is the core value of out-of-band management.

Is iLO the same as IPMI?

iLO implements IPMI commands and extends them with HPE-specific features. You can still use standard ipmitool against many iLO versions. Day-to-day admin usually goes through the iLO web UI or Redfish API on newer ProLiant generations.

What port does IPMI use?

IPMI-over-LAN typically uses UDP port 623. Web interfaces for iLO and iDRAC use HTTPS on port 443. Some setups also expose SSH on port 22 for CLI access. Restrict all of these to trusted admin networks only.

Do I need IPMI if I already have cloud servers?

Cloud instances do not expose IPMI, iLO, or iDRAC. You only need BMC access for physical hardware you own or colocate. Hybrid teams should document which recovery path applies to each machine to avoid confusion during incidents.

Build infrastructure you can recover from anywhere

IPMI, iLO, and iDRAC for remote management are not optional extras on bare-metal production servers. They are your last-resort recovery path when everything above the BMC layer fails. Configure them on day one, isolate them on a management VLAN, and test the console before you need it at 2 AM. If you are standing up dedicated servers for a Laravel application, eCommerce platform, or enterprise application, build BMC hardening into the provisioning checklist from the start. Need hands-on help with server provisioning, testing and optimization, or ongoing ops? Contact us to discuss your infrastructure setup. For background on how I work with production systems, see about me or browse the home page.

Frequently Asked Questions

IPMI is an open Intel standard defining how a Baseboard Management Controller talks to administrators. iLO is HPE's proprietary implementation; iDRAC is Dell's equivalent. All three are out-of-band BMC interfaces that let you power-cycle servers, open remote consoles, mount ISO images, and read hardware sensors independently of the host operating system. That separation matters when SSH dies, the kernel panics, or a firewall lockout kills your normal network path.

You rarely choose between them in software—you get whatever BMC your hardware vendor ships. Generic IPMI follows the open IPMI 2.0 spec with a basic web UI and ipmitool support on UDP port 623. HPE iLO 5 and iLO 6 add HTML5 remote console, firmware update workflows, and directory integration on higher licence tiers. Dell iDRAC9 and iDRAC10 offer similar features, with Enterprise licences unlocking virtual media and automated inventory. Both vendors push Redfish on current generations while legacy IPMI commands still work through compatibility layers.

IPMI-over-LAN typically uses UDP port 623. Web interfaces for iLO and iDRAC use HTTPS on port 443. Some setups also expose SSH on port 22 for CLI access. Restrict all of these to trusted admin networks only.

Yes. The BMC draws standby power and stays online when the host is off, letting you power on remotely, configure BIOS settings, and access the console before the OS boots.

iLO implements IPMI commands plus HPE-specific features. Standard ipmitool works against many iLO versions; day-to-day admin usually uses the iLO web UI or Redfish API on newer ProLiant generations.

A Baseboard Management Controller is a small computer on the motherboard with its own CPU, RAM, and network port. It runs independently of the main server and stays alive even when the host is powered off. IPMI defines how the BMC talks to the host and administrators. iLO and iDRAC are vendor-specific implementations with richer web UIs, virtual media options, and licensing tiers built on the same out-of-band concept. That is why recovery still works when Ubuntu and SSH are both broken.

First boot is the easiest window—miss the BIOS BMC prompt and you may need physical access or a factory reset jumper. Connect the dedicated management NIC to an isolated VLAN, assign a static IP or reserved DHCP lease, change the default password immediately, disable unused protocols like IPMI v1.5 if only v2.0 is needed, and update BMC firmware before production. On Linux hosts, install ipmitool and configure the channel with static IP and admin user settings. On HPE use the iLO web UI or hponcfg; on Dell browse to the iDRAC IP for the first-time wizard or use racadm setniccfg. Document the management IP, credentials location, and licence tier in your secrets vault.

Yes—never bridge the management interface to your public-facing subnet. A common production pattern I've used places management addresses on an isolated VLAN reachable only via VPN or jump host, with firewall rules allowing admin IPs to TCP 443 and optionally UDP 623. Use a separate DNS A record like srv01-mgmt.internal.example.com, disable SNMP unless actively monitored internally, and avoid giving the BMC a default gateway to the internet. The BMC is a high-value target: an attacker with IPMI access owns the hardware regardless of disk encryption.

Treat every BMC as a root-equivalent backdoor. Change default credentials before the server touches any network, place the management NIC on a private VLAN with no internet route, and disable IPMI-over-LAN on production-facing NICs if ports are shared. Enable TLS 1.2 or higher with internal CA certificates, disable anonymous authentication and cipher suite zero for IPMI v2.0 only, apply BMC firmware updates on the same cadence as OS patches, and audit BMC user accounts quarterly. Generate unique passwords per host—reusing one BMC password across twelve servers means one leak compromises the entire rack. Scan your management subnet with an internal vulnerability scanner because CVEs affecting iLO and iDRAC appear regularly.

Connect to the BMC web UI or VPN into the management network, check power state and the System Event Log for hardware faults first, then open remote KVM and watch the boot process. If the OS is hung, issue a power cycle from the BMC—not just a reboot. Boot into single-user mode or a rescue ISO via virtual media if filesystem repair is needed, fix the issue, verify SSH on the production NIC, then close the console. From an admin workstation, ipmitool handles power status, power reset, and sol activate; Dell racadm covers serveraction powercycle and console view; HPE iLO handles the same through its web console or RESTful API.

Cloud instances on AWS or similar do not expose IPMI, iLO, or iDRAC—you use the provider's serial console or instance recovery features instead. BMC access applies only to bare-metal, colocation, and dedicated servers you own or host physically. Hybrid teams should document which recovery path applies to each machine to avoid confusion during incidents. I've seen this matter on setups where application workloads run in managed cloud but sister sites on shared dedicated hardware still need a documented BMC break-glass path.

Generic IPMI is managed with ipmitool and freeipmi from Linux or your admin workstation—for example lan print, power status, power reset, and sol activate over lanplus. HPE iLO also supports hponcfg with XML config files and a RESTful API on newer generations. Dell iDRAC uses racadm for setniccfg, serveraction powercycle, and console view. For automation, Redfish is cleaner than parsing IPMI hex output on current Dell and HPE generations. Prometheus exporters for Redfish exist for integrating sensor data into an existing monitoring stack.

Redfish is a modern REST-based management standard from DMTF. Both HPE and Dell push Redfish on current iLO and iDRAC generations. Dell iDRAC is Redfish native; HPE iLO exposes Redfish alongside traditional IPMI tooling on newer ProLiant hardware. Legacy IPMI commands still work through compatibility layers, but for automation and scripted power operations Redfish is cleaner than parsing IPMI hex output. Tools like Prometheus exporters for Redfish exist for current Dell and HPE generations when you want sensor data in your monitoring stack.

All three platforms provide remote power on, off, cycle, and graceful shutdown; serial-over-LAN and HTML5 or Java KVM console access; virtual media to mount ISO images for OS installs; hardware sensor readings for temperature, fan speed, and voltage; event logs and System Event Log entries for diagnostics; and user account management on the BMC itself. None of this replaces your application layer—it sits below the OS. That is exactly why it survives when SSH, Docker, or the host operating system is unreachable.

Most BMC incidents are configuration errors, not hardware failures. Never expose management ports to the internet—ports 623 and BMC HTTPS get scanned constantly, and Shodan regularly indexes exposed IPMI. Avoid shared NIC mode without understanding failover, which can leak IPMI to the wrong VLAN; prefer dedicated management ports when hardware supports them. Do not skip quarterly BMC firmware updates that patch critical CVEs—test on one host before rolling across a cluster. Pull sensor data into monitoring to catch failed fans before the OS notices. Write a one-page break-glass runbook with management IP, VPN steps, recovery ISO, and credential holders, stored offline where on-call can reach it when the wiki itself is down.

Share this article

0 Comments

Leave a comment

Your email is not published. Comments appear once they have been read. Sign in to have your details filled in.

Quick Contact Options
Choose how you want to connect me: