[v6ops] Kernel implementation of DANIR for IoT Router - DHCPv6-PD and ND

Alexandre Petrescu <alexandre.petrescu@gmail.com> Mon, 16 September 2019 07:22 UTC

Return-Path: <alexandre.petrescu@gmail.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id 6549F12080E for <v6ops@ietfa.amsl.com>; Mon, 16 Sep 2019 00:22:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.626
X-Spam-Level: **
X-Spam-Status: No, score=2.626 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DC_PNG_UNO_LARGO=0.001, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, HTML_IMAGE_ONLY_24=1.618, HTML_MESSAGE=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL=1.739] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id SsWRyiD7rCmj for <v6ops@ietfa.amsl.com>; Mon, 16 Sep 2019 00:21:59 -0700 (PDT)
Received: from cirse-smtp-out.extra.cea.fr (cirse-smtp-out.extra.cea.fr []) (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 E6FFC120809 for <v6ops@ietf.org>; Mon, 16 Sep 2019 00:21:58 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr []) by cirse-sys.extra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x8G7LvjB022852 for <v6ops@ietf.org>; Mon, 16 Sep 2019 09:21:57 +0200
Received: from pisaure.intra.cea.fr (localhost []) by localhost (Postfix) with SMTP id 4358D201310 for <v6ops@ietf.org>; Mon, 16 Sep 2019 09:21:57 +0200 (CEST)
Received: from muguet2-smtp-out.intra.cea.fr (muguet2-smtp-out.intra.cea.fr []) by pisaure.intra.cea.fr (Postfix) with ESMTP id E77082023C8 for <v6ops@ietf.org>; Mon, 16 Sep 2019 09:21:56 +0200 (CEST)
Received: from [] ([]) by muguet2-sys.intra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x8G7Lksf024969 for <v6ops@ietf.org>; Mon, 16 Sep 2019 09:21:48 +0200
To: "v6ops@ietf.org" <v6ops@ietf.org>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <c7e54351-9096-53e7-0322-cf7d0abc58f2@gmail.com>
Date: Mon, 16 Sep 2019 09:21: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
Content-Type: multipart/alternative; boundary="------------06EEBA6FFD2B402D5D08CC2B"
Content-Language: fr
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/pwzNAiOC8kH5sxwU4li6Xq0cRVI>
Subject: [v6ops] Kernel implementation of DANIR for IoT Router - DHCPv6-PD and ND
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Sep 2019 07:22:02 -0000


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.



Alexandre PETRESCU and Dmytro SHYTYI

PS: we will soon post the source code on github.