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. FreeBSDSystem requirements:
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. The newer kernels (4.2+) have better support for IPv6, thus use at least those though suggested is to use a current FreeBSD version. There is also a very detailed FreeBSD IPv6 Internals manual for one to browse through.
Next step is configuring the tunnel: The tunnel should be up now.
Route your IPv6 traffic via the SixXS PoP:
If you plan to use your machine as a router: /etc/rc.conf way upto 8.x:
ipv6_enable="YES"
/etc/rc.conf 9.x:
ipv6_gateway_enable="YES"
ifconfig_[LAN Interface]_ipv6="inet6 [LAN IPv6 Address] prefixlen 64"
gif_interfaces="gif0"
gifconfig_gif0="[Your IPv4 Endpoint] [PoP IPv4 Endpoint]"
ifconfig_gif0_ipv6="inet6 [Your IPv6 Endpoint] [PoP IPv6 Endpoint] prefixlen 128"
ipv6_defaultrouter="[PoP IPv6 Endpoint]
rtadvd_enable="YES"
rtadvd_interfaces="[LAN Interface]"
/etc/rc.conf 10.x and up:
ipv6_gateway_enable="YES"
ipv6_interfaces="auto"
ipv6_activate_all_interfaces="YES"
ipv6_cpe_wanif="gif0"
ifconfig_[LAN Interface]_ipv6="inet6 [LAN IPv6 Address] prefixlen 64"
cloned_interfaces="gif0"
ifconfig_gif0="tunnel [Your IPv4 Endpoint] [PoP IPv4 Endpoint]"
ifconfig_gif0_ipv6="inet6 [Your IPv6 Endpoint] [PoP IPv6 Endpoint] prefixlen 128"
ipv6_defaultrouter="[PoP IPv6 Endpoint]"
rtadvd_enable="YES"
rtadvd_interfaces="[LAN Interface]"
|