From owner-freebsd-net@FreeBSD.ORG Wed Sep 10 17:27:00 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF04514C for ; Wed, 10 Sep 2014 17:27:00 +0000 (UTC) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "nyi.unixathome.org", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AECA01FC for ; Wed, 10 Sep 2014 17:27:00 +0000 (UTC) Received: from nyi.unixathome.org (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 019445082E for ; Wed, 10 Sep 2014 17:26:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by nyi.unixathome.org (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2fh-uTV6GA_C for ; Wed, 10 Sep 2014 17:26:44 +0000 (UTC) Received: from smtp-auth.unixathome.org (smtp-auth.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) by nyi.unixathome.org (Postfix) with ESMTPSA id 6201950823 for ; Wed, 10 Sep 2014 17:26:44 +0000 (UTC) From: Dan Langille Content-Type: multipart/signed; boundary="Apple-Mail=_050A1378-1121-459A-9A34-0E76F2C1640F"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Configuration for IPv6 over tunnel Message-Id: <14E3A97C-4FCB-4A2C-B22F-3D0849CECA2D@langille.org> Date: Wed, 10 Sep 2014 13:26:42 -0400 To: freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2014 17:27:01 -0000 --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--