SixXS::Sunset 2017-06-06

FAQ : Connectivity (Tunnels and Subnets) : How do I configure my machine to setup the IPv6 in IPv4 tunnel to the SixXS PoP?

Other FAQ sections

How do I configure my machine to setup the IPv6 in IPv4 tunnel to the SixXS PoP?

The easiest way is by using AICCU, though if one wants to configure it manually or because AICCU doesn't support your platform, then you can pick your Operating system from the following list. AICCU can configure static, heartbeat and AYIYA tunnels.

Warning The manual methods described below only apply to static proto-41 tunnels. AYIYA and heartbeat tunnels require AICCU.

Select your Operating System

Linux - New - using iproute2

A great resource for configuring Linux with IPv6 can be found at Peter Bieringer / LinuxDoc.org.

This small FAQ item describes the 'ip' way of setting up IPv6 on Linux. You can find it on ftp.inr.ac.ru, or in any modern linux distribution)

First of all, retrieve and compile a current 2.2 or 2.4 kernel. And get glibc2.1.3 (older versions have several bugs in them, regarding IPv6)

You'll have to recompile your kernel with the following options.
# cd /usr/src/linux
# make menuconfig

go to networking options, select the following:
[*] Kernel/User netlink socket
<*>  Netlink device emulation

<*>  The IPv6 protocol (EXPERIMENTAL)
  [*]   IPv6: enable EUI-64 token format
  [*]   IPv6: disable provider based addresses

# make dep;make clean;make bzImage
Install your bzImage
Reboot

Congratulations, you now have an IPv6 enabled kernel!

Using the information you received by mail, configure a tunnel by doing this:

Create a tunnel called sixxs:
# ip tunnel add sixxs mode sit local [Your IPv4 Endpoint] remote [PoP IPv4 Endpoint]

Bring the tunnel interface 'sixxs' up:
# ip link set sixxs up

Fix MTU and TTL
# ip link set mtu 1280 dev sixxs
# ip tunnel change sixxs ttl 64

Configure your IPv6 endpoint on the tunnel:
# ip -6 addr add [Your IPv6 Endpoint]/[Prefix Length] dev sixxs

Route your IPv6 traffic via the SixXS PoP:
# ip -6 ro add default via [Our IPv6 endpoint] dev sixxs
Note that on Linux <2.4.20 one needs to use 2000::/3, the reason for this is explained in the linux-net archives.
Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker