Contabo supports IPv6, but disabled by default.
Ubuntu Server 22.04 LTS
Check IPv6 status
Check that IPv6 is in a disabled status. The following commands can be used.
1 2 3 4 5 |
sysctl -a --pattern disable_ipv6 net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.eth0.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 |
In the field ‘disable_ipv6’, if the parameter is set to ‘1’, IPv6 is setting the connection to disabled.
‘ip a’ command to display IP address information and ‘inet6 (IPv6 address) scope link …’ and only the “link-local IPv6 address” is displayed, it is disabled.
Enabling IPv6
1 2 |
sudo cp /etc/netplan/01-netcfg.yaml /etc/netplan/01-netcfg.yaml.bak sudo nano /etc/netplan/01-netcfg.yaml |
Uncomment the IPv6 configuration section.
1 2 3 4 5 6 7 8 |
sudo cp /etc/sysctl.conf /etc/sysctl.conf.bak sudo nano /etc/sysctl.conf net.ipv6.conf.all.disable_ipv6 = 1 ↓ #net.ipv6.conf.all.disable_ipv6 = 1 sudo reboot |
Windows Server 2022
Check IPv6 status
Connect to your server via RDP with the administrator account. Check the Local Server in the Server Manager. If only IPv4 IPs are displayed on the Ethernet, IPv6 is disabled.
Enabling IPv6
Start Registry Editor, set the value of DisabledComponents in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\
to ’00’ (Hexadecimal), and restart.
After reboot, IPv6 is enabled if the Local Server Ethernet in the Server Manager shows IPv6 enabled.
コメント