Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epcim/bac32fbf30536ebc955051f946850d06 to your computer and use it in GitHub Desktop.
Save epcim/bac32fbf30536ebc955051f946850d06 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
@epcim
Copy link
Author

epcim commented May 16, 2018

ipmitool -U $IPMI_USER -P $IPMI_PASS -H $IPMI_HOST lan print | grep "MAC Address"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment