he.net IPv6 tunnel
John Levine
johnl at iecc.com
Wed Aug 6 23:18:07 UTC 2014
This works for me, routing a /64 from HE through a tunnel onto my LAN.
The IPv6 addresses are all from what HE gave me. Note that the /64
prefix on the tunnel addresses on gif0 are different from the one for
the addresses on my LAN.
----------------------------------------
# ipv6
V6NETNUM="2001:470:1f07:1126"
ipv6_enable="YES"
# v6 tunnel
gif_interfaces="gif0"
gifconfig_gif0="64.57.183.18 209.51.161.14"
ipv6_ifconfig_gif0="2001:470:1f06:1126::2 2001:470:1f06:1126::1 prefixlen 128"
ipv6_defaultrouter="2001:470:1f06:1126::1"
# route on my LAN
ipv6_gateway_enable="YES"
rtadvd_enable="YES"
rtadvd_interfaces="bce0" # Interfaces rtadvd sends RA packets.
# all the other addresses
ifconfig_bce0_ipv6="inet6 $V6NETNUM::2 prefixlen 64"
------------------------------------------------------
I also have a bunch of aliases on bce0 for local v6 web sites and such, e.g.:
ifconfig_bce0_aliases="$ifconfig_bce0_aliases inet6 $V6NETNUM:0:0:4945:4343 prefixlen 64" # an alias
More information about the freebsd-questions
mailing list