From owner-freebsd-net@FreeBSD.ORG Wed Sep 10 20:52:27 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 416B6D79 for ; Wed, 10 Sep 2014 20:52:27 +0000 (UTC) Received: from mail.as41113.net (mail.as41113.net [91.208.177.22]) by mx1.freebsd.org (Postfix) with ESMTP id 05D3DB68 for ; Wed, 10 Sep 2014 20:52:25 +0000 (UTC) Received: from [172.21.87.41] (193.98.9.212.in-addr.arpa [212.9.98.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: lists@rewt.org.uk) by mail.as41113.net (Postfix) with ESMTPSA id 3htZtJ5DCHz1N1yG for ; Wed, 10 Sep 2014 21:42:48 +0100 (BST) Message-ID: <5410B7BE.9060005@rewt.org.uk> Date: Wed, 10 Sep 2014 21:42:38 +0100 From: Joe Holden User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: Configuration for IPv6 over tunnel References: <14E3A97C-4FCB-4A2C-B22F-3D0849CECA2D@langille.org> In-Reply-To: <14E3A97C-4FCB-4A2C-B22F-3D0849CECA2D@langille.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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 20:52:27 -0000 On 10/09/2014 18:26, Dan Langille wrote: > 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? > While we're at it, "Routers only store network aggregation addresses in their routing tables, thus reducing the average space of a routing table to 8192 entries. This addresses the scalability issues associated with IPv4, which required every allocated block of IPv4 addresses to be exchanged between Internet routers, causing their routing tables to become too large to allow efficient routing." isn't true and neither is "These addresses are syntactically indistinguishable from unicast addresses but they address a group of interfaces. The packet destined for an anycast address will arrive at the nearest router interface. Anycast addresses are only used by routers." No idea what you'd put in place, though :)