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

Thu Jun 28 00:45:44 UTC 2018
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.

-- 
Jonathan Billings <billings at negate.org>