I’ve recently been graced with IPv6 connectivity by my ISP. I also run several websites on a server at my home.
I am trying to add IPv6 connectivity, but there just seems to be no documentation on doing that.
So far, I’ve set the AAAA records to the right place, Pinging proves they’re set right. Strangely enough pinging on Windows7 works, but OpenSUSE 11.4 doesn’t.
IPv6 test - web site reachability This site confirms the the AAAA records are in place, but the webserver is not IPv6 capable yet.
ipv6.skylandsdesign.us Is the site i’m trying to use to test this. It only has AAAA records, no IPv4 support.
Are there any write ups on how to do this, preferable without compiling Apache from source?
The vhosts are set up right with the IPv6 address (I F’ed out the IP)
And listening is set up.
But when i restart Apache2 it goes like this
Starting httpd2 (prefork)
(98)Address already in use: make_sock: could not bind address ::]80
It works out of the box. You actually don’t need to specify the host part, since by default Listen 80 listens on all interfaces.
BTW IPv6 localhost is ::1, not ::. See /etc/hosts.
Doesn’t seem to…
I can confirm it gets the house, but it doesn’t seem to get to the server.
I actually am not using localhost. I’m working via SSH from a windows box, only using the worldwide IP addresses.
netstat -atn will show it listening on the IPv6 interface. Mine shows:
tcp 0 0 :::80 :::* LISTEN
telnet ::1 80 works:
$ telnet ::1 80
Connected to ::1.
Escape character is '^]'.
GET / HTTP/1.0
HTTP/1.1 200 OK
Date: Wed, 12 Oct 2011 07:43:09 GMT
Server: Apache/2.2.15 (Linux/SUSE)
Last-Modified: Sat, 20 Nov 2004 20:16:24 GMT
<html><body><h1>It works!</h1></body></html>Connection closed by foreign host.
After that you should try telnetting to the IPv6 addresses shown in the output of: ip addr, your firewall, then the routing from your LAN with another machine, then your router, etc. etc.