Report this

What is the reason for this report?

problem with internet connection in fresh created VPS's

Posted on November 2, 2019
MrMD

By MrMD

Hi guys. in my last server, I used virtualizor ~v3.0 and there is a little problem. when I create a new VPS the network configuration like IP and Gateway didn’t set automatically and I have to set them with VNC to fix the VPS network problem. now I working on a project to create/manage VPS’s on my servers using virtualizor API and I looking for a way to set IP and GateWay on new VPS’s but this new VPS’s haven’t any internet connection except VNC, I try to get IP and GateWay in VPS first boot from my projects API and set them in network configuration but I don’t know how to do it in this situation. I used virtualizor in VDS and centos 6 in my custom VPS template

please help me to fix this problem



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, @MrMD

When you provision the the server with the API do you specify the IP address of the server? The admin API documentation: https://www.virtualizor.com/docs/admin-api/create-vps/

I will also suggest you to check the IP Pool page: https://www.virtualizor.com/docs/admin/add-ip-pool/

The IP Pool is a collection of IPs which can be used to create VMs. You should create an IP Pool so that there are no connectivity issues within a VM you create. You can define the Netmask, Gateways for the IPs, Name Servers, etc. This guide shows you how to add an IP Pool to your node.

Looking forward to your reply.

Regards, Alex

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.