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.

Out-of-Band Management Explained

By Kokil Thapa | Last reviewed: September 2026

When SSH dies and the host will not boot, you need a path that never depends on the operating system. Out-of-Band Management Explained in plain terms means remote control through a dedicated management controller—BMC, IPMI, iLO, or iDRAC—on its own network interface. I rely on this on every production Linux box I maintain through Linux system administration work. The management plane sits below the OS. It survives kernel panics, failed upgrades, and broken firewalls that block port 22.

What is out-of-band management and how does it work?

Out-of-band (OOB) management gives you hardware-level remote access. It does not route through the server's primary network stack. A Baseboard Management Controller (BMC) chip on the motherboard runs its own firmware, CPU, and network port.

You connect to that port—or a datacenter management switch—and reach the BMC directly. From there you control power, read sensors, and attach a virtual keyboard and screen. The main OS never has to be running.

In-band access is the opposite. SSH, RDP, and HTTPS admin panels all need a healthy OS and network stack. OOB skips that requirement entirely. That difference matters at 2 a.m. when a bad apt upgrade leaves a box unresponsive.

Out-of-Band vs In-Band PathsIn-Band (OS Network)SSH, HTTPS, app trafficNeeds running kernelOut-of-Band (BMC NIC)IPMI, Redfish, KVMWorks when OS is downPhysical ServerCPU, RAM, disks, BMC chipTwo independent network paths
Out-of-Band Management Explained: the BMC path stays alive when the in-band OS network fails.

The Baseboard Management Controller

The BMC is a small computer inside your server. It monitors temperature, fan speed, and voltage. It can reset power without a physical button press. Vendors brand it differently:

  • IPMI — open standard; common on Supermicro and many white-box servers
  • HPE iLO — Integrated Lights-Out on ProLiant hardware
  • Dell iDRAC — Integrated Dell Remote Access Controller
  • Lenovo XCC — XClarity Controller on ThinkSystem racks

Modern BMCs also expose a Redfish REST API alongside legacy IPMI. Redfish uses HTTPS and JSON. IPMI often runs on UDP port 623. Both can coexist on the same controller. For deeper vendor specifics, see the companion guide on IPMI, iLO, and iDRAC remote management.

What you can do through OOB

  1. Power on, power off, or hard reset the host
  2. Open a remote KVM console and watch POST output
  3. Mount a virtual ISO for OS reinstall or rescue
  4. Read hardware event logs and sensor alerts
  5. Change boot order to recovery media
  6. Collect inventory: serial numbers, DIMM layout, disk slots

On sister sites I deploy with Deployer 7 and GitLab CI, OOB is the last resort when a release symlink swap goes wrong and SSH never comes back. The application layer is gone, but the BMC still answers.

How is out-of-band management different from in-band remote access?

In-band tools assume the stack below your session is healthy. OOB assumes it might not be. That single assumption changes how you design access, security, and recovery playbooks.

CriteriaIn-Band (SSH, VPN, Ansible)Out-of-Band (BMC, IPMI, Redfish)
Depends on OSYes — kernel and sshd requiredNo — BMC firmware only
Network pathProduction VLAN or public IPDedicated management VLAN or IPMI port
Power controlSoftware shutdown onlyHard power cycle at hardware level
Pre-OS visibilityNoneBIOS, GRUB, early boot
Typical useDaily ops, config, deploysRecovery, firmware, physical troubleshooting
Attack surfaceApp + OS exposureSeparate but highly privileged

Ansible and Terraform are in-band by nature. They push config over SSH or APIs that need a running agent. OOB fills the gap before the agent exists. You use it to install the OS, fix a broken sshd_config, or recover from a full disk that locked the system.

I treat both layers as mandatory on bare metal. In-band handles provisioning versus configuration management. OOB handles "the machine exists but nothing answers on port 22."

OOB Recovery WorkflowAlertSSH timeoutConnect BMCMgmt VLANOpen KVMSee boot errorFix or ReinstallRestore serviceCommon Fixes via OOB ConsoleDrop to single-user mode and repair fstabMount rescue ISO and fsck full root volumeRollback kernel after bad package upgrade
Typical out-of-band recovery path when in-band SSH and monitoring agents stop responding.

Which out-of-band interfaces should you configure on production Linux servers?

Start with network isolation. The BMC port should never share a flat LAN with untrusted clients. A dedicated management VLAN is the baseline. Some colocation providers offer a separate IPMI cross-connect for a monthly fee—often Rs 1,500–3,000 (~USD 11–22) per port in Kathmandu datacenters.

Initial BMC setup checklist

Before you rack the server, configure the BMC from a laptop on a direct cable or through the vendor's default IP:

  1. Change default admin credentials immediately. Factory passwords are indexed in public lists.
  2. Assign a static management IP on the BMC NIC—or DHCP reservation on the mgmt VLAN only.
  3. Disable unused protocols. If you use Redfish over HTTPS, consider disabling plain HTTP and telnet.
  4. Enable SNMP traps or syslog forwarding to your central log stack.
  5. Update BMC firmware to the vendor's current stable release.
  6. Document the management IP, MAC, and credential location in your secrets store.

On Ubuntu 24.04 hosts I run daily, the OS never manages the BMC unless you install vendor tools. The BMC is configured once at provisioning. After that, touch it only for firmware updates and credential rotation.

IPMI from the Linux CLI

If the host OS is healthy, you can query the local BMC through the IPMI kernel driver. Install freeipmi-tools or ipmitool:

sudo apt install ipmitool

# Read BMC LAN configuration
sudo ipmitool lan print 1

# Check power status
sudo ipmitool power status

# View system event log (SEL)
sudo ipmitool sel list

# Set static BMC IP (example — adjust to your mgmt subnet)
sudo ipmitool lan set 1 ipsrc static
sudo ipmitool lan set 1 ipaddr 10.99.0.50
sudo ipmitool lan set 1 netmask 255.255.255.0
sudo ipmitool lan set 1 defgw ipaddr 10.99.0.1

The IPMI specification defines these commands. Not every vendor implements every field identically. Supermicro and Dell behave slightly differently on lan print output.

Redfish for automation

Redfish suits scripted checks better than raw IPMI. A simple health probe over HTTPS:

curl -sk -u admin:'YOUR_BMC_PASSWORD' \
  https://10.99.0.50/redfish/v1/Systems/System.Embedded.1 \
  | jq '.PowerState, .Status.Health'

Integrate these probes into your monitoring stack alongside centralized log management. A rising SEL error count often precedes a disk or PSU failure days before the OS logs anything useful.

IPMI vs RedfishIPMI (Legacy)UDP 623, binary payloadsipmitool, freeipmiWide vendor supportRedfish (Modern)HTTPS JSON REST APIcurl, Terraform, AnsibleDMTF standard since 2016Recommendation for 2026Use Redfish for automation; keep IPMI for rescueDisable plain HTTP on the BMC web UI
IPMI versus Redfish: both run on the same BMC, but Redfish fits modern HTTPS automation pipelines.

How do you secure out-of-band management on Linux production servers?

A compromised BMC equals full hardware ownership. Attackers can mount ISOs, exfiltrate memory, or persist outside your OS reinstall. Treat the management plane as more sensitive than production SSH.

Network segmentation

Place BMC IPs on a VLAN with no route to the public internet. Allow access only from a bastion host or VPN endpoint. Block UDP 623 and BMC HTTPS from office Wi-Fi and guest networks.

On shared EC2-style cloud VMs, you often have no physical BMC at all. OOB is a bare-metal and colocation concern. Know which model you operate before you design runbooks.

Credential and certificate hygiene

Rotate BMC passwords on the same schedule as root passwords—quarterly at minimum. Store them in a vault, not a spreadsheet. Generate strong credentials with a password generator and record them immediately in your secrets manager.

Follow the same discipline as CI/CD secrets management and PKI certificate management. Upload a trusted TLS certificate to the BMC web interface where the vendor supports it. Disable SSLv3 and weak ciphers in the BMC firmware settings panel.

Disable risky features

  • Turn off unused virtual media if you do not need remote ISO mount
  • Restrict IPMI "cipher zero" and anonymous auth—known weaknesses
  • Enable account lockout after failed login attempts
  • Audit SEL and BMC login logs monthly
  • Apply BMC firmware patches— they fix CVEs outside the OS patch cycle

BMC firmware sits outside your normal unattended-upgrades flow. Track it explicitly in support and maintenance checklists.

OOB Security: Wrong vs RightWrongBMC on public VLANDefault ADMIN passwordHTTP without TLSRightIsolated mgmt VLANVault-stored credentialsHTTPS plus firewall allowlistReal-World GotchaShodan indexes thousands of exposed BMC interfacesScan your mgmt subnet before attackers do
Out-of-Band Management Explained must include security: an exposed BMC is a rootkit-ready backdoor.

When do you need out-of-band access during deployment and recovery?

OOB is not for daily file edits. It is for moments when the machine is unreachable through normal channels. These scenarios appear regularly in production.

Initial OS installation

Before Ubuntu or any Linux distro exists on disk, only the BMC can help. Mount the ISO virtually, set boot order to virtual CD, and walk through the installer via remote KVM. Colocation staff charge per hands-on visit—often Rs 2,000–5,000 (~USD 15–37) per incident. OOB avoids that fee entirely.

Failed kernel or initramfs update

A bad linux-image package can drop you into initramfs shell or a black screen. SSH never starts. Through OOB KVM you select the previous kernel from GRUB and boot cleanly. Then you remove the bad package and fix process and boot dependencies.

Full disk and filesystem corruption

When root fills to 100%, the OS may fail mid-write and corrupt journal metadata. In-band repair tools cannot run because nothing mounts. Boot a rescue ISO through virtual media, run fsck, and expand the volume if needed. Pair this with LVM disk management and log rotation practices to prevent recurrence.

Post-deploy SSH or firewall lockout

A mistyped ufw enable rule or bad sshd_config line locks you out. OOB console access lets you fix the file locally. I have used this on legal-tech portals and booking platforms after late-night deploys—sites like those in the Adventure Third Pole Trek portfolio where uptime directly affects revenue.

Hardware diagnosis

Intermittent crashes without OS logs often trace to failing RAM or overheating. BMC sensors and SEL entries show memory ECC errors and thermal spikes before total failure. Forward SEL events to Graylog or your SIEM alongside application logs.

For hosted VPS and shared hosting clients, OOB is usually unavailable. Document that limitation in hosting selection conversations. Bare metal or dedicated servers with BMC access cost more upfront. They save hours on every serious outage.

Integrating OOB into your runbook

Every production server record should list:

  • BMC IP and URL
  • Serial number and datacenter rack position
  • Credential reference in the vault
  • Last firmware version and patch date
  • Escalation path if BMC itself is unreachable

Test OOB access quarterly. Power-cycle a staging box through the BMC. Confirm KVM, virtual media, and SEL export all work. An untested management path is inventory fiction.

Align user access with Ubuntu user management principles—separate admin accounts, least privilege, and audit trails. The same thinking applies to BMC login roles.

Key Takeaways

  • Out-of-band management uses a BMC on a separate NIC—it works when SSH and the OS are completely down.
  • Isolate the management VLAN, rotate credentials, and disable plain HTTP on every production BMC.
  • Use IPMI (ipmitool) for quick CLI checks; use Redfish HTTPS APIs for automated health monitoring.
  • OOB is essential for bare-metal recovery, OS installs, kernel rollbacks, and hardware diagnosis—not for daily config pushes.
  • Document and test BMC access quarterly; an unreachable management plane during an outage doubles your downtime.
  • Cloud VMs usually lack OOB—choose dedicated hardware when recovery time objectives demand it.

People Also Ask

Is IPMI the same as out-of-band management?

IPMI is the most common protocol for OOB management, not the whole concept. OOB is the architecture—a separate management controller and network. IPMI is one way to talk to that controller. Modern servers also expose Redfish over HTTPS for the same hardware.

Can you use out-of-band management on cloud servers?

Most public cloud virtual machines do not expose a customer-accessible BMC. AWS EC2, DigitalOcean droplets, and similar VPS products are in-band only. Dedicated bare-metal offerings from some providers include IPMI or Redfish. Always confirm before you assume OOB exists.

What port does IPMI use?

IPMI over LAN typically uses UDP port 623 for RMCP traffic. BMC web interfaces use HTTPS on port 443. Serial-over-LAN and virtual media may use additional ports depending on the vendor. Restrict all of them to the management subnet.

How much does out-of-band management cost?

The BMC chip is built into most enterprise and many mid-range servers at no extra license fee. Costs appear as dedicated management switch ports, isolated VLAN setup, and colocation cross-connect fees—often Rs 1,500–5,000 (~USD 11–37) monthly per server in Nepal datacenters. The savings on avoided emergency hands-on visits usually exceed that quickly.

Build infrastructure you can recover without a plane ticket

Out-of-Band Management Explained comes down to one rule: never let your only remote path depend on the thing that is broken. Configure the BMC before you need it. Segment it, patch it, and test it on a schedule—not during a production outage. If you run bare-metal Linux for client applications and want OOB wired into your deploy and recovery workflow from day one, contact us or review our Linux administration services. For context on how I ship and maintain production systems, see about me and the Notary Kathmandu deployment pipeline on shared EC2 infrastructure.

Frequently Asked Questions

Out-of-band management is remote server control through a dedicated management controller on its own network interface, independent of the operating system. You can power-cycle, open a serial console, and mount ISOs even when SSH is dead.

A Baseboard Management Controller chip on the motherboard runs its own firmware, CPU, and network port. You connect to that port or a datacenter management switch and reach the BMC directly. From there you control power, read sensors, and attach a virtual keyboard and screen. The main OS never has to be running. This path stays alive when the in-band OS network fails, which is why I rely on it on every production Linux box I maintain.

The BMC is a small computer inside your server. It monitors temperature, fan speed, and voltage, and can reset power without a physical button press. Vendors brand it differently: IPMI on Supermicro and many white-box servers, HPE iLO on ProLiant, Dell iDRAC, and Lenovo XCC on ThinkSystem racks. Modern BMCs also expose a Redfish REST API alongside legacy IPMI. Both can coexist on the same controller.

IPMI is the most common protocol for OOB management, not the whole concept. OOB is the architecture—a separate management controller and network. IPMI is one way to talk to that controller.

In-band tools like SSH, RDP, and Ansible assume the OS and network stack below your session are healthy. OOB assumes they might not be. In-band depends on the kernel and sshd; OOB needs only BMC firmware. In-band offers software shutdown only, while OOB gives hard power cycling at the hardware level. In-band handles daily ops and deploys; OOB handles recovery, firmware updates, and physical troubleshooting when nothing answers on port 22.

Most public cloud virtual machines do not expose a customer-accessible BMC. AWS EC2, DigitalOcean droplets, and similar VPS products are in-band only. Dedicated bare-metal offerings from some providers include IPMI or Redfish.

IPMI over LAN typically uses UDP port 623 for RMCP traffic. BMC web interfaces use HTTPS on port 443. Serial-over-LAN and virtual media may use additional ports depending on the vendor.

The BMC chip is built into most enterprise and many mid-range servers at no extra license fee. Costs appear as dedicated management switch ports, isolated VLAN setup, and colocation cross-connect fees—often Rs 1,500–5,000 (~USD 11–37) monthly per server in Nepal datacenters. Colocation staff charge per hands-on visit—often Rs 2,000–5,000 (~USD 15–37) per incident. OOB avoids that fee entirely, and the savings on avoided emergency visits usually exceed the monthly cost quickly.

Start with network isolation. The BMC port should never share a flat LAN with untrusted clients—a dedicated management VLAN is the baseline. Before you rack the server, change default admin credentials, assign a static management IP or DHCP reservation on the mgmt VLAN only, disable unused protocols like plain HTTP and telnet, enable SNMP traps or syslog forwarding, update BMC firmware, and document the management IP and credentials in your secrets store. On Ubuntu 24.04 hosts, the OS never manages the BMC unless you install vendor tools.

A compromised BMC equals full hardware ownership. Place BMC IPs on a VLAN with no route to the public internet and allow access only from a bastion host or VPN endpoint. Block UDP 623 and BMC HTTPS from office Wi-Fi and guest networks. Rotate BMC passwords quarterly and store them in a vault. Upload trusted TLS certificates, disable SSLv3 and weak ciphers, turn off unused virtual media, restrict IPMI cipher zero and anonymous auth, enable account lockout, audit SEL and BMC login logs monthly, and apply BMC firmware patches outside your normal OS patch cycle.

OOB is not for daily file edits—it is for moments when the machine is unreachable through normal channels. Common scenarios include initial OS installation before any Linux distro exists on disk, failed kernel or initramfs updates where SSH never starts, full disk and filesystem corruption, post-deploy SSH or firewall lockout from a mistyped ufw rule or bad sshd_config, and hardware diagnosis when intermittent crashes trace to failing RAM or overheating before the OS logs anything useful.

Both run on the same BMC, but they serve different automation styles. IPMI often runs on UDP port 623 and works well for quick CLI checks through tools like ipmitool—reading LAN config, power status, and system event logs. Redfish uses HTTPS and JSON, making it better suited for scripted health probes integrated into your monitoring stack. A simple Redfish probe can return power state and health status over curl. Use IPMI for ad-hoc CLI work; use Redfish for modern HTTPS automation pipelines.

If the host OS is healthy, install ipmitool with apt and query the local BMC through the IPMI kernel driver. Use ipmitool lan print 1 to read BMC LAN configuration, ipmitool power status for power state, and ipmitool sel list for the system event log. To set a static BMC IP, use ipmitool lan set commands for ipsrc, ipaddr, netmask, and defgw ipaddr. Not every vendor implements every field identically—Supermicro and Dell behave slightly differently on lan print output.

Through OOB you can power on, power off, or hard reset the host; open a remote KVM console and watch POST output; mount a virtual ISO for OS reinstall or rescue; read hardware event logs and sensor alerts; change boot order to recovery media; and collect inventory such as serial numbers, DIMM layout, and disk slots. On sister sites I deploy with Deployer 7 and GitLab CI, OOB is the last resort when a release symlink swap goes wrong and SSH never comes back.

An untested management path is inventory fiction. Every production server record should list BMC IP, serial number, rack position, credential reference, last firmware version, and escalation path if the BMC itself is unreachable. Test OOB access quarterly: power-cycle a staging box through the BMC and confirm KVM, virtual media, and SEL export all work. An unreachable management plane during an outage doubles your downtime, so scheduled testing catches broken credentials or firmware issues before you need recovery at 2 a.m.

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: