Setting up IPv6 on a Linode node
- Make sure that you are in an IPv6 native datacenter.
- Add your IPv6 address as AAAA records in your DNS server, for www/@/* subdomains.
- Ensure that when you execute ifconfig, your IPv6 address is displayed as a Scope:Global address for eth0:
eth0 Link encap:Ethernet HWaddr f2:3c:91:df:00:00
inet addr:188.8.131.52.4 Bcast:184.108.40.206 Mask:255.255.255.0
inet6 addr: 2600:1234::1234:91ff:1234:1234/64 Scope:Global
inet6 addr: fe80::1234:1234:fedf:ed78/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8230 errors:0 dropped:0 overruns:0 frame:0
- If not, you will need to add it using ifconfig eth0 inet6 add 2600:1234::1234:91ff:1234:1234/64.
- Check that you can ping IPv6 using ping6 ipv6.google.com.
- If you get a connect: Network is unreachable error, make sure that your IPv6 firewall does not block any ICMP.
-A INPUT -p ipv6-icmp -j ACCEPT
- Make sure that Apache is listening to all interfaces on port 80, or add the IPv6 address as a specific Listen directive.
- Restart Apache (service apache2 restart) to allow Apache to rebind to the new interface.
Test IPv6 server connectivity
Two sites that I used: