Re: How to know IPMC MAC address?

Hello Nicolas,

we checked our inventory and your IPMC should have the following MAC address programmed into the EEPROM: 80:d3:36:00:40:fc. In future we should probably give out a list of serial numbers and MAC addresses when distributing the IPMC. However whether your IPMC actually uses the pre-programmed MAC address depends on the firmware that is loaded.

BTW, you can also simply query the current MAC address via the shelf manager using ipmitool:

ipmitool -I lan -U '' -P '' -H <shmm-ipaddr> -t <ipmb-board-addr> lan print 5

cheers,

Stefan

Hello again,

BTW, the TID document used to buy the IPMCs typically contains the serial numbers and the MAC addresses, see below:

cheers,

Stefan

Dear Nicolas,

If you are using the ipmc-tester software [1], you can also run the ipmc-tester/read_id.py command, which prints out a few useful identifiers, including the MAC address as programmed in the EEPROM.

If you want to run ipmitool, you could also use the following command:

ipmitool -H <IPMC_IP_ADDR> -U "" -P "" raw 0x2e 0x4f 0x60 0x00 0x00
ipmitool -H <SHMM_IP_ADDR> -U "" -P "" -t <IPMC_ADDR> raw 0x2e 0x4f 0x60 0x00 0x00
// skip the first three bytes ("60 00 00") from the response, that is the CERN OID);
the rest shows the MAC address.

Nb, of course, this only works if you do not overwrite the EEPROM; we do not recommend to overwrite the EEPROM.

Cheers,
Ralf

[1] https://gitlab.cern.ch/ep-ese-be-xtca/ipmc-tester

Hi Stefan,

Thanks that matches what i was told for the MAC address.

Is there a way to also query whether IPMC is using DHCP or not?

Regards,
Nicolas.

----- Mail original -----

Dear Nicolas,

If you are using the ipmc-tester software [1], you can also run the ipmc-tester/read_id.py command, which prints out a few useful identifiers, including the MAC address as programmed in the EEPROM.

If you want to run ipmitool, you could also use the following command:


ipmitool -H <IPMC_IP_ADDR> -U "" -P "" raw 0x2e 0x4f 0x60 0x00 0x00

ipmitool -H <SHMM_IP_ADDR> -U "" -P "" -t <IPMC_ADDR> raw 0x2e 0x4f 0x60 0x00 0x00

// skip the first three bytes ("60 00 00") from the response, that is the CERN OID);

the rest shows the MAC address.

Nb, of course, this only works if you do not overwrite the EEPROM; we do not recommend to overwrite the EEPROM.

Cheers,
Ralf

[1] https://gitlab.cern.ch/ep-ese-be-xtca/ipmc-tester

PS: I had already sent this earlier using Discourse, but you may not have seen it. So, I am sending it again in an email. If you receive it twice, please ignore.