Portal Home > Knowledgebase > Articles Database > KVM Vps IP Changed Auto
KVM Vps IP Changed Auto
Posted by ServerXY, 02-04-2016, 07:01 AM |
Hello,
I have one vps from provider, i had one main IP address and then i requested for another IP.
Now i have 2 IPs but i am facing one issue. In my cpanel whm main ip set but again and again main IP auto change and cpanel shows trial license.
I did reconfig network settings from solusvm panel when i got this IP.
Please help me what to do.
|
Posted by Savio13, 02-04-2016, 07:11 AM |
Check and see that the main IP in your solusvm panel is? is it the same is cPanel?
|
Posted by ServerXY, 02-04-2016, 07:12 AM |
yes same
|
Posted by Savio13, 02-04-2016, 07:13 AM |
Have you added A entry for the host name and with the correct IP?
|
Posted by ServerXY, 02-04-2016, 07:25 AM |
yes main host.domain.com is point to main IP
|
Posted by net, 02-04-2016, 07:46 AM |
Contact your provider so they can check it for you.
|
Posted by ServerSub, 02-04-2016, 08:17 AM |
check if your additional IP has been added with correct subnet.
|
Posted by ServerXY, 02-04-2016, 08:47 AM |
Yes it is added with eth0:0
|
Posted by ServerSub, 02-04-2016, 09:10 AM |
So is it in correct subnet?
|
Posted by ServerXY, 02-04-2016, 09:15 AM |
yes both subnet masks same.
|
Posted by HostingBig, 02-04-2016, 09:30 AM |
see what cpanel sees
curl -L http://cpanel.net/showip.cgi
lynx -dump http://cpanel.net/showip.cgi
|
Posted by MightWeb-Greg, 02-05-2016, 01:49 PM |
HostingBig is right
You may have to reassign the main IP in solusvm reconfigure network then change it back then reconfigure network again. I just faced this issue with a user and that solved it.
cpanel had me run lynx -dump http://www.cpanel.net/showip.cgi
Then I ran the following to show the primary IP according to the VPS
grep IPADDR /etc/sysconfig/network-scripts/ifcfg-eth0
|
Posted by ndelaespada, 02-05-2016, 02:36 PM |
or remove the gateway line from the ifcfg-eth0:0 file so traffic only goes out via the main IP, which is the one licensed.
|
Posted by Johnny Cache, 02-06-2016, 05:20 AM |
The SolusVM 'network reconfigure' is a little quirky, I've found. Truthfully it's easier to just manually add/up the interface than to go through the reconfigure... especially in the case of cPanel.
(likely you'll be able to ping both IPs)
Update/sync your cPanel license:
You should be able to get back into cPanel now.
Remove and re-add your IP from WHM, XXX.XXX.XXX.XXX/32.
If you've added everything correctly you can run 'ifconfig eth0:cp1' and you should see your secondary I.P. details.
Hope this helps.
|
Add to Favourites Print this Article
Also Read
Intel or AMD (Views: 701)
reseller site (Views: 733)