FAQ : Connectivity (Tunnels and Subnets) : How do I configure my machine to setup the IPv6 in IPv4 tunnel to the SixXS PoP?
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.
The manual methods described below only apply to static proto-41 tunnels. AYIYA and heartbeat tunnels require AICCU.
Also see the NetBSD IPv6 FAQ.
First make sure you have INET6 enabled in your kernel. Look if your ifconfig reports link-local addresses for your interfaces, if it does you have IPv6 in your kernel.
For NetBSD 1.5.x and up, which support dynamic creating of interfaces, you will first have to create the tunnel interface, using:
Next step is configuring the tunnel:
The tunnel should be up now. Route your IPv6 traffic via the SixXS PoP:
To configure the tunnel at boot time create the file
create tunnel [Your IPv4 Endpoint] [PoP IPv4 Endpoint] inet6 [Your IPv6 address] [PoP IPv6 Endpoint] prefixlen 128 !route add -inet6 default ::1 !route change -inet6 default -ifp $intIf net.inet6.ip6.forwarding is not set to 1 by default (it isn't in a default NetBSD install, you can add the following line to