Setting Up IPv6
Everybody knows why we all need IPv6 so I won't bother you with all that. This page is here to help assist those who are interested setup an IPv6 connection to the internet. In the following sections we will use a number of techniques including:
- Teredo
- 6to4
- TunnelBroker (HE.net in this case)
Introduction
The Teredo Method
Teredo is a technique developed my Microsoft to allow for IPv4 hosts behind a NAT to work with the IPv6 internet. It is intended as a trasition only technology but since most home users environments are hostile to the 6to4 and some tunnelling techniques it is the easiest and probably what you should start with if you have an inconveinient NAT on your home network.
In Linux it is easy, just emerge miredo
or whatever you
do for your distribution. Then start it
/etc/init.d/miredo start
.
6to4
For information on 6to4 I recommend you see the Wikipedia 6in4 it has a good introduction and I don't see the point in re-inventing the wheel.
To summarise, 6in4 uses the globally addressable IPv4 address of the
node to communicate directly with another 6in4 node by creating an IPv6
packet, stuffing it into an IPv4 packet and setting the header to 41.
It is easy for a router to know about a 6to4 host because it's address
begins with 2002:
. If the packet destination address is not
a 6in4 host then the packet must be sent to a host that will be able to
get the packet to its destination. RFC3065 makes provision for a
special anycast address in the IPv4 address space to allow for routing
packets onto the IPv6 internet via a 6to4 relay router. The anycast
address is 192.88.99.1 and will be valid for any ISP and any
country.
So lets see what we need:
- Externally Addressable IP on the router/computer
- root access to the machine
- Patience
You cannot do this behind a NAT, most routers support a bridged mode and that should work for you... please search for bridge mode howto for your router for more information.
References
- Wikipedia
- Anyweb Tutorial
Tunnel Broker
Sign up to HE.net and follow the instructions there.