Cannot reserve IPs in WHM - No IPs listed under Reserve IPs but reporting 2 free IPs

g18c

Member
Jul 7, 2007
23
0
51
i am trying to stop my local servers VPN adapter IP showing up in the create new account ip combo box, but it always shows up. I cannot reserve the IP as no ip's are listed.

I tried to stop the IP from appearing by adding the ip range 10.19.0.0/255.255.255.0 under Add New IP Address in WHM (this is my VPN subnet). I then click Show IP Address Useage and 3 IPs are listed, my two public IP's and the local one of my tun device (10.19.0.1).

Clicking on Show IP address useage lists the two public IPs, but not the VPN tun adapter. WHM is reporting i have two free IPs (the 1st public ip is the main site ip, but it reports the 2nd public ip and the VPN tun adapter ip as being free). Regardless of the VPN issue (before it was even installed and setup on the box) i have never been able to reserve the 2nd ip.

I then goto the Show/Edit Reserved IPs but no ip's are listed so i cant reserve any! I have included screenshots of my issue.

I am running the latest release of cPanel/WHM as of today, version 11.6.

Thanks in advance
 

Attachments

g18c

Member
Jul 7, 2007
23
0
51
hi, does anyone have any idea on this? i know upgrading from cpanel 10 to 11 fixed some problems so i am sure this is a bug.
 
Last edited:

internethosting

Well-Known Member
Aug 18, 2003
68
0
156
same problem here on all builds (Current, release and even edge). Three different servers with at least 5 IP's free on each.

If it makes a difference they are all VPS's.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,608
79
458
cPanel Access Level
Root Administrator
When stipulating a range, try this format:

Code:
192.168.0.1-254
adjust accordingly.

Reserved IP Addresses should not be listed in /etc/ipaddrepool. Thus, verify the address does not exist in that file. Also, when using the WHM interface to add IP Addresses or Reserving an IP Address, check /usr/local/cpanel/logs/error_log for errors.
 
Last edited:

internethosting

Well-Known Member
Aug 18, 2003
68
0
156
Even if I remove the IP from that file, it is not available to add to the reserve list. :-(
I really miss this feature - but I guess it's not a big deal. I just have to create a fake domain for each IP I want to reserve.

Help is welcome is there is any more ideas.