Recently I’ve begun moving all customer servers and any remaining legacy infrastructure to the newest versions of CentOS7.
Surprisingly, the way CentOS7 treats IP address naming… it seems to completely bork cPanel’s ability to handle multiple IP’s! Greatttt.
Well, luckily the fix is actually quite simple.
Follow the steps below to adjust the relevant Eth system config files and then restart (after double/triple-checking everything is proper):
(source:https://documentation.cpanel.net/display/CKB/How+to+Disable+Network+Manager)
systemctl disable NetworkManager.service
(source: https://forums.cpanel.net/threads/add-multiple-ip.495581/)
add
NM_CONTROLLED=”no”
in both eth-lo and eth-ens160/eth0
Next, Rename the eth device files
rename eth-ens160 to eth0
edit the /etc/default/grub and add the following after “quiet”
net.ifnames=0 biosdevname=0
Changes to /etc/default/grub require rebuilding the grub.cfg file as follows:
# grub2-mkconfig -o /boot/grub2/grub.cfg
Assuming everything goes well….cPanel should now be able to manage the additional IP addresses on the system.