How to Add IP’s to a cPanel Based KVM Server

  • Once the IP’s have been provisioned/assigned to the server in question, log into the WHM interface on the server.
  • Once logged in, use the search bar to locate the “Add a New IP Address” option; which should be under the “IP Functions” section. This can be achieved more quickly by searching for “ip”.

 shot_161118_214120.png

  • Click on “Add a New IP Address”, which will take you to the interface that is used to add IP’s in WHM/cPanel.
  • To add an IP, simply copy the IP that you’d like to add from the clients product page in WHMCS, and paste it in the field illustrated in the image below.

shot_161118_214408.png

Please ensure to replace “1.1.1.1” with the actual IP address that needs to be added.

  • Once you’re certain the IP that has been entered is correct click the submit button.
  • You should see a confirmation, similar to the following.

shot_161118_215808.png

  • At this point the additional IP address should be added correctly, and you can repeat this process for any further IP’s that may need to be added.
  • Once you have completed adding any additional IP’s via the “Add a New IP Address” interface, you’ll then need to login to the server via SSH, and issue the following command.
  • This will ensure that the additional IP’s that were previously added are bound to device and brought online.
  • You can then confirm this by issuing the following command, which should output results similar to the image below.

shot_161118_220311.png

Take note of the “cp” prefix, as this is very important!

  • If you see the added IP’s in the output of the ifconfig command, with the “cp” prefix, then the IP’s have been added successfully.

Share:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.