[homenet] Info about IS-IS demo from Bits N Bites Prague

Christian Franke <chris@opensourcerouting.org> Thu, 17 September 2015 04:18 UTC

Return-Path: <chris@opensourcerouting.org>
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 024831B2AFD for <homenet@ietfa.amsl.com>; Wed, 16 Sep 2015 21:18:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] 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 jCkt-EKxunyN for <homenet@ietfa.amsl.com>; Wed, 16 Sep 2015 21:18:01 -0700 (PDT)
Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E82F1B2AFF for <homenet@ietf.org>; Wed, 16 Sep 2015 21:18:00 -0700 (PDT)
Received: by wiclk2 with SMTP id lk2so6727743wic.0 for <homenet@ietf.org>; Wed, 16 Sep 2015 21:17:59 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=TuiQJKDzZMmgjGmld8PzZZFa4jzKfZzn5Jf2zlyZ+fI=; b=i1j2RZviBb2ndWrpziA/g0dnn/4MFvTOONR84osKH2L9R491OpH2scrOGrfgK7U90o cCXqWDIHuwiqF7wEWcPryepjuxQijG1bux2abo1s7pPFXxDpxM2fQcKI/M1O2FjGuIMF 0Fim4gJyK0vLtT+5RYR9WbqQZxXu/Z2pC06rGTnwg75Y6BXDUNA5d2bnd76GpV66nqFI mdJT0AOQ3RJJJr2gT2T0h2WWzrCC+A9AActSdTYQCDGDx6M2seUJGoHou8NZSyWQ5DOj jRI7pNWLWFo/6DRCmatjzuuw+xgQxCnjIeVvCa/7NVucoIwJmy3WPMdMdCuL6mdmGdVv sPmg==
X-Gm-Message-State: ALoCoQlGdStvTPNLAxFZZPZzXkWWLR5PKf5NfNwYNyRNJi0dthXIjTX9ZVhnjle0trrLx5H/y/qd
X-Received: by 10.194.71.39 with SMTP id r7mr28612624wju.120.1442463479586; Wed, 16 Sep 2015 21:17:59 -0700 (PDT)
Received: from [192.168.1.151] (nat-114.westnetz.org. [146.0.105.114]) by smtp.googlemail.com with ESMTPSA id lh3sm1038476wjc.44.2015.09.16.21.17.58 for <homenet@ietf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Sep 2015 21:17:58 -0700 (PDT)
Message-ID: <55FA3EF5.6000704@opensourcerouting.org>
Date: Thu, 17 Sep 2015 06:17:57 +0200
From: Christian Franke <chris@opensourcerouting.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: homenet@ietf.org
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/homenet/xyJEv1iUFBVRH665eyGEUDXqzeA>
Subject: [homenet] 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 04:18:03 -0000

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