Microloop protection as discussed in today's meeting

Stewart Bryant <stewart.bryant@gmail.com> Tue, 19 July 2016 14:05 UTC

Return-Path: <stewart.bryant@gmail.com>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4971212E2ED for <rtgwg@ietfa.amsl.com>; Tue, 19 Jul 2016 07:05:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 nOZSdTse2DLa for <rtgwg@ietfa.amsl.com>; Tue, 19 Jul 2016 07:05:33 -0700 (PDT)
Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com [IPv6:2a00:1450:4010:c07::231]) (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 47B2412E09D for <rtgwg@ietf.org>; Tue, 19 Jul 2016 06:19:11 -0700 (PDT)
Received: by mail-lf0-x231.google.com with SMTP id l69so14072686lfg.1 for <rtgwg@ietf.org>; Tue, 19 Jul 2016 06:19:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=UicoYLD/FwTtSwjFanJA+nBNC+VJ1v4MQc4n0uaixdk=; b=hY0qS3APR79DbOZZOYUsFfEKjyyb3tmS/8QEgIFFpS5T9rLjG2qEyPE/rDsYqSbZEV ehCuoGpcGiC2kgbUKp+TIh5wbO8QArQyd7bYSJy6ZzWsohmx5rjFzCgG+y9AvDJMo6Hu DZoklsr11aWXiU6BxSXAuBeiTqYh0a6UmG0gHs3OrPaodmDqNn0i5ZMFhZRut9HDBgWt ydP73yMpURArNmGIcSMh+/cRIjOSnXXOfurRJMdAXGW2rj2EmKlu7W3Mq5ZpLxAImjq7 HYYXTpDdDib2s2WK+YErGEFF3rlkjkisuS9J1IWIenp5jOkGcLGxmmn7uZLvmoYffI46 vsZw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=UicoYLD/FwTtSwjFanJA+nBNC+VJ1v4MQc4n0uaixdk=; b=HFX16K3371aGNSvLdxxkHDfFkrfjbG62xclaaSlS2eCjTes7ZnNTcmudpcjtSUswi0 BhBUfm9Tp7pofQWohIBvCdE2RSbMFlsjk1Xe5RKNfTm5fnMgcQm66BVdOPlA0ErwEc3n BEILH9+buHJfNtHXR4N87TJ/8I9RRK5nLQ9PmyIlGfW2wZHvz/5OjDNGBoAC+UsaUz0Z cJO64qyz34DWFC+ajTr3Ftk8MLV5Dt0xR9CKBIaX91Nqb/+DXM03UPGQC56Odnereafj YKbDdxV/8QItHFUyDgMYc7Z0EQhXGNYVzp2hSMYcPKREJUCrV3m8VHNYW0T0g+oWzDq+ 3+xw==
X-Gm-Message-State: ALyK8tKKZJsbU7qQ+5ZNgPgsvLGjigvh8RFa6SFOTBkZ2FhO2nEZaQSG5EwFH784WTR+vg==
X-Received: by 10.25.219.198 with SMTP id t67mr1138045lfi.177.1468934349366; Tue, 19 Jul 2016 06:19:09 -0700 (PDT)
Received: from ?IPv6:2001:67c:370:160:6df2:e046:d7b5:36d0? ([2001:67c:370:160:6df2:e046:d7b5:36d0]) by smtp.gmail.com with ESMTPSA id f69sm5698686lji.19.2016.07.19.06.19.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jul 2016 06:19:08 -0700 (PDT)
From: Stewart Bryant <stewart.bryant@gmail.com>
Subject: Microloop protection as discussed in today's meeting
To: rtgwg@ietf.org
Message-ID: <578E28C8.2070200@gmail.com>
Date: Tue, 19 Jul 2016 14:19:04 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/GXvsvfhdsulnbDjI7gcu9seLeTE>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Jul 2016 14:05:39 -0000

The RFC that had all of the generic methods that were known at the time 
of publication is RFC5715.

The two phase methods were in section 6.2 (near-side) and section 6.3 
(far-side). The first describing tunnelling the traffic towards the 
repair (and continue to use the repair), the second describing 
tunnelling traffic towards the destination. For the purposes of this 
discussion source routing of all flavours can be considered a type of 
tunnel.

If this approach is a new  genetric  two phase method, it would be 
useful to articulate it in general terms.

The type of topology that I was trying to explain in the meeting is as 
follows

A-B-C-D-E-F-H-I-J.....W
|                     |
|                     |
+------X-Y-Z----------+

All costs are 1 and Y has failed.

Traffic to Z can enter enywhere, and is protected by X.

When the network starts to converge ALL the routers A..J will need to 
update their fib to forward towards Z via W rather than towards X via A.

If they do this in a random order as would be the case without LF 
convergence then you may precipitate microlooping.

What you need to do is to force the packets toward either X or Z using a 
tunnel, or a source routed path, and as far as I can see you need to do 
that at every point of potential entry into the network, in the above 
case A..J, else you risk a microloop.

Now I suppose that if ALL packets were source routed, then you could 
consider that the network was constantly in the first phase, but I think 
that you would need to use strict source routing, rather than loose 
source routing else it reduces the the problem I describe above.


- Stewart