Show Categories
Categories
Floating IPs are a key feature for Cloudzy VPS users. They let you move IP addresses between your servers quickly. This helps to keep your online services running without a break. You can have up to five Floating IPs for each Cloudzy account. This makes your network flexible and ready to grow. Each additional IP costs $1.5/ month and is non-refundable. When you add an extra IP to your account, there will be a one-time payment from your credit (subscription-based). You can see the details of your purchase in the invoices section of your Cloudzy panel.
Our guide will show you how to add and use Floating IPs with your Cloudzy panel. You will learn to attach these IPs to your account and virtual machines. Remember, you have to set them up yourself, and they can't be used for emailing. We will give you clear steps to follow so you can make the most of your Floating IPs.
Before you get started with Floating IPs, make sure you're ready:
Cloudzy Account Ready: First, register with Cloudzy. Then, complete any account verifications that are needed.
Active VPS: You should have a Cloudzy VPS already running. Floating IPs will be linked to these servers.
Check IP Availability: Make sure Floating IPs are available in your server's region. They vary by location.
Know the Limit: You can have up to five Floating IPs for your Cloudzy account.
Network Setup Skills: Be ready to configure your VPS network. We'll guide you on how to handle this step.
SMTP Traffic: Remember that Cloudzy Floating IPs don't support SMTP traffic. They're for other internet use cases.
Once you've got these covered, you're all set to add Floating IPs to your Cloudzy setup.
Sign In to Cloudzy: Log into your Cloudzy account and go to your main dashboard.
Go to IP Management: On your dashboard, click on IP Management on the left side.
Find 'Add New Floating IP': In the IP Management area, look for Add New Floating IP.
Choose Quantity and Region: Select how many IPs you need, from one to five, and pick the region that matches your VPS's location.
Click 'ADD NEW IP': After choosing, hit the ADD NEW IP button.
Confirm Your Order: A box will pop up asking you to confirm. It will notify you about the cost and remind you that the IPs last for 30 days.
Remember, you must manually set up these IPs on your VPS. They're fixed to your account for 30 days and don't auto-renew by default.
Use SSH in your terminal. Type: ssh root@your_current_ip
Replace your_current_ip with the VPS's present IP.
Keeping DHCP on means you keep your primary IP.
You can then add Floating IPs manually.
Use this method if your server's main IP and floating IPs are in the same subnet with the same gateway. If they're not, it's better to set your IPs manually as described in the next section.
When you disable DHCP, you must manually set your IPs. You can make a floating IP your server's main outgoing address. Here’s a simple guide to do that:
Change the Default Gateway:
In the routes part, set the gateway to the one for your floating IP. It will look like this:
Doing this will make all the data leaving your server go through the floating IP. It's important because it decides how your server talks to other systems on the internet. Make sure this is what you want for your setup.
Update your network settings by typing: sudo netplan apply
To troubleshoot problems, add --debug to the command.
SSH back to the VPS with the new IP.
Check the Outgoing IP:
Run curl ifconfig.me. It should show your floating IP as the server's public IP.
If you encounter any issues with network settings, Cloudzy's VNC feature allows direct access to your VPS console for troubleshooting.
Look for your interface, like eth0.
The line might read iface eth0 inet.
Change to iface eth0 inet static.
Replace eth0 with your interface.
Write address 192.0.2.7.
Then netmask 255.255.255.0.
Replace with your IP and Netmask.
Add gateway 192.0.2.1.
Replace with your gateway.
Use up ip addr add 203.0.113.5/24 dev eth0.
To remove, down ip addr del 203.0.113.5/24 dev eth0.
Change IP and subnet as needed.
Use sudo systemctl restart networking.
Or ifdown eth0 && ifup eth0 for one interface.
Note:
Adjust steps for your distro.
Backup original file before changes.
Click on Advanced.
Under IP addresses, click on Add.
Enter the additional IP and subnet.
Click on Add to confirm.
If you lose your connection due to an error, Cloudzy's VNC lets you access the VPS console to fix it. You have now successfully assigned your new Floating IP address to your VPS. If you need any more information or further assistance, feel free to contact our support team by submitting a ticket.
Operating Systems
Locations
Resources