Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 13:26:42 -0400
From:      Dan Langille <dan@langille.org>
To:        freebsd-net@freebsd.org
Subject:   Configuration for IPv6 over tunnel
Message-ID:  <14E3A97C-4FCB-4A2C-B22F-3D0849CECA2D@langille.org>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_050A1378-1121-459A-9A34-0E76F2C1640F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

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

Specifically: gifconfig is deprecated.  Use cloned_interfaces=3D"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=3D193523

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=3D"gif0=94

ifconfig_gif0=3D"tunnel 96.245.100.201 209.51.x.y mtu 1480=94

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

ifconfig_em0_ipv6=3D"inet6 2001:470:xx07:9ea:1::1=94

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

ipv6_gateway_enable=3D=93YES"

rtadvd_enable=3D=93YES=94


Comments?  Suggestions?




--Apple-Mail=_050A1378-1121-459A-9A34-0E76F2C1640F
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iKYEARECAGYFAlQQidJfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldDA3REZBQjJGRUQ3NEE5QkE0NTNGOUJCNzBB
MEIxNzE0Q0ZGQjlEM0MACgkQCgsXFM/7nTzTUACeITynB0RWzR2+GBl1IkH+JbUE
xjwAn0L5j1btaGV7hrK7tVTx6xPAIZUn
=Yin9
-----END PGP SIGNATURE-----

--Apple-Mail=_050A1378-1121-459A-9A34-0E76F2C1640F--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14E3A97C-4FCB-4A2C-B22F-3D0849CECA2D>