Re: Semi-OT: ipmitool or ipmicfg: set BMC to use NIC 2

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



On Tue, Jun 26, 2018 at 4:10 PM, mark <m.roth@xxxxxxxxx> wrote:

> So you're saying I should set the MAC address for the lan channel 1 to the
> MAC address of the second NIC?


No, you don't do anything to the MAC addresses on the BMC/IPMI. They
already have their own preset values. You decide which port you want to use
for IPMI from the ones it supports and set it up with various commands (or
use the BIOS/UEFI). The gist of what you are doing is just setting up an IP
address on an embedded computer. It just so happens that that embedded
computer can simultaneously communicate over the same ports as the host
computer and may also/instead have its own dedicated port.

If you give ipmitool an incomplete command it will print out the list of
further options.

ipmitool lan set
(prints a list of sub-sub-command options)

For a static IP on the second port you'd use

lan set 2 ipaddr 10.0.0.15 (whatever your desired IP is)
lan set 2 netmask 255.255.255.0 (or whatever your matching netmask should
be)
lan set 2 defgw ipaddr 10.0.0.1 (or whatever your gateway is)

If you want to use DHCP then find the MAC with

lan print 2 (or whichever channel/port number you are setting up)

Then set that MAC up in the DHCP server and set the BMC to pull DHCP with

lan set 2 ipsrc dhcp
_______________________________________________
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