How To verify and Configure IPv6

To verify that IPv6 is working on your Server, make a ping test to Google:

ping -6


If you see the following output, then IPv6 is working.

root@demo-cloud:~# ping -6
PING (2a00:1450:4001:802::200e)) 56 data bytes
64 bytes from (2a00:1450:4001:802::200e): icmp_seq=1 ttl=116 time=6.69 ms
64 bytes from (2a00:1450:4001:802::200e): icmp_seq=2 ttl=116 time=5.19 ms
64 bytes from (2a00:1450:4001:802::200e): icmp_seq=3 ttl=116 time=5.20 ms
64 bytes from (2a00:1450:4001:802::200e): icmp_seq=4 ttl=116 time=5.25 ms
64 bytes from (2a00:1450:4001:802::200e): icmp_seq=5 ttl=116 time=5.24 ms
--- ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4004ms
rtt min/avg/max/mdev = 5.191/5.512/6.685/0.586 ms


However, if you see the output below, then IPv6 is not working. In this case, please contact your Server/Hosting Provider for assistance with IPv6 configuration.

root@demo-cloud:~# ping -6
ping: connect: Network is unreachable

[Example] IPv6 configuration instructions on a Hetzner Dedicated Server (using Debian / Ubuntu 22.04+)

If IPv6 config is not yet present in /etc/network/interfaces, update the following:

iface <INTERFACE_NAME> inet6 static
address <IPv6 Subnet Prefix>::2
netmask 64
gateway fe80::1

Replace <INTERFACE_NAME> and <IPv6 Subnet Prefix> with your real Interface Name and IPv6 Prefix, respectively.

After configuration, restart the Networking service or do a full server reboot.

root@demo-cloud:~# service networking restart


For further guidance, please review Hetzner's related documentation.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How To install Squid Proxy

Debian 9 Update Repo apt-get update Install Squid apt-get install squid Note: IF you...

How To install FFmpeg

FFmpeg Installation is quite simple: Navigate to the FFmpeg Download Website, and Download the...

How To install ionCube Loader

In aaPanel: 1) Open aaPanel and go to App Store > Installed > PHP (The version you've...

How To Install aaPanel (Free Webpanel) incl. LAMP

Connect via SSH to your server and run the corresponding command for your OS. Debian 9:...

Updating CA-Certificates (SSL Root Certificates)

If you get the issue "Invalid License", then it may be due to an outdated SSL Root Certificate....