Re: [Lsr] Question about OSPF (transit area routing loop)

"Acee Lindem (acee)" <acee@cisco.com> Sun, 08 March 2020 13:20 UTC

Return-Path: <acee@cisco.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9CA3A3A0939 for <lsr@ietfa.amsl.com>; Sun, 8 Mar 2020 06:20:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.6
X-Spam-Level:
X-Spam-Status: No, score=-9.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=JvKbdZsP; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=cCLbcmBB
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 u0FdFeRWa0Kn for <lsr@ietfa.amsl.com>; Sun, 8 Mar 2020 06:20:42 -0700 (PDT)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF7EA3A0944 for <lsr@ietf.org>; Sun, 8 Mar 2020 06:20:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4566; q=dns/txt; s=iport; t=1583673642; x=1584883242; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=Ok3uoEkp0uVuLMTla/zaV++xvnnsyrQGxRNVzizeBcs=; b=JvKbdZsPtCZ2Ta4ACY7Xbu11TcK92d6nRWQh5rvYDPphLQYLnZXY2/MA 69DzzG4q6IH9eV1e2VCimQhSqk23FYc/Ffed2Jwq/VGlCXNicZeMQk5sc ggXOCAkSoZZf5vhK30mXIv/Oo3Zf4gEFDTjk8g38YKyt0hcBsrjOlMQMp E=;
IronPort-PHdr: 9a23:aViwtB0uLofi5jNpsmDT+zVfbzU7u7jyIg8e44YmjLQLaKm44pD+JxGCt+51ggrPWoPWo7JfhuzavrqoeFRI4I3J8TgZdYBUERoMiMEYhQslVceOBEDTJ//xZCt8F8NHBxdo
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BnAQAR8GRe/40NJK1mGgEBAQEBAQEBAQMBAQEBEQEBAQICAQEBAYF7AoFSUAVsWCAECyoKhAuDRgOKbIJfiWOOMoJSA1QJAQEBDAEBGAsKAgQBAYRDAheBdyQ4EwIDAQELAQEFAQEBAgEFBG2FVgxCFgGFCgEBAQECAQEBEBEEDQwBASwLAQ8CAQYCDgMDAQIBAgImAgICHwYLFQgIAgQBDQUigwQBgkoDDiABDotdkGcCgTmIYnV/M4J/AQEFgkSCTA0LggwDBoEOKgGMKxqCAIERJyCCTT6CG0kBAYFlgxEygiyQaJ58RAqCPI0fhRGENhUHgkmIIZBLjnaLLZAkAgQCBAUCDgEBBYFpIoFYcBU7KgGCQVAYDY4dDBeDUIUUhUF0AoEnh1+EUAGBDwEB
X-IronPort-AV: E=Sophos;i="5.70,530,1574121600"; d="scan'208";a="730359853"
Received: from alln-core-8.cisco.com ([173.36.13.141]) by rcdn-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 08 Mar 2020 13:20:41 +0000
Received: from XCH-ALN-002.cisco.com (xch-aln-002.cisco.com [173.36.7.12]) by alln-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id 028DKfiB026408 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Sun, 8 Mar 2020 13:20:41 GMT
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by XCH-ALN-002.cisco.com (173.36.7.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 8 Mar 2020 08:20:41 -0500
Received: from xhs-aln-001.cisco.com (173.37.135.118) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 8 Mar 2020 08:20:41 -0500
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 8 Mar 2020 08:20:41 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ltr4A6/XrhzdGs16iW5B5VMD7K5eQhNSSS04ByIDK2yLZtIqlKKfb/NVpcavBJ5ar0N4HfRT1SEQb/RTdoGGcUOXFHLdEyIli14wT+H9+haRP+M6yJpuPNpWjTXkeBJzuPhAoZ1IPIrdM2Nl58GCO79LY8NWA1GtBOF9Uoe/SXQqCuaB/1+YH3W5GjzXwjrVLkfmVAS0agD5+4VJZBovjTrMoeZV6kq/LLje5wY65Adul0VKvO/c3+DqQz/DpJdoJT6QSB1h+FPuAlnYf95sT1xXFaRkC07qS/96YRZ3rUZRXMADNpxmn4eWcVc3Nit4ovIV6an8LdzT8jXMPcMSJg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;bh=Ok3uoEkp0uVuLMTla/zaV++xvnnsyrQGxRNVzizeBcs=; b=GAdkHkulAf/FJk5Jx1GZ77K8d0uqXaoYpHJlhLiDyvFsCF3CVdQaD1aY4Kmj1X+nXk2GXSh3LYJD9Cq+IMeVtYduTqYHaQZ+/T2ubyvgcUdUo3lABP2meI2Yqq6ZPL5ghqH7AFQ4CsM0aaBhmjNnlfT+/NKsmKqttKwXuNfAFw944401M39cObERdr87lAOvow37Xch8k7Y4xzuzCvUqi6bt5u9y6FUEZGjIgCqdh9Nppz3Cm/tWVK2l7BPlAUQHKZR1AF2/8WBXGk9kW+ClgyQrgXQQ74sflePXME7kUAgKRhwnr0xxO71HjvyitZAnziPxYIXgKdeXnAwDh/iT8w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ok3uoEkp0uVuLMTla/zaV++xvnnsyrQGxRNVzizeBcs=; b=cCLbcmBBXlvNK4vSuAvy8gkk/xTWM9zW+XASsrLPvNtjkzD+mUKd2FHdOduR4O2UJZ8xYUsP5ZrFnHSElYGTJfcCxf7CO1O1Gf/CHuR7GbMM0FZ1o4ziTQzjoHGl9oux8tw55/xEYgjLiOquEUISKlKStGKAHEaP6pwzuclyyng=
Received: from BN8PR11MB3794.namprd11.prod.outlook.com (2603:10b6:408:8f::13) by BN8PR11MB3779.namprd11.prod.outlook.com (2603:10b6:408:8a::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.11; Sun, 8 Mar 2020 13:20:40 +0000
Received: from BN8PR11MB3794.namprd11.prod.outlook.com ([fe80::55b2:c415:675f:5fb7]) by BN8PR11MB3794.namprd11.prod.outlook.com ([fe80::55b2:c415:675f:5fb7%3]) with mapi id 15.20.2793.013; Sun, 8 Mar 2020 13:20:40 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Christian Hopps <chopps@chopps.org>, Sergey SHpenkov <sergey.v.shpenkov@gmail.com>
CC: "lsr@ietf.org" <lsr@ietf.org>
Thread-Topic: [Lsr] Question about OSPF (transit area routing loop)
Thread-Index: AQHV7BM5P9xnkM83402/rttn5UP+y6gr/BEAgAEV+oCAEY6PAP//3OeA
Date: Sun, 08 Mar 2020 13:20:39 +0000
Message-ID: <EEA42D7C-BBE1-40EC-BA11-81024801F724@cisco.com>
References: <CAD4HJpqOJC0DSeb_nrPOD3=bofRLgWzFhRrzXMnrtZRr0XNjsw@mail.gmail.com> <DDD60A40-5095-4973-B90D-556F4AC0B1F1@cisco.com> <CAD4HJppxJF9W6jXFRPiFy_RyZvAUiNCayBPqpy2jqrX7wGGcvw@mail.gmail.com> <6527D089-E226-4DD7-BBB2-E3ED30573557@chopps.org>
In-Reply-To: <6527D089-E226-4DD7-BBB2-E3ED30573557@chopps.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.22.0.200209
authentication-results: spf=none (sender IP is ) smtp.mailfrom=acee@cisco.com;
x-originating-ip: [136.56.134.101]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 9507b716-c259-444d-ca67-08d7c3637f4d
x-ms-traffictypediagnostic: BN8PR11MB3779:
x-microsoft-antispam-prvs: <BN8PR11MB3779A2669E1B438EDC23758CC2E10@BN8PR11MB3779.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 03361FCC43
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(136003)(39860400002)(346002)(376002)(396003)(199004)(189003)(66574012)(33656002)(110136005)(71200400001)(81166006)(81156014)(4326008)(966005)(8936002)(2616005)(6486002)(91956017)(26005)(76116006)(186003)(2906002)(66946007)(6512007)(5660300002)(53546011)(64756008)(478600001)(66446008)(8676002)(86362001)(36756003)(66556008)(66476007)(6506007)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN8PR11MB3779; H:BN8PR11MB3794.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: /Y9tlujfSz8CJuogGZG3yslnF71zcnYMo9EKVa1eQPfhLOe69VkNdjw7VcF3YahM4J+VburtBO/LQZa95lJKSxSFpoa8usItvfIppgJVdaz6/vnmAemE4mfFYOMgHMcqWK+G4Eu2k7tj4pfCvdg3FOCfz80CccjRLwIpgFtIfx94tbC817+uSUWUFL9GvIKDtfwtmG+QAeJUvGGv2EAVQdOEx+iWHEX00h94BMT4S6k1/l1LRmkdkZF06nh+SBilxxWnDpYbeirBGyyidhxLVULLSkURf5so7maOQ44BtRukTv9zHz8uQWiWzRcrUGDKPsRxXAsTOszvNhvaKZBrw+32ccfVPeL1PmD5z/JrrGeV0zN5C75FGFa1GDFGjKQ/rLTJbQyJCLc1ycs2HP+eD79Yio4UtDsh8Mr81zEEsxjzcRkURiTMhXfXM3f0GT+ASwDzO+Vmtl4K5KmS7xQ0bPmp7vMozYkudUtrqg+Xq0o4+8i/MV9GFKIDZI6RKQX2zF+EKfl7kKcx3H2z/3CTAA==
x-ms-exchange-antispam-messagedata: iKz9rNA/K39bU4inZbnkLC1yWg289sE5r2jbBv6XqNasoVymmV+1UCj8KK6ZR3wN0ze2gphWpZol+7hWBUPPn7cqleGxznbnXNWkoCQNWgxGTQGAI4ScDqfMVFt21aB76bpTqeP8oCgUehe4OE4WIw==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <0E48C1C488FDC542B5CF53F43304B1F4@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 9507b716-c259-444d-ca67-08d7c3637f4d
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2020 13:20:39.9838 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: brgMFxiKFvYUw7C1SWREb1cfHflDAu71PQz21YrfjRs3c90GBAAwMTm4FNyjX9jw
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3779
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.12, xch-aln-002.cisco.com
X-Outbound-Node: alln-core-8.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/2iLOil1WGWKeDhw3uSoaHCoKnRY>
Subject: Re: [Lsr] Question about OSPF (transit area routing loop)
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Mar 2020 13:21:00 -0000

Hi Chris, 

On 3/8/20, 7:26 AM, "Lsr on behalf of Christian Hopps" <lsr-bounces@ietf.org on behalf of chopps@chopps.org> wrote:

    Why does ABR_1 create a summary LSA to ASBR using the more expensive non-backbone path? This would seem to violate 12.4.3:
    
        Else, if the destination of this route is an AS boundary
        router, a summary-LSA should be originated if and only
        if the routing table entry describes the preferred path
        to the AS boundary router (see Step 3 of Section 16.4).
        If so, a Type 4 summary-LSA is originated for the
        destination, with Link State ID equal to the AS boundary
        router's Router ID and metric equal to the routing table
        entry's cost. Note: these LSAs should not be generated
        if Area A has been configured as a stub area.
    
    But even so, why is ABR_1 even looking at a cost 300 path to summarize, why would it not be looking at the cost 1 path it has through the backbone? That's the path that ABR_3 has chosen when it forwarded towards ABR_1 through RT_1, right?


Based on RFC 2328, section 16.4.1, intra-area paths through non-backbone areas are preferred over backbone paths. 
This counter intuitive preference was added way back in the late 90s to resolve a different routing loop with virtual links (refer to RFC 2328, Appendix G.2). Sigh - if we ever did OSPFv4, I'd remove virtual links. 

Thanks,
Acee
    
    Thanks,
    Chris.
    
    > On Feb 26, 2020, at 2:19 AM, Sergey SHpenkov <sergey.v.shpenkov@gmail.com> wrote:
    > 
    > Acee,
    > 
    > Because ABR_1 creates SumLSA-4 for the ASBR not from the backbone area. The cost of SumLSA-4 for ASBR is 300.
    > 
    > Thanks,
    > Sergey
    > 
    > вт, 25 февр. 2020 г. в 22:44, Acee Lindem (acee) <acee@cisco.com>:
    > Hi Sergey,
    > 
    > I don’t see why RT_1 wouldn’t go through ABR_1 to get to the ASBR.
    > 
    > Thanks,
    > 
    > Acee
    > 
    >  
    > 
    > From: Lsr <lsr-bounces@ietf.org> on behalf of Sergey SHpenkov <sergey.v.shpenkov@gmail.com>
    > Date: Tuesday, February 25, 2020 at 2:38 PM
    > To: "lsr@ietf..org" <lsr@ietf.org>
    > Subject: [Lsr] Question about OSPF (transit area routing loop)
    > 
    >  
    > 
    > Hi,
    > 
    > In section 16.3 of the OSPF RFC 2328 standard, it is stated that all ABR routers
    > 
    > connected to a transit area are required to check the sumLSA contained within
    > 
    > this area in order to possibly improve the intra-area and inter-area backbone routes
    > 
    > for themselves.
    > 
    > 
    > See the picture:
    > <image001.png>
    > The RT_1 and ABR_3 routers will use different paths to the ASBR router:
    > 
    > ABR_3 -> RT_1 -> ABR_1 -> ASBR = cost 3
    > RT_1 -> ABR_3 -> ABR_2 -> ASBR = cost 21
    > 
    > route loop between RT_1 and ABR_3
    > 
    > Please explain this situation
    > 
    > Thanks,
    > Sergey
    > 
    >  
    > 
    > _______________________________________________
    > Lsr mailing list
    > Lsr@ietf.org
    > https://www.ietf.org/mailman/listinfo/lsr
    
    _______________________________________________
    Lsr mailing list
    Lsr@ietf.org
    https://www.ietf.org/mailman/listinfo/lsr