DCImanager 6 assigns IP addresses to the server automatically during the operating system (OS) reinstallation. You can assign IP addresses to the server manually. The procedure of assigning IP addresses depends on the server's operating system.
Note
Be careful when changing network settings manually. If you specify incorrect data, the server’s network connection may be disrupted. In this case, remote work with the server will only be possible via BMC.
AlmaLinux
To assign an IP address:
- Connect to the server via SSH with superuser permissions.
- To assign an IPv4 addressTo assign an IPv6 address
-
Restart the NetworkManager software:
systemctl restart NetworkManager
-
Reconnect the network interface:
nmcli device disconnect <interface> && nmcli device connect <interface>
Comments to the command
CentOS
To assign an IP address:
- Connect to the server via SSH with superuser permissions.
- To assign an IPv4 addressTo assign an IPv6 address
-
Restart the network service:
systemctl restart network
Debian, Ubuntu
To assign an IP address:
- Connect to the server via SSH with superuser permissions.
-
Specify the network settings in /etc/network/interfaces:
To assign an IPv4 addressTo assign an IPv6 address -
Restart the networking service:
systemctl restart networking