How to manually add IPs to cPanel-expired server [CENTOS 7.9?
by PWR24 from LinuxQuestions.org on (#6HK3V)
Hi, and happy New Year!
Please help I have a trouble because don't know how to manually add IPs to cPanel server without active license. The problem is most instructions use Network Manager but it's not used by cPanel.
So I have few IPs with gateway's from datacenter.
OS CentOS 7.9
I go to: /etc/sysconfig/network-scripts/
Code:-rw-r--r--. 1 root root 277 Oct 27 2021 ifcfg-eno1
-rw-r--r--. 1 root root 387 Jul 13 19:25 ifcfg-eno2
-rw-r--r--. 1 root root 285 Oct 27 2021 ifcfg-enp4s0f0
-rw-r--r--. 1 root root 285 Oct 27 2021 ifcfg-enp4s0f1
-rw-r--r--. 1 root root 254 May 22 2020 ifcfg-lo
[...]File ifcfg-eno1
Code:TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=eno1
UUID=af0a55c8-44d0-44a2-801c-b481fc2bd678
DEVICE=eno1
ONBOOT=no
File ifcfg-enp4s0f0
Code:TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=enp4s0f0
UUID=ed163125-06a0-425a-8514-3d077e54aa8c
DEVICE=enp4s0f0
ONBOOT=noSo can't find current assigned IPs to copy settings to new.
Please help I have a trouble because don't know how to manually add IPs to cPanel server without active license. The problem is most instructions use Network Manager but it's not used by cPanel.
So I have few IPs with gateway's from datacenter.
OS CentOS 7.9
I go to: /etc/sysconfig/network-scripts/
Code:-rw-r--r--. 1 root root 277 Oct 27 2021 ifcfg-eno1
-rw-r--r--. 1 root root 387 Jul 13 19:25 ifcfg-eno2
-rw-r--r--. 1 root root 285 Oct 27 2021 ifcfg-enp4s0f0
-rw-r--r--. 1 root root 285 Oct 27 2021 ifcfg-enp4s0f1
-rw-r--r--. 1 root root 254 May 22 2020 ifcfg-lo
[...]File ifcfg-eno1
Code:TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=eno1
UUID=af0a55c8-44d0-44a2-801c-b481fc2bd678
DEVICE=eno1
ONBOOT=no
File ifcfg-enp4s0f0
Code:TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=enp4s0f0
UUID=ed163125-06a0-425a-8514-3d077e54aa8c
DEVICE=enp4s0f0
ONBOOT=noSo can't find current assigned IPs to copy settings to new.