Re: C7, ipmi, NIC2, still fighting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Jul 12, 2018 at 07:27:58PM -0500, Chris Adams wrote:
> > Default Gateway IP      : 192.168.0.100
> > Default Gateway MAC     : 00:25:90:0a:42:87
> 
> No, that does not look right.  You have configured the gateway of the
> IPMI to be the host OS side of the NIC.  You can't do that... in a lot
> of systems I've seen, the IPMI side of the NIC can't even talk to the
> host OS on the network.

>From previous emails, I gather that mark can't find the way to set
which interface the IPMI BMC uses, so he's setting the BMC's IP
settings to use one of the NICs as a gateway.  This is not how you
make that setting (it won't work) but I can see where he's coming
from.

In my experience, it's either hard-wired to a particular interface.
This should be documented, otherwise you need another computer on the 
same network or connected with a crossover cable to figure it out.

Sometimes you can set the interface that IPMI uses in the BIOS or
through 'ipmitool'. 

For Dell hardware, the ipmitool command that ships with CentOS7 has an
'ipmitool delloem lan set <mode>' which lets you choose which
interface to use.

==============================================================================
# ipmitool delloem lan set

   lan set <Mode>
      sets the NIC Selection Mode :
          on iDRAC12g OR iDRAC13g  :
              dedicated, shared with lom1, shared with lom2,shared with lom3,shared
              with lom4,shared with failover lom1,shared with failover lom2,shared
              with failover lom3,shared with failover lom4,shared with Failover all
              loms, shared with Failover None).
          on other systems :
              dedicated, shared, shared with failover lom2,
              shared with Failover all loms.
==============================================================================

If I'm using a system with a shared setup, I don't set up networking
on that interface at all.  At least with Dells, even if you set up an
IP on the interface, it can't talk to the BMC from the OS using the
shared interface.  Ping doesn't work, 'ipmitool -I lanplus' doesn't
work, http doesn't work.  You need to connect from another host.  I
have a private management network that we use for IPMI/iLO systems,
because those BMC interfaces are known to be an attack vector.

Hopefully, this is enough information to explain that you need to find
out which interface your IPMI device is using, and to use appropriate
IP settings, and to *NOT* use the IP/MAC from any OS interfaces as
your IPMI device's gateway.

-- 
Jonathan Billings <billings@xxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux