IPV6 – Are you ready?

Looking at the statistic, IPv4 will be exhausted in this year. I think it is time to get ready for IPv6. Unfortunately, look like none of the ISP in Australia are providing IPv6 addresses to their customers.

At least, as far as I know TPG, Exetel, Optus and Telstra, etc are not providing IPv6 as yet. However, Google has already laughed their IPv6 web site. Can you try connecting to http://ipv6.google.com ? if you see something, congarduation! Your computer can access IPv6 website and your ISP has a DNS resolver that can point your to a ipv6 website.

Oh…. not sure what I am talking about??? Point your web browser to http://www.test-ipv6.com or http://www.ipv6-test.com both site will test your ipv6 and ipv4 connectivity. It should give you some idea of what I am talking about.

In order to test out the IPv6 connectivity, I have built a IPv6 tunnel to http://www.he.net . HE has assigned me a /64 and /48 IPv6 public address. I have that setup on my router, every computer in my home is now IPv6 ready. There are more than enough ip addresses in a /48, so I routed some of them to my web server in the data center.

here are the sample configuration.

Configuration on my cisco router:

interface Tunnel2
 description IPV6 tunnel to webserver
 no ip address
 ipv6 address 2001:470:ECEE:2::2/64
 tunnel source YY.YY.YY.YY
 tunnel destination XX.XX.XX.XX
 tunnel mode ipv6ip

Configuration on my web server (debian linux)

ip tunnel add ipv6tunnel mode sit remote YY.YY.YY.YY
ip link set ipv6tunnel up
ip addr add 2001:470:ECEE:2::1/64 dev ipv6tunnel
ip route add 0::0/0 dev ipv6tunnel
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding

in my cisco router, there is another tunnel for me to connect to www.he.net for the ipv6 connecitivity.

interface Tunnel0
 description Hurricane Electric IPv6 Tunnel Broker
 no ip address
 ipv6 address 2001:470:35:4D::2/64
 ipv6 enable
 tunnel source YY.YY.YY.YY
 tunnel destination
 tunnel mode ipv6ip

a default route for ipv6 need to be added on the router as well

ipv6 route ::/0 Tunnel0

After all the setting, it will be time to do some test. First, try

ping6 ipv6.google.com

in the debain server, which I got a host not found message. It was because I don’t have a IPv6 DNS setup. To get this fix, I did the following:

vi /etc/resolv.conf

adding the HE.net DNS resolver address


After setting the DNS server, do the ping6 again, it should work now.  After setting IPv6 for the web server, I also want all my computes at home obtain an IPv6 ip address automantically and also receivce the ipv6 DNS automantically. here are the CLI command to configurate a IPv6 DHCP pool:

ipv6 dhcp pool datalan
 address prefix 2001:470:ECEE::/64
 dns-server 2001:470:20::2

After rebooting a PC, it automantically recevice the IPv6 address and able to pass all the test on http://www.test-ipv6.com.

My next project will be setting up a PPTP ipv6 VPN, so I can access IPv6 website while I am on a IPv4 endpoint via the PPTP tunnel. I will post the configuration up if I am able to make this work.


7 responses to “IPV6 – Are you ready?

  1. This is Warren Kwok from Hong Kong. Thanks for posting comments about IPv6 in my blog.

    Hong Kong is a bit lucky regarding IPv6 development. We have five ISPs offering IPv6 connectivity services. Yet, we should not be complacent. We are looking forward to 4G LTE networks assigning IPv6 addresses to mobile terminals. The 4G LTE networks will be launched by end of 2011.

    Warren Kwok

  2. Thanks. Good to see more people work on IPv6. While working on this, I have a concern about making all the computer publicly accessable. What’s your view on this?

  3. Hi Howard,
    have you tried to setup the pptp and give IPv6 connectivity through it? I’m quite stuck. I’ve set up the pptpd and my Android phone goes correctly through it. I can browse all IPv4 websites with IP source address of the eth0 of the pptp server, but even if i’ve enabled all of the IPv6 forwarding settings I can’t browse anything IPv6 from my Android phone.
    Any ideas?


    • Hi Simone,
      I have tried to setup the PPTP server on a Cisco Router. Unfortunately, I am still unable to make IPv6 over a IPv4 PPTP tunnel. I am not sure if this is a limitation, or the Cisco IOS problem or my configuration issues.

      I saw someone successfully create PPTP tunnel to provide IPv6 connectivity between a cisco router and a Mac machine. If you find any solution to this, please let me know as well 🙂 Thanks.

  4. Hi Howard,

    I was looking for a way to contact you directly, but I couldn’t find your email address in your blog, so just thought I would use this comment section.

    I came across this blog entry and thought you probably had the knowledge to answer to my question.

    I was wondering what exactly the standards say about using IPv6/IPv4 tunneling to send a DNS query to a DNS server. Is this a valid thing to do? Do you know the RFCs that talk about this?


  5. Hi Howard,

    Internode has now rolled out IPv6 support in Australia. New customers have it enabled by default, old customers have to manually enable it. Just figured you’d be interested. We have it at work and it seems to be working quite well. I’m quite happy with that, since IPv6 tunnels are relatively slow (for me anyway).

    I hope other Australian ISPs will catch on and roll out IPv6 support soon as well. I’m with TPG at home and customers have been getting a “maybe soon” response to any IPv6 inquiry since ~2008..

    Thanks for your blog post about setting up an IPv6 tunnel – hopefully we won’t need it anymore soon 🙂


  6. Hi Howard!

    Did you get that IPv6 over PPTP config working? I am trying to do that also and would be interested in any hints or config examples.

    I have a Cisco router as PPTP server and a Mac as Client. PPTP connects ok but I get no IPv6 address to my mac from there.

    On the Cisco router I set up an IPv6 client pool and the PPTP’s Virtual interface has ipv6 enable under it.

    The VPN interface on Mac gets only link-local now:
    inet6 fe80::ba8d:12ff:fe03:474c%ppp0

    My workaround now is that I have PPTP VPN to give me fixed IP pair between the Cisco and the ever-traveling Mac. Then I make a separate tunnel between the two to get me my IPv6 to go. Works well but is over-complicated.


    (Great and well-written articles on your site, thank you for them)

Leave a Reply

Your email address will not be published. Required fields are marked *

What is 3 + 14 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)