BMC Management Network Interface

BMC management network interface can be configured using IPMI. By default, BMC comes up with the static network configuration.

Network configuration functions:

  • Setting DHCP/Static network mode configuration

  • Adding/setting IPv4/IPv6 configuration including IP address, gateway, netmask

  • Adding DNS servers

  • Adding NTP server

  • Setting BMC time with NTP server or system RTC

Function

Command

Description

1 Change mode to DHCP
Copy
Copied!
            

ipmitool lan set 1 ipsrc <mode>

For example:
Copy
Copied!
            

ipmitool lan set 1 ipsrc dhcp

Sets LAN channel 1 IP config mode to DHCP which corresponds to network interface eth0.
2 Add IPv4 address
Copy
Copied!
            

ipmitool lan set 1 ipaddr <IP Address>

Copy
Copied!
            

ipmitool lan set 1 defgw ipaddr <IP Address>

Copy
Copied!
            

ipmitool lan set 1 netmask <Netmask>

Adds IPv4 address, default gateway, and netmask to the network interface eth0.
3 Change mode to Static
Copy
Copied!
            

ipmitool lan set 1 ipsrc <mode>

Copy
Copied!
            

ipmitool lan set 1 ipaddr <IP Address>

Copy
Copied!
            

ipmitool lan set 1 defgw ipaddr <IP Address>

Copy
Copied!
            

ipmitool lan set 1 netmask <Netmask>

Example:
Copy
Copied!
            

ipmitool lan set 1 ipsrc static; ipmitool lan set 1 ipaddr 192.168.1.110; ipmitool lan set 1 defgw ipaddr 192.168.1.1; ipmitool lan set 1 netmask 255.255.255.0

NOTE: The above command must be run only in a single line.
Sets LAN channel 1 IP config mode to static which corresponds to LAN port 5 on the back panel.
4 Get IPv4 config
Copy
Copied!
            

ipmitool lan print 1

Gets IPv4 network config for channel 1 which corresponds to the network interface eth0.
5 Set IPv6 address
Copy
Copied!
            

ipmitool lan6 set 1 nolock static_addr 0 enable <IPv6 address> 64

Adds IPv6 address to the network interface eth0.
6 Get IPv6 config
Copy
Copied!
            

ipmitool lan6 print 1

Gets IPv6 network config for channel 1 which corresponds to the network interface eth0.
Previous User Management
Next Flash MCU from BMC
© Copyright 2024, NVIDIA. Last updated on Jan 19, 2024.