--- title: "Manual IPMI Network CLI" slug: "fmadio-os-network-manual-ipmi" updated: 2025-04-21T02:22:57Z published: 2025-04-21T02:22:57Z canonical: "docs.fmad.io/fmadio-os-network-manual-ipmi" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.fmad.io/llms.txt > Use this file to discover all available pages before exploring further. # Manual IPMI Network CLI In some scenarios it can be easier to set IPMI network directly using the builtin `ipmitool` utility. ## Get Current Network Setting First is to get the currnet IPMI network configuration. On the FMADIO host system run the following command ```plaintext sudo ipmitool lan print ``` This prints out the current IPMI network setting, example output below ```plaintext fmadio@fmadio20v4-682-lite:~$ sudo ipmitool lan print IANA PEN registry open failed: No such file or directory Set in Progress         : Set Complete Auth Type Support       : NONE MD2 MD5 PASSWORD OEM Auth Type Enable        : Callback : MD5                        : User     : MD5                        : Operator : MD5                        : Admin    : MD5                        : OEM      : MD5 IP Address Source       : Static Address IP Address              : 192.168.2.183 Subnet Mask             : 255.255.255.0 MAC Address             : 74:56:3c:84:db:b8 SNMP Community String   : AMI IP Header               : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10 BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled Gratituous ARP Intrvl   : 1.0 seconds Default Gateway IP      : 192.168.2.1 Default Gateway MAC     : 00:00:00:00:00:00 Backup Gateway IP       : 0.0.0.0 Backup Gateway MAC      : 00:00:00:00:00:00 802.1q VLAN ID          : Disabled 802.1q VLAN Priority    : 0 RMCP+ Cipher Suites     : 3,17 Cipher Suite Priv Max   : XXXaXXXXXXXaXXX                        :     X=Cipher Suite Unused                        :     c=CALLBACK                        :     u=USER                        :     o=OPERATOR                        :     a=ADMIN                        :     O=OEM Bad Password Threshold  : 0 Invalid password disable: no Attempt Count Reset Int.: 0 User Lockout Interval   : 0 fmadio@fmadio20v4-682-lite:~$ ``` In the above output can see the IP address is static, IPv4 address and gateway information. ## Disable DHCP By default FMADIO systems are shipped with DHCP IPv4 address for the IPMI interface. This will show up as the following setting ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(10).png?sv=2026-02-06&spr=https&st=2026-11-13T18%3A30%3A20Z&se=2026-11-13T19%3A30%3A20Z&sr=c&sp=r&sig=gFc80HI3aCWUa%2B4XICJ2ifbkGcEwH6iQ%2B%2FDcqE61W3w%3D) To configure as static use the command below. ```plaintext sudo ipmitool lan set 1 ipsrc static ``` Example output as follows ```plaintext fmadio@fmadio20v4-682-lite:~$ sudo ipmitool lan set 1 ipsrc static IANA PEN registry open failed: No such file or directory fmadio@fmadio20v4-682-lite:~$ ``` ## IPv4 Address To set the IPv4 address use the following command. In the below example its setting to the address `192.168.2.183` ```plaintext sudo ipmitool lan set 1 ipaddr 192.168.2.183 ``` Example output below ```plaintext fmadio@fmadio20v4-682-lite:~$ sudo ipmitool lan set 1 ipaddr 192.168.2.183 IANA PEN registry open failed: No such file or directory Setting LAN IP Address to 192.168.2.183 fmadio@fmadio20v4-682-lite:~$ ``` ## IPv4 Netmask Setting the IPv4 netmask use the following command. ```plaintext sudo ipmitool lan set 1 netmask 255.255.255.0 ``` Example output below ```plaintext fmadio@fmadio20v4-682-lite:~$ sudo ipmitool lan set 1 netmask 255.255.255.0 IANA PEN registry open failed: No such file or directory Setting LAN Subnet Mask to 255.255.255.0 fmadio@fmadio20v4-682-lite:~$ ``` ## IPv4 Gateway To set the default IPv4 Gateway use the following command ```plaintext sudo ipmitool lan set 1 defgw ipaddr 192.168.2.1 ``` Example output below ```plaintext fmadio@fmadio20v4-682-lite:~$ sudo ipmitool lan set 1 defgw ipaddr 192.168.2.1 IANA PEN registry open failed: No such file or directory Setting LAN Default Gateway IP to 192.168.2.1 fmadio@fmadio20v4-682-lite:~$ ```