Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sitedata/92b50d2f97bb6249c85b2355eafbd877 to your computer and use it in GitHub Desktop.
Save sitedata/92b50d2f97bb6249c85b2355eafbd877 to your computer and use it in GitHub Desktop.
Pull the LAN1/eth0 MAC address from SuperMicro IPMI

You can find the MAC address for LAN1/eth0 (not the BMC MAC) via the SuperMicro IPMI interface by running the following command:

$ ipmitool -U $IPMI_USER -P $IPMI_PASS -H $IPMI_HOST raw 0x30 0x21 | tail -c 18

The eth0 MAC address will be output in this format:

00 25 90 f0 be ef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment