Contents |
KAREN runs IPv6 and has done since its launch in December 2006.
You can find out about IPv6 at http://www.ipv6.org/ and in great depth http://en.wikipedia.org/wiki/Ipv6.
REANNZ advocates KAREN members planning and implementing IPv6 capability.
For uncoming IPv6 training and events visit InternetNZ at http://www.ipv6.org.nz/news.html
to come
We've found a couple of ways to install and configure a static IPv6 address under Windows XP.
Check
First check to see if IPv6 is installed.
Could not access IPv6 protocol stack - the stack is not installed.
Install
To install IPv6 on Windows XP SP2, execute the following commands as a administrator from the command line (DOS window):
Installing... Failed to complete the action. Error 0x800704b8
This problem relates to a windows internal security database that needs to be integrity checked and possibly repaired. ** If you're using a corporate machine that is built as part of a Windows Domain, then please check with your IS people before following these procedures, as they may alter or erase Group Policy settings that have been pushed to your machine via a Domain Controller.**
Check the output of that command, if it declares...
Checking database integrity. The database is not up-to-date. This operation may find that this database is corrupt because data from the log files has yet to be placed in the database.
** THIS IS POTENTIALLY DAMAGING TO YOUR DOMAIN SETTINGS **
You should only run Repair on damaged or corrupted databases
Integrity check successful. Operation completed successfully in X.xxx seconds.
Configure
Once IPv6 is Installed and running, it's time to assign IPv6 Addresses, gateways and routes.
To configure an IPv6 address, determine which of the Interfaces shown by the command ipv6 if matches the name of your main network connection under "START--Control Panel--Network Connection", it should be called something like "Local Area Connection X" where X is a number.
Interface 5: Ethernet: Local Area Connection
Guid {3E4601A7-041B-4D5A-ACD3-B6D840BBEF39}
zones: link 5 site 2
uses Neighbor Discovery
uses Router Discovery
link-layer address: 00-16-cb-97-4a-4e
preferred global 2404:138:4000:1::203, life infinite (manual)
preferred link-local fe80::216:cbff:fe97:4a4e, life infinite
multicast interface-local ff01::1, 1 refs, not reportable
multicast link-local ff02::1, 1 refs, not reportable
multicast link-local ff02::1:ff97:4a4e, 1 refs, last reporter
multicast link-local ff02::1:ff00:203, 1 refs, last reporter
link MTU 1500 (true link MTU 1500)
current hop limit 128
reachable time 20000ms (base 30000ms)
retransmission interval 1000ms
DAD transmits 1
default site prefix length 48
Publish Type Met Prefix Idx Gateway/Interface Name ------- -------- ---- ------------------------ --- --------------------- no Manual 0 ::/0 5 2404:138:4000:1::2
Finalise
Once you have configured IPv6 Gateway and routes, test you can ping:
If you are having problems pinging gateways, then it may be with the Teredo Tunneling adapter that XP & Vista installs by default. This can be disabled using the netsh command
--donaldsclark 18:59, 18 June 2008 (NZST)
Configuring a static (manual) IPv6 address under Mac OS X (version 10.5.3 in this instance) should be an easy case of bringing up the Network Preferences window, choosing your preferred interface, clicking on 'Advanced' and then choosing the TCIP/IP pane. From this pane, there is an ability to have IPv6 off, automatically configure or manually configure.
We haven't tried automatic configuration yet [June 2008] as we don't have an IPv6 DHCP server setup at the office. However, we do support IPv6 - as does KAREN of course - and have an allocation of IPv6 addresses.
Unfortunately, we discovered what appears to be a bug in using the GUI to manually set a static IPv6 address configuration in OS X. Whilst you can fill out the fields in the GUI pan and they are remembered, the underlying network configuration does not appear to change.
A manual workaround has been successful.
inet6 fe80::21f:5bff:fe84:5a2f%en0 prefixlen 64 scopeid 0x4 inet6 2404:138:4000:x::xx prefixlen 64
(note the fe80: address is the internal IPv6 address assigned by the OS. It is similar to a 10.x or 192.168.x address under IPv4)
Internet6: Destination Gateway Flags Netif Expire :: 2404:138:4000:x::x UGSc en0 default 2404:138:4000:x::x UGSc en0
Note: As this method does not use the GUI, you may find that as you switch back to other networks using the same interface you will have to reset or manually remove your default gateway.
The following instructions were developed using Ubuntu Server 7.10, and is very simple. You need to edit /etc/network/interfaces with an appropriate editor such as vi. The catch is that the following lines need to be added before the IPv4 configuration.
iface eth(n) inet6 static
address 2404:138:xxxx:xxxx::xxxx (static address of your host)
netmask 64
gateway 2404:138:xxxx:xxxx::xxxx (static address of the default router)
Once this has been saved restart the interface and use ping6 <address> to test connectivity to a remote subnet.
Update 14 August
Unfortunately, neither Mac OS X, Windows XP, nor most default linux installs come with a DHCPv6 client (Vista may, but we've not checked). This means that any DNS, default routes and search paths have to be set manually.
This reflects the (to my knowledge) non-finalised protocols / standards around DHCPv6.
Mac OS X does come with the option of "automatically" configuring IPv6, but as far as we an tell, this either sets up an internal fe80: address, which will work alongside 6to4 tunnelling, but is not much use if you want to use IPv6 directly outside your current subnet. I've heard it may obtain a stateless IPv6 address via autoconfig from a correctly configured router. I understand Apple have quite a small networking / IP team and they have been swamped with iPhone activity recently.
Apple's focus on IPv6 appears questionable. A report from IETF-71:
"during the Q&A session at the plenary (after the IPv6 only event), Stuart Cheshire of Apple was venting at the mike about why they should have to support yet another protocol for address assignment and other configuration info (I thought that was what stateless autoconfig was for, or something along those lines). Someone mentioned RFC 5006 to him, and he said yes, that's most likely what they would support ..
There is a way to get a semi-functioning DHCPv6 client under OS X described here by an IETF delegate in March 2008 (great blog - lots of detail). It uses Python.
The Internet2 gurus tell me that one of the challenges is support for IPv6 'helpers' (for example http://www.blackviper.com/WinXP/Services/IPv6_Helper_Service.htm).
Some community DHCP IPv6 links follow:
As a matter of course, it is worth keeping a watch on the Internet2 IPv6 site and their mailing list.
Contact:
I wrote up anycast DNS for a Linux user group meeting - configuration files and detailed instructions are included. Detailed Anycast DNS guide Kim Hawtin of the University of Adelaide and I did the work independently, and combined to produce the write-up. Kim gave a more extensive explanation at linux.conf.au.
The notes are only for IPv4, but the extension to IPv6 is simple. We're running our anycast DNS forwarders for both IPv4 and IPv6. If you are thinking of deploying a anycast DNS forwarder I can update the notes for IPv6.
Relevant presentations and material are at my web site
You might find these interesting: