Wiki:ipv6

IPv6 on AVM and Freetz-compatible routers


+++ 19-Jun-2011: WARNING: This article is WIP (Work-In-Progress) !!! +++
+++ 22-Oct-2011: PLEASE, DO NOT EDIT (STILL WIP) !!! +++
+++ 13-Apr-2012: I will work on this document a bit more till my leaving on 25-Apr-2012 +++

Introduction

This article wants to give an overview and help to access IPv6-Internet via routers supported by the Freetz-project.

Motivation

The author (dileks) wanted to participate in World IPv6 Day (08-Jun-2011) and wants to share his experiences with others.
The first motivation for writing an article was to explain how to setup IPv6 on a Speedport W701V (short: W701V) router with SixXS.
After discussion with Oliver on IRC, we decided to do a more general approach as IPv6 is a very hot topic in 2011!

Quoting Silence from #sixxs.net/IRCnet (20-Jun-2011, German local-time UTC+2):

[11:38:33] <Silence> But it's just starting to become mainstream. This is an excellent time to learn.

History

XXX: Notes on IPv6 history: Internet Protocol, Version 6 (IPv6) Specification, see RFC 2460 from December 1998
XXX: No more IPv4 addresses offcially (no more registrable means sold out, commerce with old IPv4 addresses started in 2011)
XXX: Industry, ISPs and Website/Webspace hosters start rethinking
XXX: German heise Verlag as pioneer project for IPv4 + IPv6 dual-stack (since Sep-2010)
XXX: April 2012: IPv6 Support Required for All IP-Capable Nodes, see RFC 6540

Prerequisites

  1. ISP or Tunnel Broker with established IPv6 network infrastructure
  2. Router with IPv6 support
  3. Modern operating system with IPv6 support, for example Window-7, MacOS X or Linux

Ways to access IPv6-Internet

Way #1: Native IPv6 via ISP

You are a lucky winner when your ISP offers already IPv6 to its customers, this is called "native" IPv6.

Way #2: IPv6 via Tunnel Broker

If your ISP does not offer an access to "IPv6-Internet" right now (or plans to switch), you might be interested in a solution by using the services of a so-called "IPv6 Tunnel Broker" (see RFC 3053 for details). For example, SixXS or gogo6 are very popular.
FYI: German "Deutsche Telekom AG" plans to switch in 2011, see here.

Way #3: 6to4 or Teredo Tunnel

The Author was amused when reading in an article "IPv6 of the last chance". This topic won't be further discussed as this solution is to be known unsteady.

Preparation #1: Update router firmware

Official firmware-images from AVM

If you have a 7270 or newer box, check first the AVM Web-User-Interface (short: avmUI) for "IPv6" configuration.
You might need to activate "Expert mode" to see all settings allowed.
If you have no IPv6 configuration settings, check for an official firmware-image upgrade from AVM download area.
AVM offers also for some boxes so-called Labor-Preview firmwares with enhanced features (WARNING: Experimental software!).
A list of AVM routers with official IPv6-support can be found here.
Please, try the official upgrade procedure first before using Freetz!

Expand firmware with IPv6 using Freetz

XXX: This will be explained detailed for Speedport W701V router later on.

Preparation #2: Getting SixXS-ed

SixXS: IPv6 Deployment and Tunnel Broker

More about SixXS and its activities please see (here).

SixXS: Create a new User account

Follow the instruction from Signup for new users.
The correctness of your account informations will be checked and approved.
After approval you can check the whois database: https://www.sixxs.net/tools/whois/?handle=XXXX-SIXXS (adapt "XXXX" to your handle).

Note-1: Give a reproducible statement in the "reason" field (Author: World IPv6 day).
Note-2: Be careful with data for "Organisation" (it's publically visible in the whois database).
Note-3: Activate "Hide my details (address, phone, e-mail, url) in whois."

SixXS: Request Tunnel

After the confirmation of your user account, you have enough credits to request a tunnel.
Details about your tunnel will be emailed to you after OK from PoP (Author: 48hrs after signup).

Note-1: Again give a reproducible reason for the tunnel request (Author: "PoP is well known, solid infrastructure, recommended by friends, etc.")
Note-2: Now, you can play with AICCU setup.
Note-3: In this stage multiple tunnel login/setup is not allowed! You can request a second tunnel after your first subnet is established and you have a special amount of credits.

TODO: aiccu wiki-page needs a refresh!

SixXS: Request Subnet

Ideally you feed your router with AICCU data.
After exactly one week of stable IPv6 connection to SixXS and PoP, you might request a subnet.
The data for Author's subnet were emailed 24hrs after request.

Note-1: It might take up to max. one week to get a subnet approval!
Note-2: Now, you can play with RADVD setup.

TODO: radvd wiki-page needs to be written from scratch (partly informations are located wrong on aiccu wiki-page)!

Test your IPv6 connectivity

Tests on the router

Open a SSH session to your router:

ssh root@192.168.178.1

Run ping6 and traceroute6 commands:

ping6 www.sixxs.net
traceroute6 www.sixxs.net

Other hosts with IPv6 stack: www.mirbsd.org, www.heise.de, www.kernel.org, ipv6.google.com, etc.

No output?

Is the IPv6 kernel-module loaded?

lsmod | grep ipv6

Are the aiccu and radvd daemons running?

ps w | egrep -v egrep | egrep 'aiccu|radvd'

Are inet6 addresses listed? Do you have a "sixxs" virtual network interface?

ifconfig | egrep 'sixxs|inet6'

Tests in the Web-browser

A good testsuite is http://test-ipv6.com/ (recommended from World IPv6 Day website).

Do you see the dancing kame :-)?

Enhance firefox with the ShowIP plug-in.

References

zuletzt geändert vor 2 Jahren Zuletzt geändert am 13.04.2012 12:32:57