
Vultr supports IPv6 for all VPS and Bare Metal instances. If you select Enable IPv6 in the Additional Features section when you deploy a new instance, you do not need to configure anything because all network configuration on a new instance is handled by cloud-init.
However, if you add IPv6 to a existing instance, use this guide to configure the new network address.
IPv6 autoconfiguration depends on ICMP protocol. Please verify you haven't blocked ICMP in the OS firewall.
Navigate to the Settings tab for the instance.
Select the IPv6 menu.
Click the Assign IPv6 Network button.
Restart the server via the Vultr Console. Important: rebooting via SSH doesn't activate the new network.
Vultr provides Configuration Examples on the IPv6 Settings menu. Please follow that link to see pre-configured configuration examples for your VPS instance.
Populate /etc/sysconfig/network-scripts/ifcfg-ens3 with:
IPV6ADDR_SECONDARIES line if a secondary address isn't required, or replace the example with an address in your IPv6 subnet.Restart the connection, or reboot.
Add the following lines to /etc/sysconfig/network-scripts/ifcfg-eth0.
IPV6ADDR_SECONDARIES line if a secondary address isn't required, or replace the example with an address in your IPv6 subnet.Restart networking or reboot.
If you have IP forwarding enabled, such as when using your server as a VPN, add the following lines to /etc/sysctl.conf:
These variables default value is 1, which prevents IPv6 from working. To verify the status of IP forwarding, run:
For dynamic configuration, add the following lines to /etc/network/interfaces.
Restart networking or reboot.
For static configuration, add the following lines to /etc/network/interfaces.
Restart networking or reboot.
For dynamic configuration, add the following lines to /etc/network/interfaces.
Restart networking or reboot.
For static configuration, add the following lines to /etc/network/interfaces.
Restart networking or reboot.
Add the following lines to /etc/sysconfig/network-scripts/ifcfg-ens3.
Restart networking or reboot.
Add the following lines to /etc/sysconfig/network-scripts/ifcfg-ens3.
IPV6ADDR_SECONDARIES line if a secondary address isn't required, or replace the example with an address in your IPv6 subnet.Restart networking or reboot.
This applies to FreeBSD version 10 through 13.
Add the following lines to the /etc/rc.conf file.
Add the following lines to the /etc/rc.conf file. Replace the example with an address in your IPv6 subnet.
Start the router solicitation daemon or reboot.
Optionally, you may configure a secondary IPv6 address for your instance.
Add the following line to /etc/rc.conf. Replace the example with an address in your IPv6 subnet.
Start the router solicitation daemon or reboot.
Please ensure that slaacd is enabled and running.
IPv6 autoconfiguration depends on ICMP protocol. Please verify you haven't blocked ICMP routeradv, neighbrsol, neighbradv packet types. For example, this ruleset for pf.conf passes the required traffic:
Add the following line to /etc/hostname.vio0.
If using OpenBSD 6.0 through 6.2:
If using OpenBSD 6.3 through 6.8:
If using OpenBSD 6.9 or later:
Restart the interface or reboot.
Verify the interface status with slaacctl.
Optionally, you may configure a secondary IPv6 address for your instance.
Add the following line to /etc/hostname.vio0. Replace the example with an address in your IPv6 subnet.
Restart the interface or reboot.
Verify the interface status with slaacctl.
This guide applies to Ubuntu 14.04 and later.
Populate the /etc/netplan/10-ens3.yaml file with the following text.
addresses: and the example IPv6 if a secondary address isn't required, or replace the example with an address in your IPv6 subnet.Update networking or reboot.
For dynamic configuration, add the following lines to the /etc/network/interfaces file.
Restart networking or reboot.
For static configuration, add the following lines to the /etc/network/interfaces file.
Restart networking or reboot.
For dynamic configuration, add the following lines to the /etc/network/interfaces file.
Reboot the instance.
For static configuration, add the following lines to the /etc/network/interfaces file.
Reboot the instance.
If you have IP forwarding enabled, such as when using your server as a VPN, add the following lines to /etc/sysctl.conf:
These variables default value is 1, which prevents IPv6 from working. To verify the status of IP forwarding, run:
This applies to Windows Server 2012 R2 and later.
Find the public interface name on your system. You can use ipconfig /all or navigate the Windows Control Panel.
Run the following commands.
Replace Ethernet with your public interface name, and replace the example addresses with an address in your IPv6 subnet. You can skip the second address if you don't have one.
0 Comments
Be the first to comment and share your perspective with the community.