Re: [homenet] Configuration must not be carried by the routing protocol

Acee Lindem <acee.lindem@ericsson.com> Tue, 25 June 2013 20:34 UTC

Return-Path: <acee.lindem@ericsson.com>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3CFB211E8140 for <homenet@ietfa.amsl.com>; Tue, 25 Jun 2013 13:34:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.3
X-Spam-Level:
X-Spam-Status: No, score=-1.3 tagged_above=-999 required=5 tests=[AWL=1.300, BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9A5FyWRRxjm3 for <homenet@ietfa.amsl.com>; Tue, 25 Jun 2013 13:34:51 -0700 (PDT)
Received: from usevmg21.ericsson.net (usevmg21.ericsson.net [198.24.6.65]) by ietfa.amsl.com (Postfix) with ESMTP id E968411E8131 for <homenet@ietf.org>; Tue, 25 Jun 2013 13:34:50 -0700 (PDT)
X-AuditID: c6180641-b7fba6d000003daf-f8-51c9fee96120
Received: from EUSAAHC002.ericsson.se (Unknown_Domain [147.117.188.78]) by usevmg21.ericsson.net (Symantec Mail Security) with SMTP id E7.75.15791.AEEF9C15; Tue, 25 Jun 2013 22:34:50 +0200 (CEST)
Received: from EUSAAMB101.ericsson.se ([147.117.188.118]) by EUSAAHC002.ericsson.se ([147.117.188.78]) with mapi id 14.02.0328.009; Tue, 25 Jun 2013 16:34:50 -0400
From: Acee Lindem <acee.lindem@ericsson.com>
To: ietfdbh <ietfdbh@comcast.net>
Thread-Topic: [homenet] Configuration must not be carried by the routing protocol
Thread-Index: AQHOceIPpNycgrtak0ml9xXvvc4cjplHJigA
Date: Tue, 25 Jun 2013 20:34:49 +0000
Message-ID: <94A203EA12AECE4BA92D42DBFFE0AE47189B02@eusaamb101.ericsson.se>
References: <878v1yqhje.wl%jch@pps.univ-paris-diderot.fr> <020301ce71e1$da38d120$8eaa7360$@comcast.net>
In-Reply-To: <020301ce71e1$da38d120$8eaa7360$@comcast.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.117.188.135]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <8A868811B9BCD745AF2A59CD715F9F31@ericsson.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJLMWRmVeSWpSXmKPExsUyuXSPn+6rfycDDdp+yli8X3SIxeL2pRiL z5/+sTowe0x+PIfRY8mSn0weF3e/YwxgjuKySUnNySxLLdK3S+DK+DRlKmvBO8eKfw+PMTYw LjbtYuTgkBAwkZhx2q2LkRPIFJO4cG89WxcjF4eQwFFGiX0z57BCOMsZJU6en8cMUsUmoCPx /NE/ZpBmEQFFie13zEHCzAKJEgeeXwcLCwsESWzrFYSoCJY4f64WpEJEwEjizawdYENYBFQl jlyYC2bzCnhLvDy+nAXEFhLIlLi1sY0NxOYUsJI4v+gOE4jNCHTa91NrmCA2iUvcejKfCeJk AYkle84zQ9iiEi8f/2OFsJUlvs95xAJRryOxYPcnNpBzmAWsJc6vdIAIa0ssW/ga6gRBiZMz n7BMYBSfhWTDLCTdsxC6ZyHpnoWkewEj6ypGjtLi1LLcdCPDTYzA6Domwea4g3HBJ8tDjNIc LErivO9P7QoUEkhPLEnNTk0tSC2KLyrNSS0+xMjEwSnVwMj6TPuu5Ycry+a4MiZ8q1p0NlXp S+8/bjOLFXMy62qvh/l4czaX6Dh82dqvuE5xwV7xPQ731/2a2GaeuH7f3uiyt//X7uRrCDl/ hluWwerezs/OR8+5zd/qqne+7EzixwfSk3ctcX+3OOnC3xn93l5nT4VKXOJkvWhT8zXJ9M4v Q/tJXuuS4jqVWIozEg21mIuKEwEv/HeIfAIAAA==
Cc: "<homenet@ietf.org>" <homenet@ietf.org>, Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Subject: Re: [homenet] Configuration must not be carried by the routing protocol
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 25 Jun 2013 20:34:56 -0000

In any case, I just scanned the architecture document and there doesn't appear to be anything that implies a routing protocol will be used to disseminate configuration. Hence, this discuss can be independent of the WGLC. 
Acee 
On Jun 25, 2013, at 4:23 PM, ietfdbh wrote:

> Hi,
> 
> Just a comment ...
> You say " There is an IETF standard configuration protocol, and that's
> DHCPv6."
> 
> Actually, the IETF has a number of configuration protocol standards, not
> just DHCPv6.
> (Standards are wonderful; everybody should have one!)
> If you are going to consider using a standard configuration protocol, then
> you should also consider, depending on an analysis of the specific needs for
> homenet:
> DHCP, Netconf, RADIUS, Diameter, CAPWAP, COPS-PR, and SNMP, amongst others.
> 
> Some of these I would not recommend for homenet, but they are IETF standard
> configuration protocols.
> 
> David Harrington
> ietfdbh@comcast.net
> +1-603-828-1401
> 
> -----Original Message-----
> From: homenet-bounces@ietf.org [mailto:homenet-bounces@ietf.org] On Behalf
> Of Juliusz Chroboczek
> Sent: Tuesday, June 25, 2013 12:31 PM
> To: homenet@ietf.org Group
> Subject: [homenet] Configuration must not be carried by the routing protocol
> 
> Dear editors, dear group,
> 
> After the recent thread on this list, and a number of private mail
> exchanges, I'm under the impression that there might be a consensus that
> configuration information should not be carried over the routing protocol.
> In this mail, I argue that
> 
>  configuration information should be carried by a protocol separate
>  from the routing protocol.
> 
> We should therefore make serious efforts to ensure that nothing in the arch
> documents prevents carrying configuration information in a separate
> protocol.  Ideally, we should include language in the arch document that
> encourages such a separate implementation, but I'm not sure if we can build
> consensus at this point.
> 
> This mail is structured as follows:
> 
> 1. advantages of carrying configuration information over the routing
> protocol; 2. advantages of carrying configuration information over a
> separate protocol; 3. possible configuration protocols; 4. conclusions.
> 
> 
> 1. Advantages of carrying configuration information over the routing
>   protocol
> 
> I've heard the following advantages claimed for conflating the two
> functions:
> 
> (i)  it is not necessary to implement a new flooding protocol, which
>     saves space on resource-limited routers;
> (ii) all routers participate in the routing protocol, while a new
>     configuration protocol requires ensuring that all routers forward
>     the configuration information.
> 
> As I've shown with AHCP[1,2], however, a reasonably efficient, purely
> user-space, increasing diameter flooding protocol can be implemented in a
> hundred lines of C code or so, and takes just a few kB of flash and a few
> bytes of memory; this is why I find point (i) above unconvincing.
> Additionally, since homenet is planning to mandate the implementation of a
> new routing protocol on all home routers, mandating a configuration
> forwarding daemon does not break compatibility any further.
> 
> 
> 2. Advantages of separating configuration from routing
> 
> There are significant advantages to distributing configuration information
> over a separate protocol.
> 
> (i)   distributing configuration information on a simple dedicated
>      protocol makes monitoring and trouble-shooting easier;
> (ii)  the architecture is more robust -- issues with the routing protocol
>      do not prevent configuration information from being distributed;
> (iii) should new requirements arise, it is possible to reuse most of the
>      homenet architecture with a new routing protocol;
> (iv)  should new requireent arise, it is possible to reuse most of the
>      homenet architecture while running multiple routing protocols.
> 
> Point (i) is important -- experience with DHCPv4 and RA shows how easy it is
> to run into issues with configuration protocols, and how useful it is to be
> able to identify and decode configuration packets without having a full
> understanding of a complex routing protocol.
> 
> Point (ii) is probably of secondary interest, since all implemen- tations of
> link-state protocols are perfectly robust and completely debugged.  However,
> we all know the pain of recovering a router that has lost its IP addresses,
> anything that avoids such pain should be welcome.
> 
> Points (iii) and (iv) are very important to me.  I firmly believe that once
> homenet starts being deployed, smart amateurs are going to start building
> topologies that we don't even dream of, using link technologies that we
> never heard of.  Most probably, the homenet routing protocol can then be
> extended to deal with the new topologies; but before this happens it will be
> important that people can reuse the homenet architecture with a different
> protocol.  Hence, it is vitally important that the homenet architecture be
> modular enough to allow switching routing protocols.
> 
> 
> 3. Possible configuration protocols
> 
> 3.1 RA
> 
> RAs are ignored by routers, and rightly so -- RAs have no loop avoidance
> mechanism, and using RAs to configure routers leads to a number of problems
> that I believe to be unsolvable.  Extending the RA protocol to be suitable
> for configuring routers is probably not worth the hassle, and will lead to
> confusion.
> 
> 3.2 DHCPv6
> 
> There is an IETF standard configuration protocol, and that's DHCPv6.
> Other people on this list are more knowledgeable about DHCPv6, so I'll
> refrain from making a fool of myself; however, I'll take the risk of
> claiming that DHCPv6 (probably with extensions) looks like an eminently
> suitable protocol for configuring homenet routers.
> 
> 3.3 A new protocol
> 
> In the Babel experiment, I have designed a new protocol, which I called
> AHCP[1,2].  Since AHCP is designed to run before routing is functional, it
> makes minimal assumptions about the network -- it only requires each
> interface to have a link-local IPv6 address and to be able to participate in
> link-local multicast traffic.  An AHCP client implements an increasing
> diameter search for an AHCP server.
> 
> The full AHCP implementation (client+server+forwarder, with support for
> Linux and BSD Unix), consists of 3500 lines of C and 350 lines of bourne
> shell code, and compiles to less than 40 kB.  Subset implemen- tations are
> possible.  We have found AHCP to be very robust and reasonably fast even in
> the presence of massive packet loss.  The traffic generated is very
> reasonable, even when simultaneously rebooting the whole network.
> 
> I am not pushing AHCP as the homenet configuration protocol, since I have
> good hope that a variant of DHCPv6 can be used.  However, I do hope that the
> results of the AHCP experiment can serve as useful input for this group.
> 
> 
> 4. Conclusions
> 
> For the reasons outlined above, it is my firm opinion that configuration
> information should not be carried by the Homenet routing protocol.  Homenet
> routers should either be configured by a variant of DHCPv6, or a new
> protocol should be designed.
> 
> The arch document should be carefully reviewed, and anything that risks
> impeding such a solution must be eliminated.  Ideally, the arch document
> should encourage separating configuration distribution from routing.
> 
> Should DHCPv6 be finally chosen, I will be glad to collaborate on writing a
> tiny DHCPv6 daemon suitable for homenet.  (And I have a fair amount of
> experience with writing tiny network daemons to run on 8MB routers.)
> 
> 
> [1] http://tools.ietf.org/html/draft-chroboczek-ahcp
> [2] http://www.pps.univ-paris-diderot.fr/~jch/software/ahcp/
> _______________________________________________
> homenet mailing list
> homenet@ietf.org
> https://www.ietf.org/mailman/listinfo/homenet
> 
> _______________________________________________
> homenet mailing list
> homenet@ietf.org
> https://www.ietf.org/mailman/listinfo/homenet