From owner-freebsd-questions@FreeBSD.ORG Thu Aug 7 04:35:56 2014 Return-Path: Delivered-To: freebsd-questions@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 E29C3251 for ; Thu, 7 Aug 2014 04:35:56 +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 7E6BB2C64 for ; Thu, 7 Aug 2014 04:35:56 +0000 (UTC) Received: (qmail 60486 invoked from network); 7 Aug 2014 04:35:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:user-agent; s=ec45.53e3022a.k1408; bh=30X9CNXgxXAVZlepPh2W6IJhwRXe8FvTOduEMPNPXnE=; b=E8C4Vnbnb78STg15GMPmIxhfgNFde75Mihc90q/y5CBkbVW0MNHa+jNn24h9JxO8IEggxwZq+b+1OTnSBJ2So+yA0u+vTS92NR+EgmtrYoPo5dOIG0YYX/aFXw/COzd/GkwHeyGp20L2e6tQMAa/T7KNHJg0I5V4e1Awxx8uh2AhH98/InOySJSrRW4eYuedwDV+l6QTP1C4Hlg2RqwTtiW9PHVRJLgV1s7YPiUTqMx1cQzZU8Nbx+E2Rh771jDB Received: from localhost ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.0/X.509/SHA1) via TCP6; 07 Aug 2014 04:35:54 -0000 Date: 7 Aug 2014 00:35:50 -0400 Message-ID: From: "John R. Levine" To: "David Benfell" Subject: Re: he.net IPv6 tunnel In-Reply-To: <20140807041023.GA1656@home.parts-unknown.org> References: <20140804105020.GD94656@home.parts-unknown.org> <20140806231738.13354.qmail@joyce.lan> <20140807041023.GA1656@home.parts-unknown.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.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: Thu, 07 Aug 2014 04:35:57 -0000 > ifconfig_em0="inet 50.250.218.161 netmask 255.255.255.240" > ifconfig_em0_alias0="inet 50.250.218.162 netmask 255.255.255.255" > ifconfig_em0_alias1="inet 50.250.218.163 netmask 255.255.255.255" > ifconfig_em0_alias2="inet 50.250.218.164 netmask 255.255.255.255" > ifconfig_em0_alias3="inet 50.250.218.165 netmask 255.255.255.255" > ifconfig_em0_alias4="inet 50.250.218.166 netmask 255.255.255.255" > ifconfig_em0_alias5="inet 50.250.218.167 netmask 255.255.255.255" > ifconfig_em0_alias6="inet 50.250.218.168 netmask 255.255.255.255" > ifconfig_em0_alias7="inet 50.250.218.169 netmask 255.255.255.255" > ifconfig_em0_alias8="inet 50.250.218.170 netmask 255.255.255.255" > ifconfig_em0_alias9="inet 50.250.218.171 netmask 255.255.255.255" > ifconfig_em0_alias10="inet 50.250.218.172 netmask 255.255.255.255" Numbering the aliases is obsolete. Now we glom them into one big string like this: NMASK="netmask 0xffffff00" ifconfig_bce0_aliases="inet6 fe80::2 prefixlen 64" ifconfig_bce0_aliases="$ifconfig_bce0_aliases inet $NETNUM.100 $NMASK" ifconfig_bce0_aliases="$ifconfig_bce0_aliases inet $NETNUM.101 $NMASK" ifconfig_bce0_aliases="$ifconfig_bce0_aliases inet $NETNUM.102 $NMASK" > # all the other addresses > ifconfig_em0_ipv6="inet6 ${V6NETNUM}::2 prefixlen 64" > #ifconfig_em0_alias11="inet6 ${V6NETNUM}::3 prefixlen 64" > #ifconfig_em0_alias12="inet6 ${V6NETNUM}::4 prefixlen 64" If you don't want to route the v6 addresses on your LAN, put them on the loopback lo0 rather than a real interface. Regards, John Levine, johnl@iecc.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. http://jl.ly