From owner-freebsd-questions@FreeBSD.ORG Wed Nov 7 21:21:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 749998B1 for ; Wed, 7 Nov 2012 21:21:40 +0000 (UTC) (envelope-from frederic.perrin@resel.fr) Received: from mail.fperrin.net (mail.fperrin.net [IPv6:2001:41d0:2:2be3::25]) by mx1.freebsd.org (Postfix) with ESMTP id 0ACB98FC0A for ; Wed, 7 Nov 2012 21:21:39 +0000 (UTC) Received: from antre.fperrin.net (antre.priv.fperrin.net [IPv6:fd93:c8e5:9cb3:666::22]) by mail.fperrin.net (Postfix) with ESMTP id 2A4C53326 for ; Wed, 7 Nov 2012 22:21:32 +0100 (CET) Received: (from fred@localhost) by antre.fperrin.net (8.14.5/8.14.5/Submit) id qA7LLUsf059233; Wed, 7 Nov 2012 22:21:30 +0100 (CET) (envelope-from frederic.perrin@resel.fr) X-Authentication-Warning: antre.fperrin.net: fred set sender to frederic.perrin@resel.fr using -f From: =?utf-8?Q?Fr=C3=A9d=C3=A9ric_Perrin?= To: freebsd-questions@freebsd.org Subject: IPv6in4 tunnel with only one /64 prefix Organization: =?utf-8?Q?R=C3=A9seau?= des =?utf-8?B?w4lsw6h2ZXM=?= Date: Wed, 07 Nov 2012 22:21:30 +0100 Message-ID: <86bof9yuqt.fsf@antre.fperrin.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2012 21:21:40 -0000 Hello list, I have a FreeBSD server with native IPv6 connectivity. At home, my ISP provides me with only IPv4 connectivity. In order to get IPv6 to the home, I had the idea of creating a 6in4 tunnel between my home gateway and my FreeBSD server. The part about creating the tunnel, routing between the home and the server works using private addresses (fc00::/8 over gif0). However, I only have one global /64 on the FreeBSD box. What can I do? I have the idea of subnetting the /64 into e.g. /80, route a couple of /80s through gif to the home and use another /80 for the FreeBSD server. However, as the router into which my FreeBSD server is connected will expect the entire /64 to be directly connected, I will have to setup some kind of NDP proxy for the /80 to the home. I will also lose autoconf, but I can live with that. Comments, either on the plan above, or something else I haven't thought of? -- Fred