This tutorial deals with adding IPv6 addresses to the VPS ON server. Instructions for adding IPv6 addresses to VPS SSD can be found in the article VPS SSD – IPv6 Addresses.
In this article, you will learn:
- How IPv6 works on VPS ON
- How to enable an IPv6 address in SunStone
- Common issues
- Frequently asked questions
IPv6 on VPS ON
VPS ON servers are assigned one IPv4 address and a /64 IPv6 subnet by default. For each additional IPv4 address, the server system also assigns another IPv6 subnet of the corresponding range.
By adding an IPv6 address to the OpenNebula SunStone interface, you usually immediately make it available to the server. In Linux, you verify availability with the command ip a
.
Enable IPv6 In SunStone
By default, a VPS ON server has one IPv6 address enabled. You can find available addresses in the OpenNebula SunStone administration by following these steps:
- Log into the OpenNebula SunStone interface.
- In the left menu, select Instances VMs.
- Select your virtual machine.
- In the detail, click the Network tab.
Update IPv6 Subnet
By default, the network adapter is set to the capacity of just one IPv6 address. To add more addresses, first increase the capacity of the network by following these steps:
- In the left menu, select Network Virtual Networks.
- Choose the ipv6 network from the list.
- In the network detail, click the Addresses tab.
- Choose the IP6_STATIC and click the Update button.
- Update the address range Size as needed.
Add New IPv6 Address to Adapter
Finally, add the IPv6 address to the adapter by following these steps:
- Open the VM Network tab.
- Click the Attach nic button.
- Choose an IPv6 nic with available leases, and click Attach.
Common Issues
Common problems with addding ipv6 addresses to VPS ON include:
VM Not Loading
Issue: The VM doesn’t load after adding the IPv6 and displays an Error getting virtual machine.
Cause: Due to the large number of connected servers, some changes take some time to propagate.
Solution: Wait a few minutes and refresh the page in your browser. The virtual machine should load. If the message is displayed even after loading the browser, wait a while again.
Server Doesn’t Register New IPv6
Issue: The server does not load the new IPv6 automatically.
Solution: Try restarting the server first. If this does not help, set IPv6 directly on the server according to the instructions for your OS.
FAQ
Question: What other settings do you recommend for the new IPv6 address?
Answer: We recommend directing the domain to it via the AAAA record. If you are using the server as a mail server, do not forget to set the reverse IPv6 records.