Re: [dhcwg] Fwd: Kernel implementation of DANIR for IoT Router - DHCPv6-PD and ND

Alexandre Petrescu <alexandre.petrescu@gmail.com> Tue, 17 September 2019 09:18 UTC

Return-Path: <alexandre.petrescu@gmail.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B1FE1200EF for <dhcwg@ietfa.amsl.com>; Tue, 17 Sep 2019 02:18:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.631
X-Spam-Level:
X-Spam-Status: No, score=-2.631 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=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 zdVos4BcSMCC for <dhcwg@ietfa.amsl.com>; Tue, 17 Sep 2019 02:18:50 -0700 (PDT)
Received: from oxalide-smtp-out.extra.cea.fr (oxalide-smtp-out.extra.cea.fr [132.168.224.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B008A1200DE for <dhcwg@ietf.org>; Tue, 17 Sep 2019 02:18:49 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by oxalide-sys.extra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x8H9IlwM177642; Tue, 17 Sep 2019 11:18:47 +0200
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id F2742203E62; Tue, 17 Sep 2019 11:18:46 +0200 (CEST)
Received: from muguet2-smtp-out.intra.cea.fr (muguet2-smtp-out.intra.cea.fr [132.166.192.13]) by pisaure.intra.cea.fr (Postfix) with ESMTP id E462E203E29; Tue, 17 Sep 2019 11:18:46 +0200 (CEST)
Received: from [10.8.35.150] (is154594.intra.cea.fr [10.8.35.150]) by muguet2-sys.intra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x8H9Ikjl003335; Tue, 17 Sep 2019 11:18:46 +0200
To: Li HUANG <bleuoisou@gmail.com>
Cc: dhcwg@ietf.org
References: <c7e54351-9096-53e7-0322-cf7d0abc58f2@gmail.com> <740671f9-6e68-70ac-8dd2-91f9d24b965d@gmail.com> <CAGGiuEbxbw67MgKUCcZcp0KsYoiewXogrynFU7b3HThOY6FD-Q@mail.gmail.com>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <8a4ab9f5-d81c-cc33-d2a1-f0f2848439fc@gmail.com>
Date: Tue, 17 Sep 2019 11:18:46 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <CAGGiuEbxbw67MgKUCcZcp0KsYoiewXogrynFU7b3HThOY6FD-Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: fr
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/Ufee9V37yq4XJZ9B-s98o2TMdoU>
Subject: Re: [dhcwg] Fwd: Kernel implementation of DANIR for IoT Router - DHCPv6-PD and ND
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Sep 2019 09:18:52 -0000

Hi Li,
Thank you for the message.

Le 17/09/2019 à 03:48, Li HUANG a écrit :
> 09:39.hk <http://39.hk> S8 Sept 17th 2019
> 
> 
> Thank you dhcwg returning on this,
> 
> 
> 
> IoT either PTP to dhcpv6 pd server sounds very like the running 
> preferially to wireless, or phone networks instead of apt windows that 
> blocked wwan, wlan services of it ...

Indeed.  An IoT Router is a device of class IoT, but has several IP 
interfaces, hence it is a router.

An IoT Router uses the wireless egress interface (either wlan, or 
cellular) to send DHCPv6-PD request.

> To the kernel apart, OEM user would principle following its offered 
> updates of system, in case dhcpv6 required update, how would clients 
> obey protocol rcf 3315, 8415, 6260 whilst OEM warranty contract to get 
> all none conflicts?

Please separate the phrases into sentences, by using terminating dots. 
If you do, I will understand you better.  Did you mean this:

"About the kernel part: OEM user would in principle follow the system 
updates.  The updates could be performed by using an IP address obtained 
by dhcpv6.  But how would clients obey protocol rfc3315, 8415, 6260? 
They need to maintain warranty and avoid conflicts".

Let me try to answer.

In an IoT router there is indeed a modem of an OEM.  For example a 
Huawei or a Qualcomm modem.  This modem often updates its software, in 
order to move from 4G+ to 4G++, for example.  Typically it updates by 
using over-the-air software update technology.  It needs an IP address 
for itself.  This IP address is just one of multiple addresses of an IoT 
router.   Multiple addresses make for a prefix.  To obtain a prefix one 
uses DHCPv6-PD, not just SLAAC.

So, the OEM user needs to run DHCPv6-PD.  It must do so in accordance 
with RFC3315 and then RFC8415.  It needs to update its software from 
RFC3315 to RFC8415.

> Microsoft is one putting on tracking, it must be forwarded to them about.

A Microsoft computer, like a Windows 10 tablet, also uses a 4G modem. 
Windows does implement DHCPv6.

Do you know whether Windows 10 implements DHCPv6-PD?

> Let have your kind advises on it please .

I would like to learn whether I can put this open source DHCPv6-PD plus 
ND linux kernel implementation into the Windows kernel?

https://github.com/dmytroshytyi/KD6-DHCPv6-PD-DANIR

Or maybe in a BSD OS?

Or maybe run this linux kernel software as a virtual machine on windows 
and link its virtual interface to the real interface?

Alex

> 
> 
> 
> Sincerely yours
> Li HUANG
> 
> 
> On Tue, Sep 17, 2019, 00:18 Alexandre Petrescu 
> <alexandre.petrescu@gmail.com <mailto:alexandre.petrescu@gmail.com>> wrote:
> 
>     Hello to participants in DHC WG,
> 
>     One might be interested in this kernel implementation of DHCPv6-PD
>     parts.
> 
>     Yours,
> 
>     Alex and Dmytro
> 
> 
>     -------- Message transféré --------
>     Sujet : 	Kernel implementation of DANIR for IoT Router - DHCPv6-PD
>     and ND
>     Date : 	Mon, 16 Sep 2019 09:21:46 +0200
>     De : 	Alexandre Petrescu <alexandre.petrescu@gmail.com>
>     <mailto:alexandre.petrescu@gmail.com>
>     Pour : 	v6ops@ietf.org <mailto:v6ops@ietf.org> <v6ops@ietf.org>
>     <mailto:v6ops@ietf.org>
> 
> 
> 
>     Hi,
> 
>     The kernel implementation of DANIR for IoT Router was finally
>     working a few weeks ago.
> 
>     It is an implementation of draft-shytyi-v6ops-danir-03.txt.  This is
>     the right thing to do, instead of '64share' RFC7278.
> 
>     In this video one can see the kernel in the IoT Router issues a
>     DHCPv6 PD request on its egress and obtains a /56; it then makes
>     several /64s out of it and subsequently sends RAs with these on the
>     ingress interfaces.
> 
>     The DHCPv6 server is took off-the-shelf.  The PDP part is not
>     present in the IoT Router, but we expect it to work ok on a ptp link
>     on a cellular network to a smartphone.
> 
>     The video recorded the virtual machines output on the IoT Router
>     (featured below), the Client device behind it, and the DHCPv6-PD server.
> 
>     https://youtu.be/DymVQY7bCUM
> 
> 
>     Yours,
> 
>     Alexandre PETRESCU and Dmytro SHYTYI
> 
>     PS: we will soon post the source code on github.
> 
>     _______________________________________________
>     dhcwg mailing list
>     dhcwg@ietf.org <mailto:dhcwg@ietf.org>
>     https://www.ietf.org/mailman/listinfo/dhcwg
>