Re: [lp-wan] lpwan-overview comments

Stephen Farrell <stephen.farrell@cs.tcd.ie> Sat, 01 July 2017 19:41 UTC

Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: lp-wan@ietfa.amsl.com
Delivered-To: lp-wan@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 55792129AB0 for <lp-wan@ietfa.amsl.com>; Sat, 1 Jul 2017 12:41:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level:
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 NzPa9L3BLydJ for <lp-wan@ietfa.amsl.com>; Sat, 1 Jul 2017 12:41:01 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ABC6C126CC7 for <lp-wan@ietf.org>; Sat, 1 Jul 2017 12:41:01 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 52F61BE77; Sat, 1 Jul 2017 20:40:59 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WDwLEROlTWnv; Sat, 1 Jul 2017 20:40:57 +0100 (IST)
Received: from [10.244.2.100] (95-45-153-252-dynamic.agg2.phb.bdt-fng.eircom.net [95.45.153.252]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 49794BE74; Sat, 1 Jul 2017 20:40:57 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1498938057; bh=69kX/ibosMyFyw1v6uht/+aXXa6nDTSjHWzX5N2sAio=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=jZbWRUJ0ZRkDjaV3VSW1rBojjinezX5iXB7G3R/v2wWZG42u4JxP7/sBbbqZIlalq 6dYhEJ3FuAcaoHgcKzHZno8WC5abXcjcSAiy10+K+/LdeDNtamaMeFu0DTS0/iQdvx CjFCZ531TLrrHC7XL2yK6nC2BZvMlBpjXGk/mVKI=
To: Alper Yegin <alper.yegin@actility.com>
Cc: lp-wan@ietf.org
References: <59F856E1230C43D5A7CE1018F7C2DCA8@WeiGengyuPC> <E0AE5747-8F22-4E46-ABD8-5C55E821F9A1@actility.com> <259da1ec-041f-875b-813b-3e20844e822d@cs.tcd.ie> <715019FF-4331-43C0-82EA-829EA5176BF3@actility.com>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <88a4a10c-6abf-efeb-0430-da9cbf24b5a9@cs.tcd.ie>
Date: Sat, 01 Jul 2017 20:40:56 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <715019FF-4331-43C0-82EA-829EA5176BF3@actility.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="EvmGVa7oCpNvVxeTnDcEL3iWftx4ivhsv"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/h1qC2i8_6iohAy2mC_dnw4yE-2w>
Subject: Re: [lp-wan] lpwan-overview comments
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Low-Power Wide Area Networking \(LP-WAN\), also known as LPWA or Low-Rate WAN \(LR-WAN\)" <lp-wan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lp-wan/>
List-Post: <mailto:lp-wan@ietf.org>
List-Help: <mailto:lp-wan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 01 Jul 2017 19:41:04 -0000

Hiya,

I suspect this is one of those where we'll only understand
one another f2f, but...

On 01/07/17 20:18, Alper Yegin wrote:
> Hi Stephen,
> 
>>>
>>>
>>>   End-devices are assumed to work with one or a quite limited number of
>>>   applications, identified by a 64-bit AppEUI, which is assumed to be a
>>>   registered IEEE EUI64 value.
>>>
>>>
>>>
>>> AppEUI is being renamed as JoinEUI in LoRaWAN 1.1, and in fact it identifies the JS.
>>> JoinEUI and JS terms are not present in LW1.0.x, but nevertheless the latest definition of the AppEUI in LW1.0.2 is as follows:
>>>
>>>
>>>
>>> The AppEUI is a global application ID in IEEE EUI64 address space that uniquely identifies
>>>
>>> the entity able to process the JoinReq frame.
>>>
>>>
>>> So, we better not treat it as application identifier, but as identifier of the entity that can authenticate the Join-request frames.
>>>
>>> For example, instead of:
>>>
>>> AppEUI	IEEE EUI64 naming the application
>>>
>>> We better say:
>>>
>>> AppEUI	IEEE EUI64 naming the entity that processes Join-request
>>
>> So I just don't understand how that can be correct, sorry;-)
>>
>> A join-request is processed by a NS (or, in 1.1 a JS). There are very
>> few of those, maybe 1 per n/w. There are many more device-types, which
>> do mostly map 1:1 with AppEUIs. And the same device-types can be found
>> in many networks.
>>
>> So the suggested text just seems incorrect to me.
>>
>> I'd say we're better to just stick with 1.0.2 terms tbh.
>>
> 
> If we want to strictly  stick with the LW1.0.2 definition, than it’d be:
> 
> AppEUI	IEEE EUI64 application id that identifies the entity processesing Join-request
> 

Just to note: the above doesn't help me. I read it as the same as
your previous suggested text, and hence, for me, it just reads like
a false statement. (I don't mean badly worded, I mean untrue:-)

> In practice, it identifies the JS.

Let me try explain why I don't get that.

Each instance of some class of device will have the same AppEUI,
call that "X." Let's say there are 10^5 instances of devices
like that.

Let's say there are 2 LoRaWAN networks, each with an NS that has
a co-located NS. With half the "X" type devices in each.

Both networks (call them N1, N2) have devices of the type that
uses AppEUI X.

There is a 5000:1 ratio between instances of X and NS's/JS's
in each network.

X therefore does not identify an NS or JS or anything like that.

Do you see why I'm confused if you want to say that X identifies
or names the JS?

Cheers,
S.

> 
> Note that:
> - NS and JS may be co-located or separated. This is true for both LW1.0.x and LW1.1 specs.
> - The entity that processes the Join-request and generates Join-accept is the JS.
> - Single NS may be connected to multiple JSs.
> - Spec is based on 1:1 relationship between the end-device and JS. (Obviously, implementations can extend that).
> - If the NS knows the identify of the JS to process an incoming Join-request based on the DevEUI, then AppEUI (which is later renamed to JoinEUI in LW1.1) has no significance. Otherwise, the NS relies on the AppEUI (JoinEUI) to identify the JS to process the request.
> 
> I just elaborated on these details, not to suggest including in the draft, but to point out that the significance of the AppEUI is to “ identify(ies) the entity able to process the JoinReq frame.” as stated in the LW1.0.2 spec. As long as we capture that, it is OK if the draft also refers to it as “application id”. (The reason name of the Join-request field morphed from AppEUI into JoniEUI in LW1.1 is basically this.)
> 
> Regards,
> 
> Alper
> 
> 
> 
> 
> 
> 
> 
> 
>> Cheers,
>> S.
>>
>>>
>>>
>>>
>>>
>>> Thanks Stephen.
>>>
>>> Alper
>>>
>>>
>>>
>>> _______________________________________________
>>> lp-wan mailing list
>>> lp-wan@ietf.org
>>> https://www.ietf.org/mailman/listinfo/lp-wan
>>>
>>
> 
> _______________________________________________
> lp-wan mailing list
> lp-wan@ietf.org
> https://www.ietf.org/mailman/listinfo/lp-wan
>