blog.ktz.me Open in urlscan Pro
188.114.97.3  Public Scan

URL: https://blog.ktz.me/restrict-asrockrack-bmc-to-ipmi-lan-port/
Submission: On October 24 via manual from US — Scanned from NL

Form analysis 0 forms found in the DOM

Text Content

Facebook icon GitHub icon LinkedIn icon LinkedIn icon YouTube icon Twitter icon
Microphone icon
ktz.
 * About
 * Technical
 * Travel

Restricting ASRock Rack BMC to dedicated IPMI_LAN port only
 * 
 * 
 * 
 * 
 * 

technical


RESTRICTING ASROCK RACK BMC TO DEDICATED IPMI_LAN PORT ONLY

During this process I came across a frustrating "bug" in the Asrock Rack BMC
implementation. No matter the settings I gave the BMC it was getting two IP
addresses. One on the IPMI_LAN port as expected in my management VLAN, and
another on eth0 which is undesirable.


 * ALEX KRETZSCHMAR
   
   Read more posts by this author.

ALEX KRETZSCHMAR

14 Feb 2023 • 2 min read

I've written before about my media server's motherboard, the ASRockRack
E3C246D4U. This week I've been performing some long overdue network upgrades
which included implementing VLANs and automating DHCP / DNS.

However, during this process I came across a frustrating "bug" in the Asrock
Rack BMC implementation. No matter the settings I gave the BMC it was getting
two IP addresses. One on the IPMI_LAN port as expected in my management VLAN,
and another on eth0 which is undesirable.


TL;DR - THE SOLUTION

The end result I was looking for a single IP on the 10.42.10.21 interface. This
was the port on the switch tagged for the management VLAN. IP2 should not exist.

My answer ended up coming from a reddit thread. I needed to run:

ipmitool raw 0x32 0x71 0x00 0x01 0x00

I then rebooted the BMC with ipmitool -H 10.42.10.21 -U admin -P hunter2 mc
reset cold and only the IPMI_LAN port grabbed an IP. Perfect.


EXTRA INFO - JUST IN CASE

I've included a bit more information here just in case it helps you. I found the
answer above worked immediately so perhaps try that first.

I attempted to disable BMC registration in the web interface for eth0 which did
not prevent it grabbing an IP. I made sure to disable bonding.

I set a static IP like so.




MORE IN TECHNICAL

 * 4KN SECTOR DISK PASSTHROUGH IN PROXMOX
   
   11 Sep 2024 – 3 min read

 * EVERYONE SHOULD HAVE A PIKVM IN THEIR DESK AREA
   
   16 Aug 2024 – 3 min read

 * READING OBFUSCATED SEAGATE SMART STATS WITH SMARTCTL
   
   13 Aug 2024 – 1 min read

See all 69 posts →
technical


USE 1 PIKVM INSTANCE TO CONTROL 4 SYSTEMS

And there we have it. One PiKVM able to control and view up to 4 systems at
once. And with the addition of a USB thumb drive to the KVM we can even boot any
ISO we want!

 * Alex Kretzschmar

Alex Kretzschmar 25 Feb 2023 • 4 min read


FULLY AUTOMATED DNS AND DHCP WITH ANSIBLE, DNSMASQ AND PIHOLE

You do like declarative configurations don't you? Good! For the longest time
I've made do with clicking through the Opnsense UI to add static IP reservations
via MAC address mapping.

 * Alex Kretzschmar

Alex Kretzschmar 10 Feb 2023 • 8 min read
ktz. © 2024
Latest Posts Ghost


undefined