The man page isn't helping, nor have I been able to find examples that work. For example, the man page claims I can do ipmitool lan get active, and I try, and it says, "invaling lan command, get". Do I set the MAC address for the lan to NIC 2? Anyone have a clue - I do *not* want martians on the real network. mark
Jon Pruente
2018-Jun-26 21:06 UTC
[CentOS] Semi-OT: ipmitool or ipmicfg: set BMC to use NIC 2
On Tue, Jun 26, 2018 at 3:16 PM, mark <m.roth at 5-cent.us> wrote:> The man page isn't helping, nor have I been able to find examples that > work. > > For example, the man page claims I can do ipmitool lan get active, and I > try, and it says, "invaling lan command, get". >get isn't a recognized subcommand under lan in the ipmitool I have installed.> Do I set the MAC address for the lan to NIC 2? Anyone have a clue - I do > *not* want martians on the real network. >This will be very dependent on your motherboard and its BMC capabilities. Some can do IPMI on specific ports and not others. On the Intel S2600 series that I use they can use port 1, 2, and a dedicated RMM port, but not ports 3 and 4. You'll need to check your mobo suppport docs to see if it can even handle IPMI on the second port. If so, you just configure it with the IP setting you want for static, or configure the MAC shown by issuing 'lan print 2' in the ipmitool shell. Very often the MACs is sequential , so you can guess it by looking at the MACs of the normal ethernet ports and adding 1, 2 or whatever.
Jon Pruente
2018-Jun-26 21:09 UTC
[CentOS] Semi-OT: ipmitool or ipmicfg: set BMC to use NIC 2
On Tue, Jun 26, 2018 at 4:06 PM, Jon Pruente <jpruente at riskanalytics.com> wrote:> or configure the MAC shown by issuing 'lan print 2' in the ipmitool shell. >I should finish that sentence. ... or configure the MAC (shown by issuing 'lan print 2' in the ipmitool shell) in your DHCP server. Though, running server management IPs in DHCP isn't a great idea, because how do you access the management if the DHCP server is down?
Jon Pruente wrote:> On Tue, Jun 26, 2018 at 3:16 PM, mark <m.roth at 5-cent.us> wrote: > >> The man page isn't helping, nor have I been able to find examples that >> work. >> >> For example, the man page claims I can do ipmitool lan get active, and >> I try, and it says, "invalid lan command, get". > > get isn't a recognized subcommand under lan in the ipmitool I have > installed. > >> Do I set the MAC address for the lan to NIC 2? Anyone have a clue - I >> do *not* want martians on the real network. > > This will be very dependent on your motherboard and its BMC capabilities. > Some can do IPMI on specific ports and not others. On the Intel S2600 > series that I use they can use port 1, 2, and a dedicated RMM port, but > not ports 3 and 4. You'll need to check your mobo suppport docs to see if > it can even handle IPMI on the second port. If so, you just configure it > with the IP setting you want for static, or configure the MAC shown by > issuing 'lan print 2' in the ipmitool shell. Very often the MACs is > sequential , so you can guess it by looking at the MACs of the normal > ethernet ports and adding 1, 2 or whatever.So you're saying I should set the MAC address for the lan channel 1 to the MAC address of the second NIC? mark