Re: [homenet] HNCP: interaction with routing protocol?

Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr> Wed, 16 December 2015 17:31 UTC

Return-Path: <jch@pps.univ-paris-diderot.fr>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EC6F81A1ADF for <homenet@ietfa.amsl.com>; Wed, 16 Dec 2015 09:31:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.55
X-Spam-Level:
X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_FR=0.35] autolearn=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 9JuOTHi4sJp9 for <homenet@ietfa.amsl.com>; Wed, 16 Dec 2015 09:31:19 -0800 (PST)
Received: from korolev.univ-paris7.fr (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]) (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 D3D921A1BE9 for <homenet@ietf.org>; Wed, 16 Dec 2015 09:31:16 -0800 (PST)
Received: from potemkin.univ-paris7.fr (potemkin.univ-paris7.fr [IPv6:2001:660:3301:8000::1:1]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/56228) with ESMTP id tBGHVFK3020181 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 16 Dec 2015 18:31:15 +0100
Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by potemkin.univ-paris7.fr (8.14.4/8.14.4/relay2/56228) with ESMTP id tBGHVFM4028309; Wed, 16 Dec 2015 18:31:15 +0100
Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id 446D361FA6; Wed, 16 Dec 2015 18:31:15 +0100 (CET)
X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr
Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id sftq--8q0syF; Wed, 16 Dec 2015 18:31:13 +0100 (CET)
Received: from ijon.pps.univ-paris-diderot.fr (col75-1-78-194-40-74.fbxo.proxad.net [78.194.40.74]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id 8DD7961FA3; Wed, 16 Dec 2015 18:31:13 +0100 (CET)
Date: Wed, 16 Dec 2015 18:31:13 +0100
Message-ID: <87oadq47xa.wl-jch@pps.univ-paris-diderot.fr>
From: Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
To: Mikael Abrahamsson <swmike@swm.pp.se>
In-Reply-To: <alpine.DEB.2.02.1512140712170.20919@uplift.swm.pp.se>
References: <87a8pegqs5.wl-jch@pps.univ-paris-diderot.fr> <alpine.DEB.2.02.1512132029350.20919@uplift.swm.pp.se> <87wpsif4kq.wl-jch@pps.univ-paris-diderot.fr> <alpine.DEB.2.02.1512140712170.20919@uplift.swm.pp.se>
User-Agent: Wanderlust/2.15.9
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset=US-ASCII
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]); Wed, 16 Dec 2015 18:31:15 +0100 (CET)
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (potemkin.univ-paris7.fr [194.254.61.141]); Wed, 16 Dec 2015 18:31:15 +0100 (CET)
X-Miltered: at korolev with ID 56719FE3.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)!
X-Miltered: at potemkin with ID 56719FE3.001 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)!
X-j-chkmail-Enveloppe: 56719FE3.000 from potemkin.univ-paris7.fr/potemkin.univ-paris7.fr/null/potemkin.univ-paris7.fr/<jch@pps.univ-paris-diderot.fr>
X-j-chkmail-Enveloppe: 56719FE3.001 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/<jch@pps.univ-paris-diderot.fr>
X-j-chkmail-Score: MSGID : 56719FE3.000 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000
X-j-chkmail-Score: MSGID : 56719FE3.001 on potemkin.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000
X-j-chkmail-Status: Ham
X-j-chkmail-Status: Ham
Archived-At: <http://mailarchive.ietf.org/arch/msg/homenet/CK9AQXnsUurADKXuUlSmAFJTENU>
Cc: homenet@ietf.org
Subject: Re: [homenet] HNCP: interaction with routing protocol?
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Homenet WG mailing list <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/homenet/>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Dec 2015 17:31:20 -0000

> hnetd does address configuration on interfaces, the routing protocol picks
> this up because that's how it's configured...? Hnetd doesn't communicate
> directly with the routing protocol at all, right? It just sets up the
> landscape so the routing protocol can come and survey it and communicate
> the contents.

That's exactly right (and very well put).  That's what I tried to express
in my talk at Prague -- it turns out that HNCP is a very clean design.
(Except where it isn't, of course.)

Hnetd and shncpd do that somewhat differently.  Hnetd assume that the
routing protocol redistributes everything.  Shncpd has closer binding to
the routing protocol, it marks its routes as "proto 43" and expects the
routing protocol to redistribute just that; shncpd also occasionally
inserts dummy "proto 43" routes into the kernel, just so that they get
redistributed into the routing protocol.  The result is that shncpd
produces somewhat cleaner (more aggregated) routing tables, at the cost of
requiring special configuration of the routing protocol.

(Why 43?  Because babeld uses 42, of course.)

-- Juliusz