Re: [v6ops] A proposal for draft-ietf-6man-rfc4291bis-07 - FE80:: means FE80::/9

Mark Andrews <marka@isc.org> Wed, 08 March 2017 03:29 UTC

Return-Path: <marka@isc.org>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A0833129410 for <ipv6@ietfa.amsl.com>; Tue, 7 Mar 2017 19:29:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.902
X-Spam-Level:
X-Spam-Status: No, score=-6.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5CWiuSG8Ir1A for <ipv6@ietfa.amsl.com>; Tue, 7 Mar 2017 19:29:54 -0800 (PST)
Received: from mx.ams1.isc.org (mx.ams1.isc.org [199.6.1.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 85E59129400 for <ipv6@ietf.org>; Tue, 7 Mar 2017 19:29:54 -0800 (PST)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.ams1.isc.org (Postfix) with ESMTPS id 6D67B24AE1A; Wed, 8 Mar 2017 03:28:31 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTPS id 763C7160069; Wed, 8 Mar 2017 03:28:30 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 4D614160047; Wed, 8 Mar 2017 03:28:30 +0000 (UTC)
Received: from zmx1.isc.org ([127.0.0.1]) by localhost (zmx1.isc.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id axDzvmcbVR-N; Wed, 8 Mar 2017 03:28:30 +0000 (UTC)
Received: from rock.dv.isc.org (c27-253-115-14.carlnfd2.nsw.optusnet.com.au [27.253.115.14]) by zmx1.isc.org (Postfix) with ESMTPSA id E7E1C160044; Wed, 8 Mar 2017 03:28:29 +0000 (UTC)
Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id 9A8FE663A11A; Wed, 8 Mar 2017 14:28:26 +1100 (EST)
To: Alexandre Petrescu <alexandre.petrescu@gmail.com>
From: Mark Andrews <marka@isc.org>
References: <CAN-Dau17q_BrUuzfvB1mLDt6p5UxYikphWaHpa8VQ2L-3kx-DA@mail.gmail.com> <m1cjviu-0000EYC@stereo.hq.phicoh.net> <5BC57F0E-50FD-4452-853F-A08291C91EB1@google.com> <m1ck5mu-0000GaC@stereo.hq.phicoh.net> <5B4AFF50-8CA9-4134-8CE2-A383DB5F8BF5@google.com> <m1ckxfo-0000IMC@stereo.hq.phicoh.net> <225F639E-27C1-4408-BC2B-26500929049B@google.com> <CAOSSMjUR203+hYFBrFBrj9Xkjux3o7fYNd4y9kNyxwpLxF11ew@mail.gmail.com> <6D825351-7F43-4540-89AB-48DC2B5E92E3@google.com> <CAOSSMjUP6m-L1iNhE=BxHW+7hvt4YsZgxxtVn+qmgEVS9HeStA@mail.gmail.com> <CAJE_bqfpE-NWwG12S4CXM+ZnHdHHH31-y+_+pYhuCuq2FtqZ4w@mail.gmail.com> <6f532a72-a142-5d84-f351-c38cba5230d! d@gmail.c om> <5773AF65-4E7E-43B6-BCB1-26F6E9CD3C60@steffann.nl! > <fdc3fa b6-fdcb-f390-e6ea-d9e49edacf52@gmail.com> <7A10E8D9-02F4-4D1C-B422-86ACCAABCB38@steffann.nl> <b86627e7-366! 8-304f-f1 2e-71ad3bfd6f7a@gmail.com> <1F674D50-1C89-444C-A617-C528951F80EC@steffann.nl> <6f2b4f35-8501-f9d8-e2f6-9e545419fb76@gmail.com> <a11c6b9b-ae5c-7c7d-a71c-cc5d8b80d0 47@gmail.com>
Subject: Re: [v6ops] A proposal for draft-ietf-6man-rfc4291bis-07 - FE80:: means FE80::/9
In-reply-to: Your message of "Tue, 07 Mar 2017 22:19:21 +0100." <a11c6b9b-ae5c-7c7d-a71c-cc5d8b80d047@gmail.com>
Date: Wed, 08 Mar 2017 14:28:26 +1100
Message-Id: <20170308032826.9A8FE663A11A@rock.dv.isc.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/MSDVvggZ4x904XPTvr5pJbvAlXA>
Cc: ipv6@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Mar 2017 03:29:55 -0000

In message <a11c6b9b-ae5c-7c7d-a71c-cc5d8b80d047@gmail.com>;, Alexandre Petrescu writes:
> Thanks to this discussion, I would like to promote the following fact
> that I did not know:
>
> If you say "FE80::" without telling the prefix length, that actually
> means "FE80::/9" (and not FE80::/10, nor FE80::/64).  Because 0xFE80  is
> "1111 1110 1000 0000" in binary representation.
>
> Alex

No.

FE80:: is always 128 bits.
FE80::/9 says take the first 9 bits from those 128 bits.
FE80::/10 says take the first 10 bits from those 128 bits.
FE80::/64 says take the first 64 bits from those 128 bits.
FE80::/128 says take the first 128 bits from those 128 bits.

All link local addresses have a prefix of FE80::/10.
Link local addresses on ethernet are further restricted to
have a prefix of FE80::/64.  They are a strict subset of
all valid link local addresses.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org