For the operation of the router a simple, slim enough Linux with a recent 2.6 kernel, which must operate as any services such as web servers or databases? For the experiments we use a minimal, with only absolutely necessary packages stocked Debian Linux.
Before setting up the IPv6 router must be located in a tunnel broker access and get a network prefix. Both Gogo6/Freenet6 and Sixxs provide free of such tunnels and also assign prefixes that can be used to provide computers in the LAN with a global IPv6 addresses valid. However, both operators require a login.
The IPv6 router uses the existing IPv4 Internet access for its tunnel; enter the IPv6 packets to the dial-in node of the tunnel broker. The further she goes to the goals of the IPv6 Internet. The network prefix divides the Sixxs but only when the IPv6 tunnel already running for some time. This project honors the current IPv6 tunnel with bonus points like C Class IPs, we obtain the support or may ask about the prefix. This assignment may take several days. Under a Debian Linux install Sixxs the client and aiccu for the IPv6 routing via competent radvd aptitude install aiccu radvd .
Since the tunnels aiccu client checks the system time and acknowledged differences with his service should be an NTP client ntpdate as chronyd or adjust periodically the Clock of the IPv6 router on the Internet. Both programs are also available in the Debian software repository ready to install with aptitude.
Substituting the IPv6 tunnel on Sixxs (aiccu) complement one after installing the aiccu configuration in / etc / aiccu.conf to the user name, password, a tunnel ID and some additional options:
SixXS-username USERNAME
SixXS-password PASSWORD
tunnel_id TXXXX
tic.sixxs.net server
automatic true
verbose true
daemonize false
behindnat true
defaultroute true
That the IPv6 router in a Network Address Translation (NAT) separated local network is working, it shows with the option to behindnat true. True enables automatic with aiccu tunnel automatically. By default, the client will tunnel IPv6 packets over a virtual network interface (TUN-device) names aiccu. Appears not in the list of network interfaces on (ifconfig), enforces the naming option ipv6_interface aiccu. With the configuration entry defaultroute true aiccu sets the default route for IPv6.
Then, the tunnel client starts with the command aiccu start. Possible error messages can be examined with the command aiccu test. If the option is false demonize as above written, one break from aiccu with the key combination Ctrl + C.
If no error occurs during connection establishment, it is in the configuration file to false and verbose demonize true. The program now starts as a silent background process and can use the command aiccu stop stop.
If the Sixxs assigned a / 48 prefix, you can expand the IPv6 configuration of the new router: How the online article IPv6 Internet access at heise networks described in detail, you basically create the file / etc / network / interfaces, a new interface description for the tunnel interface Sixxs clients. She takes care of the establishment of the IPv6 address for the LAN interface (usually eth0), start and stop aiccu, and if necessary additional routes.
Does the interface tunnel can connect using ping6 www.heise.de Check if the server function from the tunnel, and name resolution from the IPv6 router. Now, the router must enter the prefix and the routing information to other computers on the local network is known (Router Advertisement RA), which do a Sixxs tunnel some entries in the file / etc / radvd.conf:
interface eth0 {
AdvSendAdvert on;
prefix 2001: db8 :: / 64
{
;}
;}
Change in this example, the value after the prefix assigned by Sixxs network prefix. The program distributes only radvd / 64 prefixes, so it fills the Sixxs of assigned / 48-prefix example with zeros. The line interface eth0 tells radvd, pass the information on the eth0 network card out. With the option AdvSendAdvert on the router sends RA messages at intervals into the network and responds to router solicitation requests from IPv6-enabled clients. In addition, the IPv6 router for IPv6 network packets pass (packet forwarding), otherwise not radvd starts. The command
echo 1> / proc/sys/net/ipv6/conf/all/forwarding
On this behavior once and for all network cards. After the start of radvd IPv6 router on the IPv6-ready now, other LAN computers at least get a globally valid IPv6 address with your own prefix, which is under Windows with the command ipconfig or on Linux and Mac OS with ifconfig can learn.



