From owner-freebsd-questions@FreeBSD.ORG Wed Aug 6 23:18:07 2014 Return-Path: Delivered-To: freebsd-questions@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 299A4686 for ; Wed, 6 Aug 2014 23:18:07 +0000 (UTC) Received: from miucha.iecc.com (abusenet-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:1126::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "miucha.iecc.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BB848285B for ; Wed, 6 Aug 2014 23:18:06 +0000 (UTC) Received: (qmail 22406 invoked from network); 6 Aug 2014 23:18:05 -0000 Received: from miucha.iecc.com (64.57.183.18) by mail1.iecc.com with QMQP; 6 Aug 2014 23:18:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding; s=342b.53e2b7aa.k1408; i=johnl@user.iecc.com; bh=90au2fowYlz9FCqEt1zxHW8pbwdIHq597LL2j+dKPAc=; b=j8MevYbiPsTPwEtk83dasbsABCWpq9OXERBAPXN3dvGUz3fSX2OXGo8WxxMAEdtMUrtOodalNGBY8k7lYB9YJSQU7+Zm+IZW5HDKjbOhUiU+q2kBp0uVCP8J/GAlxFAgvE2AduVYBlKTrN80fs5l1lyM1OKALooeeRGxSxG+aNSungngkv2BKaeSeUO/88FkKSbYFlQojYDXlfG+BsEJ4mvJTQLw2Ydk9P7YJScDKT3BJA3wPqhTj2alEiKFeTrm Date: 6 Aug 2014 23:17:38 -0000 Message-ID: <20140806231738.13354.qmail@joyce.lan> From: "John Levine" To: freebsd-questions@freebsd.org Subject: Re: he.net IPv6 tunnel In-Reply-To: <20140804105020.GD94656@home.parts-unknown.org> Organization: X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit Cc: benfell@parts-unknown.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 23:18:07 -0000 This works for me, routing a /64 from HE through a tunnel onto my LAN. The IPv6 addresses are all from what HE gave me. Note that the /64 prefix on the tunnel addresses on gif0 are different from the one for the addresses on my LAN. ---------------------------------------- # ipv6 V6NETNUM="2001:470:1f07:1126" ipv6_enable="YES" # v6 tunnel gif_interfaces="gif0" gifconfig_gif0="64.57.183.18 209.51.161.14" ipv6_ifconfig_gif0="2001:470:1f06:1126::2 2001:470:1f06:1126::1 prefixlen 128" ipv6_defaultrouter="2001:470:1f06:1126::1" # route on my LAN ipv6_gateway_enable="YES" rtadvd_enable="YES" rtadvd_interfaces="bce0" # Interfaces rtadvd sends RA packets. # all the other addresses ifconfig_bce0_ipv6="inet6 $V6NETNUM::2 prefixlen 64" ------------------------------------------------------ I also have a bunch of aliases on bce0 for local v6 web sites and such, e.g.: ifconfig_bce0_aliases="$ifconfig_bce0_aliases inet6 $V6NETNUM:0:0:4945:4343 prefixlen 64" # an alias