twhiting9275

Well-Known Member
Sep 26, 2002
560
28
178
cPanel Access Level
Root Administrator
Twitter
I don't know who's responsible for this new 'feature', but it's just horrifically wrong on so very many levels.

Problem 1: Adding ip addresses (outside of initial setup)
This needs to go back to how it was. Add in the gateway, add in the netmask and you're done. No dropdown preselected gateway garbage, which NEVER WORKS

Problem 2: Removing ip addresses (must be done one at a time).
Each removal requires 5 steps. ONE of these steps can actually shut off access to cPanel until cPanel's 'partners' decide to fix the license file

#1: Click the removal link
#2: Click the trash can
#3: Confirm
#4: Rebuild the license (/usr/local/cpanel/cpkeyclt), because #3 just broke it
#5: Rebuild ip address pool

Step 4 is where the problems come in, because lo and behold if you rebuild that license file enough times, DAMN, you have no more cPanel

Come on people, this shouldn't be rocket science here. Deleting the ip addresses needs to be streamlined, and adding IP addresses shouldn't take guesswork!
 
Last edited:

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello twhiting9275,

For Problem 1, I imagine you are talking about WHM > IP Functions > Add a New IP Address area, which now includes the subnet mask in a drop down. I do agree that the dropdown is likely not ideal, because you don't appear to be able to set the subnet with the IP any longer, which is one of the ways you could set it previously. The subnet masks all end in .0 and no selection is available to add your own subnet if it doesn't have the same mask as one of the available options. I will look into any possible open cases we have about this issue.

For Problem 2, do you mean the WHM > IP Functions > Show or Delete Current IP Addresses area? If so, you click the Delete link, then click to confirm, but rebuilding the license isn't necessary unless you were editing the main IP for the machine. I removed multiple additional IPs and the license file wasn't touched:

Code:
[email protected] [~]# ls -lah /usr/local/cpanel/cpanel.lisc
-rw-r--r--. 1 root root 1.7K Mar 24 01:45 /usr/local/cpanel/cpanel.lisc
[email protected] [~]# date
Mon Mar 24 19:03:37 UTC 2014
WHM still functions and I didn't have to run "/usr/local/cpanel/cpkeyclt" command. If you are needing to run that every time you are removing an IP, please submit a ticket to us about it for us to investigate further. I cannot reproduce that issue with additional IPs, so it might be unique to your server's setup.

Thanks!