[homenet] IS-IS metric mechanism and implementation (was Re: Info about IS-IS demo from Bits N Bites Prague)

Mikael Abrahamsson <swmike@swm.pp.se> Thu, 17 September 2015 19:57 UTC

Return-Path: <swmike@swm.pp.se>
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 00B4D1B3155 for <homenet@ietfa.amsl.com>; Thu, 17 Sep 2015 12:57:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.961
X-Spam-Level:
X-Spam-Status: No, score=-3.961 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 xON49fNjFe39 for <homenet@ietfa.amsl.com>; Thu, 17 Sep 2015 12:57:14 -0700 (PDT)
Received: from uplift.swm.pp.se (swm.pp.se [212.247.200.143]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 05DA21A8F4F for <homenet@ietf.org>; Thu, 17 Sep 2015 12:57:14 -0700 (PDT)
Received: by uplift.swm.pp.se (Postfix, from userid 501) id 9B50DA1; Thu, 17 Sep 2015 21:57:12 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=swm.pp.se; s=mail; t=1442519832; bh=ekuqhCFuyTGcVA7lKSabd9Guj961I61O6qXD6b+u054=; h=Date:From:To:Subject:In-Reply-To:References:From; b=NBx35eR7yvEx3REDpOwce8dEbjeYcGSS7MpwOi+hUWfD119ZH2gEm7IDQclE0CSNl Rp/L3PgxMp6uynj9pvAn7liqiAP+Q4XEYD6VzY2LU03IQl7ymYG3qI8pHh3q86r1Aj NRcQ2+yC19zw85x7G3IBzJ90OKYXQspbdVZY1nMM=
Received: from localhost (localhost [127.0.0.1]) by uplift.swm.pp.se (Postfix) with ESMTP id 93C7A9F for <homenet@ietf.org>; Thu, 17 Sep 2015 21:57:12 +0200 (CEST)
Date: Thu, 17 Sep 2015 21:57:12 +0200
From: Mikael Abrahamsson <swmike@swm.pp.se>
To: homenet@ietf.org
In-Reply-To: <55FA3EF5.6000704@opensourcerouting.org>
Message-ID: <alpine.DEB.2.02.1509172156010.8750@uplift.swm.pp.se>
References: <55FA3EF5.6000704@opensourcerouting.org>
User-Agent: Alpine 2.02 (DEB 1266 2009-07-14)
Organization: People's Front Against WWW
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"; format="flowed"
Archived-At: <http://mailarchive.ietf.org/arch/msg/homenet/wMSqpub2Kc0YmmffGNpM9i8ORzg>
Subject: [homenet] IS-IS metric mechanism and implementation (was Re: Info about IS-IS demo from Bits N Bites Prague)
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: Thu, 17 Sep 2015 19:57:16 -0000

Hi,

I just want to change the subject of this so that people who are 
interested in this topic doesn't miss it.

On Thu, 17 Sep 2015, Christian Franke wrote:

> Hello all,
>
> since there have been some inquiries about different aspects of the demo
> that NetDEF showed at the bits N bites in Prague, I decided to provide a
> more detailed description here on the list.
>
> We showed a home network running HNCP and two different implementations
> of IS-IS interoperating with each other, at the high level the demo showed:
>
> - IS-IS for Homenet (IPv6 & IPv4)
> - Transport: both L2 & IPv6 (Link-Local)
> - Point-to-Multi-Point or Broadcast over L2 or IPv6
> - Dynamic IS-IS Route Metric updating based on WiFi QualityInfo about
> IS-IS demo from Bits N Bites Prague
> - HNCP IPv6 Prefix Delegation
> - SRC / DEST Routing
> - IS-IS Auto-Configuration
>
> Both code bases implemented the following extensions on top of standard
> IS-IS:
>
> - draft-franke-isis-over-ipv6
> - draft-baker-ipv6-isis-dst-src-routing
> - draft-lamparter-isis-p2mp
> - draft-franke-isis-over-ipv6
> - dynamic metric support (see below)
>
> For more information for the first four bullet points, please refer to
> the drafts.
>
> There is currently no draft on the dynamic metric support, since this
> feature does not change the IS-IS protocol. Therefore, a short
> description is following.
>
> For the dynamic metrics support, we implemented a small daemon called
> etxrd which provides metric information from the 802.11 layer. The
> information is gathered using OpenWRT's libiwinfo, on our platform using
> nl80211. We have a patch for libiwinfo that allows us to query the
> estimated tx rate from the wifi stack, this value is suitable as a
> metric for routing purposes. However that patch has not been in a
> release yet, so to support running our code on the current standard
> OpenWRT system, we rely on SNR as a metric for now. This provides some
> information, but is suboptimal.
>
> The daemon currently only provides metrics for the wifi side. We use a
> fixed (better) metric for wired connections.
>
> Just to clarify, that daemon is not specific to IS-IS, and it does not
> need IS-IS to run. It just provides metric information about known
> 802.11 neighbors that can be consumed by any interested party, e.g.
> other routing protocols, without requiring any modification on the
> daemon side.
>
> In our use case, IS-IS subscribes to the provided information and uses
> it to adjust metrics for the neighbors. These are standard IS-IS wide
> metrics, although it makes use of the per neighbor metrics available
> with draft-lamparter-isis-p2mp.
>
> Since 802.11 clients/stations only communicate with other stations via
> the access point, they do only have metric information about the access
> point, while the access point has information about all clients. To
> address this, links without metric information (i.e. direct links
> between clients) will not be considered for SPF. Since 802.11 frames
> from clients to clients are relayed by the AP, this actually can reflect
> the metrics better.
>
> ---
>
> The code that was use for the demo is available at the NetDEF git. There
> is a package feed for OpenWRT that allows to build images containing our
> IS-IS version available here:
>
> https://git.netdef.org/projects/OSR/repos/openwrt-isis-hnet/
>
> Instructions for using that feed can be found in the README file.
>
> -Christian
>
> _______________________________________________
> homenet mailing list
> homenet@ietf.org
> https://www.ietf.org/mailman/listinfo/homenet
>

-- 
Mikael Abrahamsson    email: swmike@swm.pp.se