[CentOS] Semi-OT: ipmitool or ipmicfg: set BMC to use NIC 2

Fri Jun 29 21:30:26 UTC 2018
mark <m.roth at 5-cent.us>

Date: Wed, 27 Jun 2018 20:45:44 -0400
From: Jonathan Billings <billings at negate.org>
> On Wed, Jun 27, 2018 at 05:14:06PM -0400, mark wrote:
>> I do see one option of "defgw macaddr" - is that supposed to be a MAC
>> external to the server, or can I use the MAC of eth1 (or whatever the
>> stupid, unrememberable name is)?
> As mentioned earlier, the BMC is a different MAC from any interface
> you might see from the OS side.  Think of it as a separate computer that
> shares a physical network port (assuming it doesnt have a dedicated port).

> Imagine what would happen if you put two devices on the network with
> the same MAC.  You don't want to do that.  defgw macaddr is for setting
> what it thnks the Default Gateway's MAC address is.
> You will need to set the IP, netmask and gateway using the appropriate
> tool (I prefer ipmitool).  keep in mind that because the device shares a
> port you most likely wont be able to use IPMI to talk over the LAN to the
> device from the OS on the same box.

It's the end of the week, and maybe I'm being dense, but I still don't get
it: how do I tell the BMC to use eth1? Do I give it eth1's MAC address as
a gateway?