Changing IKVM via CLI With ipmitool

Objectives

Changing the IP configuration of the IKVM via command line interface using ipmitool.

Prerequisites

  1. Proxmox Server

Steps

Step 1: Install ipmitool

Login to Proxmox and launch the shell.

Then, update the repository by entering the command: –
apt-get update.

Afterwards, install ipmitool by using the command: –
apt-get install ipmitool.

Step 2: Change IKVM IP with ipmitool

Open the file /etc/modules and edit its content by using the command
nano /etc/modules and add the following lines

modprobe ipmi_devintf
modprobe ipmi_si

Run the following command to show the current IKVM configuration.
ipmitool lan print 1

Run the following command to set the IP configuration to static configuration.
ipmitool lan set 1 ipsrc static

Likewise, you can also set the IP configuration to dynamic configuration by using the following command.
ipmitool lan set 1 ipsrc dhcp

Afterwards, set the IP address of the IKVM by using the following command.
ipmitool lan set 1 ipaddr <ip_address>

Then, set the subnet mask of the IKVM by using the following command.
ipmitool lan set 1 netmask <subnet_mask>

Finally, set the default gateway of the IKVM by using the following command.
ipmitool lan set 1 defgw ipaddr <gateway_address>


For example: –

Updated on August 17, 2020

Was this article helpful?

Related Articles

Need Help?
Submit a ticket to us and let our professional team assists you

Support Billing Sales
Support
Billing
Sales