Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2014 09:25:35 -0700
From:      merlyn@stonehenge.com (Randal L. Schwartz)
To:        freebsd-questions@freebsd.org
Cc:        pepe <plaine@gmail.com>
Subject:   Re: IPv6 aliases on FreeBSD 10
Message-ID:  <86y4s4ru9s.fsf@red.stonehenge.com>
In-Reply-To: <544BCAD1.1040709@bluerosetech.com> (Darren Pilgrim's message of "Sat, 25 Oct 2014 09:07:45 -0700")
References:  <CANNwXrYNw3bdnXDLdEVDhfWBxn2wu1Joyd3WpobweHDjUzFfgQ@mail.gmail.com> <5447AD3F.8060304@bytecamp.net> <CANNwXra7nhsH4m52-SX2PqBwHLP1NoqtZmGx-MF4B8VE8HJFTQ@mail.gmail.com> <CANNwXrZ75XtVv84adpum-DU_kf=KjuJfnFpuhZucXJhqBT3K%2Bw@mail.gmail.com> <54490752.7080504@radel.com> <CANNwXrb89ryxdsw7emsP9b6AKQAcS%2B6z=Vr2ChNkX9CcZCMdDQ@mail.gmail.com> <544BCAD1.1040709@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Darren" == Darren Pilgrim <list_freebsd@bluerosetech.com> 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
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>;
Perl/Unix consulting, Technical writing, Comedy, etc. etc.
Still trying to think of something clever for the fourth line of this .sig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86y4s4ru9s.fsf>