Configuration for IPv6 over tunnel

Dan Langille dan at langille.org
Wed Sep 10 17:27:01 UTC 2014


The existing documentation for setting up IPv6 over a tunnel is incorrect.

Specifically: gifconfig is deprecated.  Use cloned_interfaces="gif0" instead.

  https://www.freebsd.org/doc/handbook/network-ipv6.html

I have filed a PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193523

I have the following configuration for my IPv6 tunnel on FreeBSD 9.3 from Hurricane Electric.

Given:

IPv6 Tunnel Endpoints
Server IPv4 Address:  209.51.x.y
Server IPv6 Address:  2001:470:xx06:9ea::1/64
Client IPv4 Address:  96.245.100.201
Client IPv6 Address:  2001:470:xx06:9ea::2/64

Routed /64:           2001:470:xx07:9ea::/64


My /etc/rc.conf includes

cloned_interfaces="gif0”

ifconfig_gif0="tunnel 96.245.100.201 209.51.x.y mtu 1480”

ifconfig_gif0_ipv6="inet6 2001:470:xx06:9ea::2 2001:470:xx06:9ea::1 prefixlen 128"

ifconfig_em0_ipv6="inet6 2001:470:xx07:9ea:1::1”

ipv6_defaultrouter="2001:470:xx06:9ea::1"

ipv6_gateway_enable=“YES"

rtadvd_enable=“YES”


Comments?  Suggestions?



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 333 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20140910/a47ef286/attachment.sig>


More information about the freebsd-net mailing list