
ip -6 addr add 2a01:XXXX:YYYY:9081::2/64 dev xenbr0 ip route add 2a01:XXXX:YYYY:9080::1/59 dev xenbr0 ip route add default via 2a01:XXXX:YYYY:9080::1 Hetzner (my hosting company) sent me an unsolicited information email about my new IP addresses. It had a link to the English version of their Wiki about this which happened to be a non-existent page. With the help of Google Translation on their German Wiki page I got the above commands to work. It seems that my mistake was that I didn't realise that you can create a host route on an IPv6 enabled interface without having a local address in the subnet. Once I added that route (the second line) then the third line was obvious and everything works well. My next task will be to assign public IPv6 addresses to a bunch of DomUs to save the expense of buying them public IPv4 addresses. On Fri, 25 Nov 2011, Russell Coker <russell@coker.com.au> wrote:
I have just got the following message from my hosting provider. I have put in XXXX and YYYY to replace some of the numbers.
ip -6 addr add 2a01:XXXX:YYYY:9081::2/64 dev xenbr0
I ran the above command to assign the IP address.
# ping6 2a01:XXXX:YYYY:9080::1 connect: Network is unreachable
But ping6 fails in the above manner. What am I doing wrong?
We have successfully setup the following IPv6 subnet for your server.
IPs: 2a01:XXXX:YYYY:9081:: /64
Gateway: 2a01:XXXX:YYYY:9080::1 /59
Useable IP addresses: 2a01:XXXX:YYYY:9081::2 to 2a01:XXXX:YYYY:9081:ffff:ffff:ffff:ffff
-- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/