[6lo] Comments on draft-ietf-6lo-lowpanz-03

Alexandru Petrescu <alexandru.petrescu@gmail.com> Wed, 05 March 2014 17:12 UTC

Return-Path: <alexandru.petrescu@gmail.com>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5AD811A0276 for <6lo@ietfa.amsl.com>; Wed, 5 Mar 2014 09:12:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4
X-Spam-Level:
X-Spam-Status: No, score=-4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, GB_I_INVITATION=-2, SPF_PASS=-0.001] autolearn=ham
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 s_GYwGuFxj4X for <6lo@ietfa.amsl.com>; Wed, 5 Mar 2014 09:12:36 -0800 (PST)
Received: from mail-ee0-x230.google.com (mail-ee0-x230.google.com [IPv6:2a00:1450:4013:c00::230]) by ietfa.amsl.com (Postfix) with ESMTP id BD7DA1A0183 for <6lo@ietf.org>; Wed, 5 Mar 2014 09:12:35 -0800 (PST)
Received: by mail-ee0-f48.google.com with SMTP id e51so595408eek.35 for <6lo@ietf.org>; Wed, 05 Mar 2014 09:12:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Pyap5JrgADaa6/HpOEuT9wnY9nTF1hJhj4V7aY+KZkM=; b=krgetPK0QlVv0Mz55pQou4FwR/IhBRHh9KlkrjX+eXGyQGeFPZcmHLHkLIuY9NUXgg gX4bpva+VAwdW4gVYc9dMhiw77IRmFRGV6rpwfJrljXdE2mVGcItXBh2IO0IoteR/6WB N8568Idi0Y7cWlt8/0faQvB1DXvdNxTbB4wDCDcJQU66ChD0lFdyT3sLMGLeAG7BFbtc X4rnt0zbIUQnSHWrO4UXqrrAFT1tC3ARzx5yEWki+EZM8fNyWjqGEVd9T+JMB8PV4s/f Nbp9BRlFODTkUldMBglndRCojMj5kezTgj6xqjdEIPZ4Bl5z/yWrAOqUvwVW5lYSFwF2 Gw7g==
X-Received: by 10.14.47.133 with SMTP id t5mr3955728eeb.96.1394039551723; Wed, 05 Mar 2014 09:12:31 -0800 (PST)
Received: from [31.133.164.107] (dhcp-a46b.meeting.ietf.org. [31.133.164.107]) by mx.google.com with ESMTPSA id 43sm11330130eeh.13.2014.03.05.09.12.29 for <6lo@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Mar 2014 09:12:30 -0800 (PST)
Message-ID: <53175AF9.4060509@gmail.com>
Date: Wed, 05 Mar 2014 18:12:25 +0100
From: Alexandru Petrescu <alexandru.petrescu@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: 6lo@ietf.org
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/6lo/zuj4XuU250CIluUU8z1JyzyInZ8
Subject: [6lo] Comments on draft-ietf-6lo-lowpanz-03
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Mailing list for the 6lo WG for Internet Area issues in IPv6 over constrained node networks." <6lo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6lo>, <mailto:6lo-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/6lo/>
List-Post: <mailto:6lo@ietf.org>
List-Help: <mailto:6lo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lo>, <mailto:6lo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Mar 2014 17:12:38 -0000

Hello to participants to 6lo WG, and authors of draft-ietf-6lo-lowpanz-03.

I have a few comments on some parts of the draft which relate mostly to 
the other existing IPv6-over-foo documents.  Note I have no experience 
with lowpanz G.9959 networks, so I really cant comment on the new 
features introduced by this draft, like HC or address registration.

draft-ietf-6lo-lowpanz-03 says:
> [RFC2460] specifies that IPv6 packets may be up to 1280 octets.

Hmm, I rather think rfc2460 reads that the _minimal_ MTU should be 1280, 
not up to 1280.
RFC2460:
> IPv6 requires that every link in the internet have an MTU of 1280
> octets or greater.
(true, some people me included sometimes say literally 'minimum MTU', 
which may confusely expand into 'minimal maximum transmission unit').

> Alternatively, IPv6 addresses may be assigned centrally via DHCP,
> leading to a "non-link-layer-derived IPv6 address".

In a sense yes, I agree.

However, I understand the link layer address is also provided centrally.
  Hence the invitation seems immediate that the same server which
provides the link layer address also forms an IP address out of it and
provides it via DHCP to the end node.  This is just a thought.

With respect to the DHCP use of this, one realizes that when both SLAAC
and DHCP are used, then there are a couple of messages too many for
constrained links, and two protocol implementations as well, no?

draft says:
> A NodeID is mapped into an IEEE EUI-64 identifier as follows:
>
> IID = 0000:00ff:fe00:YYXX

But later on it says:
> The IPv6 link-local address [RFC4291] for a G.9959 interface is
> formed [...] The "Universal/Local" (U/L) bit MUST be set to zero in
> keeping with the fact that this is not a globally unique value
> [EUI64].

Is it or is it not an IEEE EUI-64 identifier?  Maybe the first occurence
should not really say "EUI-64", no?

(and, one is aware of RFC7136:
>    Specifications of other forms of 64-bit IID MUST specify how all 64
>    bits are set, but a generic semantic meaning for the "u" and "g" bits
>    MUST NOT be defined.  However, the method of generating IIDs for
>    specific link types MAY define some local significance for certain
>    bits.)

Then,

> The IPv6 link-local address [RFC4291] for a G.9959 interface is
> formed by appending the IID defined above to the IPv6 link local
> prefix FE80::/64.

Just a detail, but I would be careful saying 'fe80::/64', and maybe 
consider saying 'fe80::/10'.  The IPv6-over-Ethernet RFC2464 says former 
whereas the IPv6 Addr Arch RFC says the latter.  This is of course a 
matter of small detail, both are clear enough.

draft says:
> 4.4.2.1. Prefix assignment considerations
>
>
>    As stated by [RFC6775], an ABR is responsible for managing
>    prefix(es).  Global routable prefixes may change over time.  It is
>    RECOMMENDED that a ULA prefix is assigned to the 6LoWPAN subnet to
>    facilitate stable site-local application associations based on IPv6
>    addresses.

Ok, but how to do this assignment?   Administrative (manual) assignment? 
  Maybe advertised in RA?  Maybe delegated with prefix delegation?  I 
see each of the 3 useful.

> 4.4.2.1. Prefix assignment considerations
>
>
>    As stated by [RFC6775], an ABR is responsible for managing
>    prefix(es).  Global routable prefixes may change over time.  It is
>    RECOMMENDED that a ULA prefix is assigned to the 6LoWPAN subnet to
>    facilitate stable site-local application associations based on IPv6
>    addresses.  A node MAY support the M flag of the RA message.  If the
>    M flag is not supported, link-layer-derived addressing MUST be used.
>    If the M flag is supported, link-layer-derived addressing MUST be
>    used if the M flag is 0, while DHCPv6 address assignment MUST be used
>    if the M flag is 1.

This paragraph overall seems to read as if link-layer-derived addressing 
is the alternative to non link-layer-derived addressing.  I dont think 
that would be the case.

DHCP could provide addresses to end nodes that contain that 
link-layer-derived address, especially because it may be the same 
machine which provides it the link-layer address itself, no?

Or does this imply that if DHCP is assigning the addresses, then these 
addresses must not be link-layer-derived?

Or maybe I just plain dont understand the words 'link-layer-derived'... 
is it maybe 'link-address derived'?  Or is it 'address formed by the 
link layer and not by the networking layer'?

draft says:
>    [G.9959]   "G.9959 (02/12) + G.9959 Amendment 1 (10/13): Short range,
>               narrow-band digital radiocommunication transceivers",
>               February 2012.

I think it should be stated that this document is available publicly, I 
just browsed it for free at:
http://www.itu.int/rec/T-REC-G.9959-201202-I/en

Is this the only ITU document worth mentioning?

Is there any ITU G.9959 document containing the word 'IPv6'?

Alex