Re: [homenet] HCNP: my points this morning

Markus Stenberg <markus.stenberg@iki.fi> Tue, 04 March 2014 23:01 UTC

Return-Path: <markus.stenberg@iki.fi>
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 CC2751A002F for <homenet@ietfa.amsl.com>; Tue, 4 Mar 2014 15:01:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
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 EJ3HsPc4QN4n for <homenet@ietfa.amsl.com>; Tue, 4 Mar 2014 15:01:42 -0800 (PST)
Received: from jenni2.inet.fi (mta-out.inet.fi [195.156.147.13]) by ietfa.amsl.com (Postfix) with ESMTP id 09E681A001A for <homenet@ietf.org>; Tue, 4 Mar 2014 15:01:41 -0800 (PST)
Received: from [192.168.43.129] (80.220.67.193) by jenni2.inet.fi (8.5.140.03) (authenticated as stenma-47) id 52775C990A1A5515; Wed, 5 Mar 2014 01:01:29 +0200
Content-Type: text/plain; charset="iso-2022-jp"
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Markus Stenberg <markus.stenberg@iki.fi>
In-Reply-To: <87ha7dlrx5.wl%jch@pps.univ-paris-diderot.fr>
Date: Tue, 04 Mar 2014 23:01:09 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <07E94521-F378-46DD-A10D-2A35EB3CFF54@iki.fi>
References: <87eh2iui53.wl%jch@pps.univ-paris-diderot.fr> <A57940C0-B602-4849-93A7-0930FE2D8C88@iki.fi> <53161623.6080700@openwrt.org> <87ha7dlrx5.wl%jch@pps.univ-paris-diderot.fr>
To: Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/homenet/5M-aZTxC5rNsWFdDILAqRsFFTzE
Cc: Steven Barth <cyrus@openwrt.org>, Markus Stenberg <markus.stenberg@iki.fi>, homenet@ietf.org
Subject: Re: [homenet] HCNP: my points this morning
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.15
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, 04 Mar 2014 23:01:45 -0000

On 4.3.2014, at 18.50, Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr> wrote:
>>> Add a no-routing-TLV (zero content) which means that routes towards
>>> this node have to be done without routing protocol (by other HNCP
>>> nodes that support real routing protocol).
> Could you please spell out what problem you're trying to solve?  If
> the problem is nodes with limited resources, then let's choose
> a protocol that allows minimal implementations.  Snooping on RIPng or
> Babel and installing a default route (using a hackish system("ip route add"))
> can be done in two hundred lines of code or so.  (Yes, I’m volunteering.)

It’s mostly the 0 real routing protocols case on some routers that it addresses. However, I’m perfectly happy to live with the ‘1 routing protocol, always’ mode of operation too ;)

Just snooping wouldn’t work very well, as for assuming no-real-routing arbitrary node in topology, both it and it’s neighbors have to do manual route maintenance to keep packets flowing. The fallback option (documented in hncp-00) would work, though, if the affected node and it’s on-link neighbors would do it.

Cheers,

-Markus