Re: [netmod] rfc6991bis: loopback addresses

tom petch <ietfc@btconnect.com> Fri, 31 July 2020 11:01 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B7AA3A129F for <netmod@ietfa.amsl.com>; Fri, 31 Jul 2020 04:01:26 -0700 (PDT)
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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 T7lGQ_YuPKTb for <netmod@ietfa.amsl.com>; Fri, 31 Jul 2020 04:01:24 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2117.outbound.protection.outlook.com [40.107.20.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7D9B63A129D for <netmod@ietf.org>; Fri, 31 Jul 2020 04:01:24 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oRnGsiDfALJaUe7tSuZokCtnMYFTI3Dfu7HQST8c35GVcANnAB/H7EmU3R+sT3rFcmPb5B1kfwdmUc+y2OxXwI6e6mD48gbFonctnmCAzWKe+ihazSEKhhCH19VF1YCrOxXxwdfui1z07y4FJP4elowh+FpF61D5jHLVNy10sFvHAtX8yr/O8WMXwJdifV6pMzFnawQW/W0R/mziUtYa8z5rJsgP909VuhyUM87wc2issW3YXBDmeZA67GYc2drbOVE0dypt4Im3xIod4OoWWf36pjcJ7J7EAMP+4JczDBD+jv2Djtvurhq2xkY4UZAv5A45kFh7CbapZaDAV9q9wQ==
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=gkgL9AZYiOP6bHYVVeA703mEpCLotxZ6LmAbbfdpDpo=; b=EUHa+FB6kSrRmiiXQQZJmzfkfq6V81MuWjgP4jWRY/T15YdFivjuDvjYAKEdCj3cvrNgRccskKl+4+j/UQ6w5tsfBBICbVm1PRLIo03P3A3ZUhH0++LmQ6BKSBRPYSsX7kaNHkbDUD8mbVnznjOXgO1ITL+T45PsGsrtNEFh4gwx9vW9Gx3BNTcQI88wqN+/vCfGbJz9odkv6JicUkg8A2HHMt2VdykE/boPfDbabuTQ6DZxZif97j8toGv1LP65xjSHlFVczTz5YuV3Dr9KGqaSdCTZP5jfa1m+7TLOXDjMdeb6D1T1J/gu0mUDUYr1qlnVMxZJNLcjeUGd5YYmng==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gkgL9AZYiOP6bHYVVeA703mEpCLotxZ6LmAbbfdpDpo=; b=DAsiPBrgFNO6ZmnZshDTa+5NQKBwdCxDptWa9OnLa5d6iVCmpgMpPMtSzcp8XgMH6JxecGDnMJqz0Izp3Y2Rim0nP1+zxBaNfhP9ButVOkor2h0rRAkbndR2s2QkxOkjB+81G/r8Qc6Trruq1wKgCDY770mdT3ipvaRyMq24Ljk=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM5PR0701MB2690.eurprd07.prod.outlook.com (2603:10a6:203:74::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.9; Fri, 31 Jul 2020 11:01:21 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::893c:ca97:acbf:1c76]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::893c:ca97:acbf:1c76%5]) with mapi id 15.20.3239.020; Fri, 31 Jul 2020 11:01:21 +0000
From: tom petch <ietfc@btconnect.com>
To: Qin Wu <bill.wu@huawei.com>, "Acee Lindem (acee)" <acee@cisco.com>, Kent Watsen <kent@watsen.net>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: "Carlos Pignataro (cpignata)" <cpignata@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] rfc6991bis: loopback addresses
Thread-Index: AdZnJuAQRx54X/1hSJunSSY0rtMzmAAAK/du
Date: Fri, 31 Jul 2020 11:01:21 +0000
Message-ID: <AM7PR07MB62485308822A7C2CEC8D921DA04E0@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <B8F9A780D330094D99AF023C5877DABAAD8AA8D8@dggeml511-mbs.china.huawei.com>
In-Reply-To: <B8F9A780D330094D99AF023C5877DABAAD8AA8D8@dggeml511-mbs.china.huawei.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=btconnect.com;
x-originating-ip: [81.131.229.35]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 2b526f7e-df6e-478c-9539-08d835410f43
x-ms-traffictypediagnostic: AM5PR0701MB2690:
x-microsoft-antispam-prvs: <AM5PR0701MB269023E814612927F7CB884FA04E0@AM5PR0701MB2690.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: JSkXbUEJD3kI7l7NcyM89RCCXBaGp+wEDr2kSh8eswYtOJWCQDTMWJCHWnIgL+U3Vnq6MTNpdzKWvMeE+Ea5prEF7Yrb8+SRC9jz2NNEFmgYR5nFi6z6SBzmoKAJze7H44w+w4MzPuNZ0z8odWvD4ykgmwXRTC7UD4hJZpbSwwn+Yf9LzI4a1AGk3RgpEpxi7EhJCS2Kj8N66m5ssDTDRuZdVx9YvxN/bg29e39vidIXF5rtcRGyVG7dZPvN9jtZsBTCkgWjWclzBMeiLlEa8eeWg/hrzr4MdmTFFdCaY6CEunAIgtx2uaLZmBNjxavR+y0FoaGVyYdNX9Pj96G1VunFmVQX0LWsjpt+FexSjr24MYbHvfkcLv8bzRns334xQTpNuNiUj+iFrLN6EgQmIA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(366004)(39860400002)(376002)(346002)(136003)(396003)(316002)(9686003)(33656002)(8676002)(8936002)(71200400001)(4326008)(110136005)(66946007)(54906003)(7696005)(91956017)(76116006)(966005)(66476007)(55016002)(66446008)(66556008)(64756008)(186003)(2906002)(5660300002)(86362001)(52536014)(83380400001)(53546011)(6506007)(66574015)(478600001)(26005); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: pdnhP8139bdUjTX84zknYNzcEyKwu5bwtir4XX+WmTAjFGFhiC/asWjIOcUzzkAXxRcPm2rzN+E6eVvadTkhza+Roq3s4JdaUPsi1mPnWkMh7xiXjAgLhihxEFpJOYorqg20dy13eBGyMMbVtxmcqGP/GicYmpIYukyN/sz2lsAY61I6KBuCpx5MZQHpB/4EIpHdIYGRimWJDxFkUEiE4+ID6LxV04aOdFUKbt7KzKzROUzonXPDXsXMMg80ViNrETddqCWmczQppWmYSqRs4HNOnpnzoxpBktz1m/fkkmPW0C7igrt70q4qlrefZyM/qTYhHFAOker9zSaqQNQEQMeD4dQu0YXMHYncVG8CxVuPeGhfg/IuN+EeRRJN7sU7LznHi+EjYOeOIHFH18BWNWFFoYSy+0ZLEmbRxXUEjAFad3PitLTbmdNE3elMD/OnM7cRgM2SRU7uV7ZwttxZmPLmyZs1MHsHiiM0DJXq75vzidxedIiPjqN/inpacBWaAeTZAFxEhgWhxHGYNNm0b+lyQNkwPkVvQzOsvbYlSq6Enb4GxmqkUD7/7NzEF4w3Mst/X+vrttdlNRDEWZJnrqQPQcs9uiAl4VW/sMw3LZTeFRTBPMw9Y6V5+VMiYpZiLAUD3lA/6Qoc3mTh5S0iUA==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2b526f7e-df6e-478c-9539-08d835410f43
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jul 2020 11:01:21.7372 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: S8oWTbRJPqV4pNYwh3HZzoH4pwJPGHAVDdmNLjh+s/3oaz/f1TomavPVaZ/huyPPPxiFgIpuVlBDZNkSTw+G9Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0701MB2690
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/YJNwSS821c7kQf1lTvSMylLNOqk>
Subject: Re: [netmod] rfc6991bis: loopback addresses
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Jul 2020 11:01:26 -0000

From: netmod <netmod-bounces@ietf.org> on behalf of Qin Wu <bill.wu@huawei.com>
Sent: 31 July 2020 11:40

-----邮件原件-----
发件人: Acee Lindem (acee) [mailto:acee@cisco.com]
发送时间: 2020年7月31日 18:22

Hi Qin,

On 7/30/20, 9:23 PM, "Qin Wu" <bill.wu@huawei.com> wrote:

    -----邮件原件-----
    发件人: netmod [mailto:netmod-bounces@ietf.org] 代表 Acee Lindem (acee)
    发送时间: 2020年7月31日 5:06

    Hi Kent,

    On 7/30/20, 4:55 PM, "netmod on behalf of Kent Watsen" <netmod-bounces@ietf.org on behalf of kent@watsen.net> wrote:

        > Thanks for pointing to the definitions in draft-nainar-mpls-lsp-ping-yang.
        > With that, your request is relatively clear now

        Looking at draft-nainar-mpls-lsp-ping-yang, the proposal is a “typedef” that constrains inet:ipv[46]-address so that it can only contain loopback address values.

        > and the question the WG
        > needs to answer is whether these types are common enough to warrant being
        > part of inet-types, i.e., are there any other places where these types
        > may be useful?

        I don’t think so, but I’m not a routing person.

    I wouldn't think that an internal loopback address would be widely used. In fact, I checked our Cisco native models for IOS-XE and there is no such definition.

    [Qin]: I am not sure we are talking about loopback type or loopback address
    See section 2.4 in draft-ietf-netmod-intf-ext-yang-10, 3 type loopbacks are defined:
    1.Internal loopback
    2.Line loopback
    3.Loopback Connector
    3 types loopback can be classified into local loopback and remote loopback.
    I am not sure they are common, but we have some support for this.

This is the loopback address type - not the loopback interface type. Look at draft-nainar-mpls-lsp-ping-yang (the draft being discussed in the Email thread).

[Qin]:I understand, but I feel related. Maybe I am wrong.

<tp>
we SHOULD NOT add this type.  Just look at the confusion that this is causing.

I learnt loopback as something you did to hardware to loop the traffic back for testing.  I think it unfortunate that 127/8 was defined as loopback when a major router manufacturer, only one that I knew of, used loopback as an alternative to Ethernet as an interface type that was always up and so could provide a permanently available IP address for communications with a router; the address cannot be 127/8 as that is unroutable.   This use of an interface type then gets used as a  router I-D which of course is a 32 bit number with  no properties, something that YANG models have been getting right.
MPLS exploited the properties of 127/8 for diagnostics and since 127/8 is loopback then MPLS makes extensive use of loopback.
Meanwhile every other WG uses loopback in the sense an interface type that is always up; there are dozens of RFC and I-D in that category.  I think it wrong for YANG to endorse this use.  
I also think that since the 127/8 meaning is now limited to MPLS, RFC1122  and some IPv6 documentation AFAICT, then defining a YANG type for 127/8 as loopback will cause chaos.
So MPLS needs a type, let draft-nainar define it but it MUST NOT be called loopback and it MUST NOT appear in 6991bis since it is MPLS only..

HTH

Tom Petch









Thanks,
Acee

    Thanks,
    Acee


        > /js

        K.  // contributor
        _______________________________________________
        netmod mailing list
        netmod@ietf.org
        https://www.ietf.org/mailman/listinfo/netmod

    _______________________________________________
    netmod mailing list
    netmod@ietf.org
    https://www.ietf.org/mailman/listinfo/netmod

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod