From owner-freebsd-questions@FreeBSD.ORG Sat Oct 25 16:29:34 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 38BE6752 for ; Sat, 25 Oct 2014 16:29:34 +0000 (UTC) Received: from out-mr002.lax02.mailroute.net (mr002.lax02.mailroute.net [199.89.1.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.mailroute.net", Issuer "AlphaSSL CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1712AAE0 for ; Sat, 25 Oct 2014 16:29:33 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by out-mr002.lax02.mailroute.net (Postfix) with ESMTP id 3jQ72n5dhxz5vns; Sat, 25 Oct 2014 16:25:37 +0000 (UTC) X-Virus-Scanned: by MailRoute Received: from out-mr002.lax02.mailroute.net ([199.89.1.5]) by localhost (mr002.lax02.mailroute.net [127.0.0.1]) (mroute_mailscanner, port 10026) with LMTP id 2UyB_PuGYkLJ; Sat, 25 Oct 2014 16:25:37 +0000 (UTC) Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by out-mr002.lax02.mailroute.net (Postfix) with ESMTP id 3jQ72n477Yz5vYR; Sat, 25 Oct 2014 16:25:37 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id A0EE615A3; Sat, 25 Oct 2014 09:25:35 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: freebsd-questions@freebsd.org Subject: Re: IPv6 aliases on FreeBSD 10 References: <5447AD3F.8060304@bytecamp.net> <54490752.7080504@radel.com> <544BCAD1.1040709@bluerosetech.com> x-mayan-date: Long count = 13.0.1.15.13; tzolkin = 1 Ben; haab = 6 Zac Date: Sat, 25 Oct 2014 09:25:35 -0700 In-Reply-To: <544BCAD1.1040709@bluerosetech.com> (Darren Pilgrim's message of "Sat, 25 Oct 2014 09:07:45 -0700") Message-ID: <86y4s4ru9s.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: pepe X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2014 16:29:34 -0000 >>>>> "Darren" == Darren Pilgrim writes: Darren> On 10/25/2014 1:00 AM, pepe wrote: >> I know it's usually done with /64, but my ISP just said: your block is >> 2001:14b8:1801::/48 and >> defaultrouter should be ::1. So I can't really change that. Darren> They meant your allocation is 2001:14b8:1801::/48. You can subnet that Darren> however you like. Subnetting at /64 is BCP for a lot of Darren> reasons. Here's what works for my ISP (I'm still on 8.4): ipv6_enable=YES ipv6_defaultrouter="fe80::1%em0" ipv6_ifconfig_em0="fe80::2/64" ipv6_ifconfig_em0_alias0="2607:f2f8:3080::/64" ipv6_gateway_enable=YES I own the /48, but they want their leg to me to be the first /64 of that. Unlike most ISPs, they're using link-local addresses for that leg for routing... and they send anything for my /48 to fe80::2 on that leg. And yes, I'm using the ::0 address as my primary machine address. It works. :) $ host red.stonehenge.com red.stonehenge.com has address 208.79.95.2 red.stonehenge.com has IPv6 address 2607:f2f8:3080:: :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix consulting, Technical writing, Comedy, etc. etc. Still trying to think of something clever for the fourth line of this .sig