Re: [Roll] unaware leaves - graceful shutdown of attached-6LR

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Tue, 14 April 2020 11:34 UTC

Return-Path: <pthubert@cisco.com>
X-Original-To: roll@ietfa.amsl.com
Delivered-To: roll@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A65753A0CA0 for <roll@ietfa.amsl.com>; Tue, 14 Apr 2020 04:34:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.599
X-Spam-Level:
X-Spam-Status: No, score=-9.599 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, HTML_MESSAGE=0.001, 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=ZcBIMtR4; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=Y5nk5Uii
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 7VpsH2LWxG8b for <roll@ietfa.amsl.com>; Tue, 14 Apr 2020 04:34:09 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DAC1C3A0C9A for <roll@ietf.org>; Tue, 14 Apr 2020 04:34:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=51562; q=dns/txt; s=iport; t=1586864048; x=1588073648; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=APLNhrAn9DPenjtaeGUjAgR18TlyfBlTgnpD/i9zlpA=; b=ZcBIMtR4z8eC6P9TWJgrH7V6VELELigEypuz89S4Eaer5cfmgYaGAreB wUpj2+jm6bBJH92Sz9iGzdS4cU9jmIoy1CZUL0NSiQH2phlT3bGJzi4R3 xfPIdmAFoqe1nBal4Vf0BjWhQ3+hrsESuZK5Yi03iYXk7yfL3rkj/4BiG M=;
IronPort-PHdr: 9a23:zYR+Lx/gSD9Fcv9uRHGN82YQeigqvan1NQcJ650hzqhDabmn44+8ZR7E/fs4iljPUM2b8P9Ch+fM+4HYEW0bqdfk0jgZdYBUERoMiMEYhQslVdaZCVDxIeT2Ryc7B89FElRi+iLzPA==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BIFQCLnpVe/4oNJK1mHQIBCRIFBYF8gSUBLiknBWwPSSAECyqDXECDRgOKZ06CEYEBlyKBQoEQA1AECgEBAQwBARgBCgoCBAEBhEQCF4FsJDgTAgMBAQsBAQUBAQECAQUEbYUqBiYMhXABAQEBAwEBCgYRChMBASUHDA8CAQYCEQQBASEBBgMCAgIlCxQJCAIEEwgagjlGBAKBfk0DLgEOkX6QZwKBOYhidYEygn8BAQWFExiCDgMGgTiCYoJChxEagUE/gRFDgU9JBy4+gmcBAQIBgUQEHCsJglwygiyRGoYKikaPcQqCQod+gWmOBoJTiEaNIINwhGKJLIp3kxgCBAIEBQIOAQEFgWkiDYFKcBU7gmlQGA2UdYUmF4NQhRSFQXQCgSeORQEB
X-IronPort-AV: E=Sophos;i="5.72,382,1580774400"; d="scan'208,217";a="478473851"
Received: from alln-core-5.cisco.com ([173.36.13.138]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 14 Apr 2020 11:34:07 +0000
Received: from XCH-RCD-005.cisco.com (xch-rcd-005.cisco.com [173.37.102.15]) by alln-core-5.cisco.com (8.15.2/8.15.2) with ESMTPS id 03EBY7dB007831 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <roll@ietf.org>; Tue, 14 Apr 2020 11:34:07 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-RCD-005.cisco.com (173.37.102.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 14 Apr 2020 06:34:07 -0500
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 14 Apr 2020 06:34:07 -0500
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 14 Apr 2020 07:34:06 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OFt5KzSVTa+RjjdiPPMgQoiP8Wv90EsYfQt4s5LUG6dtUfYOVP4c6H1CRwtCjC3rgretf4c3/a2sJMaosoYO0JrLe3QfwrjDCN4wHlx4hHulL7FPqToEo/shiKaLv0X0mO8mhiWxA0utp7GDleLMuOm96QGUBbi9exfkk1FvIk7m4aOpy2ODbthistBCr9qzy0MnldM2szt1NTOzxVX4moVufJ8pdOV1smALLCq4ga7HqrjjmvHeMaiXWLu7GhWzsE44gEYg/PJLvbQpd3tlUcnbvCffDcGzdk64Fy84wm7kehg9TxEOmxkBcvrEdv9J3OTLp7+H1zQz5CMv15Dsiw==
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=APLNhrAn9DPenjtaeGUjAgR18TlyfBlTgnpD/i9zlpA=; b=HS3Y8KRcsY9BGWgQpZ/bRru6nUg6YCjpVOOgmXjcE+ZY3/PdUy1ZQOTYCi2a2FdLcQNVnAMBzcPKeI395OLt6cGVx/W7Sm38LsWNkZ0WK94draG/29ihjSsm610CWmxC4zjkjq+tp1yYuGxc5soGQAdm4tRYL5g/V/44Bb7EDsUWwGZQcw3seo7AIwbLuowHUnwZEdYJ8IkYMeW4uadvZmi2lGLCnZLU7XYFquiKIbgXCjeIAfuGwG33NZvcbTRnVoa1KiXoBTPFxPPQDFK8I0JLEt8fLUkgG3fY5EGV7Md5YCeKtXfxZXKB/XMmljUVoLDZTrTJSi+8gRCWfI0Zmw==
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=APLNhrAn9DPenjtaeGUjAgR18TlyfBlTgnpD/i9zlpA=; b=Y5nk5Uii5yc48p6DSzZDGh74fh6RmkazOt8GRgbXRc4lJZYFv24+mDrtQnzdc5kDxuXes+5ijLuG+0AK0B5Qs5w7CKi7Ewhecp60wdI4vOCR8DTvGUXp9QhJcQB3C6q2OGDBf8iN9ieIPWU9p5NMHyVfut33ke0D6jydLxirF7o=
Received: from MN2PR11MB3565.namprd11.prod.outlook.com (2603:10b6:208:ea::31) by MN2PR11MB3982.namprd11.prod.outlook.com (2603:10b6:208:13b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.26; Tue, 14 Apr 2020 11:34:03 +0000
Received: from MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::113b:3127:ef12:ea7]) by MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::113b:3127:ef12:ea7%7]) with mapi id 15.20.2900.028; Tue, 14 Apr 2020 11:34:03 +0000
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Thread-Topic: [Roll] unaware leaves - graceful shutdown of attached-6LR
Thread-Index: AQHWEZQvbgNuDRZQpEGmjIYHLkz6MKh3KT0IgAC0VwSAAFNOAIAAGVODgAAZELA=
Date: Tue, 14 Apr 2020 11:34:02 +0000
Deferred-Delivery: Tue, 14 Apr 2020 11:33:35 +0000
Message-ID: <MN2PR11MB35653AEC812269C1BF5D8CC4D8DA0@MN2PR11MB3565.namprd11.prod.outlook.com>
References: <BM1PR01MB4020A5C1C43CDC700477C39EA9DA0@BM1PR01MB4020.INDPRD01.PROD.OUTLOOK.COM>, <MN2PR11MB3565E4FB6ECA0B86327478FCD8DA0@MN2PR11MB3565.namprd11.prod.outlook.com> <BM1PR01MB4020DBE40E76D2EAE97C9611A9DA0@BM1PR01MB4020.INDPRD01.PROD.OUTLOOK.COM>
In-Reply-To: <BM1PR01MB4020DBE40E76D2EAE97C9611A9DA0@BM1PR01MB4020.INDPRD01.PROD.OUTLOOK.COM>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pthubert@cisco.com;
x-originating-ip: [2a01:cb1d:4ec:2200:fc5a:4a6c:38de:a3c]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 0752b7cc-74a7-4abb-29c8-08d7e067bbe1
x-ms-traffictypediagnostic: MN2PR11MB3982:
x-microsoft-antispam-prvs: <MN2PR11MB3982471C9CA1768FE19CA600D8DA0@MN2PR11MB3982.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0373D94D15
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3565.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(376002)(366004)(136003)(396003)(39860400002)(346002)(186003)(66556008)(7696005)(64756008)(66476007)(66946007)(76116006)(53546011)(6506007)(66446008)(5660300002)(316002)(6916009)(33656002)(52536014)(8676002)(8936002)(81156014)(2906002)(966005)(66574012)(86362001)(71200400001)(45080400002)(478600001)(55016002)(9686003); DIR:OUT; SFP:1101;
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: uvhYVUSjNz0/5yDrBzguwjic+wbQKF5Iz3yhceBELpKdWZzKvg3ibyWfTOyop2/zW9CwU5TGM3f993TZpFsUfqEg4wrsmTze5cWm6DSpdJLU+UBq1QdgUNzZBvxK35365NraZ+MyPB/LtUc0ihJSzP4IAMvbyA00lT8h017Z1Sx+2RoFaUb6c24xj4nQeeOIx3S6o6NJ+jxmj0S6XPuugR063ng3glHIv7ue/wDTHKtKxROUpcO1EqeL+iZv71amCFOWBiRtdyYG0IcbCdFaYE1cTKCVXgEh/f410A481DssEaeFgqCjT+TJ5r0PvA4mir7eoqxc1F7UB98aV3rkZPWq3tYupGbGSaCNkm09EeCP5SmkG/Xyx5PCIiSINbySjik8pqM/3z6POpH5GdtNSTQfvnOzmIAeHCtOtsIE2Zv3dh5xRCFf8KLkkRIOiEbtMT08DswIXIvFnd6xiF7M9UCqQJpq1ehAqoSuLJgaRJFiYXCl+6D4Oz12tn/IRLbUmG5Wqw0aV2s9NUba6lAl9Q==
x-ms-exchange-antispam-messagedata: Qcm9JXNaNYV8jww/+HxBbr8aokE++gS0Dc2wK5ZMUYf7n9pqsh3kddmCWFneLroOaVYyzwwhp8wTqdOm2Opipuw3eBPGQ/X0r1N+b6NqSkIzyFVjAACJGDPO4ZAwwPiLZ73FbyMWC7RfFhYZISGxB6cFEmWpwArgAWd9PdoJqFAOqzibZ9s37EYJtDoFGjL6gvne/SRnJUOuPRW7ZXAuUQ==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MN2PR11MB35653AEC812269C1BF5D8CC4D8DA0MN2PR11MB3565namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 0752b7cc-74a7-4abb-29c8-08d7e067bbe1
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Apr 2020 11:34:03.3274 (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: orA5IFd4vOW0Uk/nEL/CTS18+aghkcI/oJGyjvJHS7wBHeYT5elEKqXyqJeavczo9Sqjvn7CXVF56t+CkcQAzw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3982
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.15, xch-rcd-005.cisco.com
X-Outbound-Node: alln-core-5.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/n6gdfwhN38RsUDGIRbQEwt4N7ww>
Subject: Re: [Roll] unaware leaves - graceful shutdown of attached-6LR
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Routing Over Low power and Lossy networks <roll.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/roll>, <mailto:roll-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/roll/>
List-Post: <mailto:roll@ietf.org>
List-Help: <mailto:roll-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/roll>, <mailto:roll-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Apr 2020 11:34:12 -0000

Hello Rahul

I agree, our proxy mechanism doesn’t allow to change the period in run time by the 6LBR. Note that the 6LBR or the Root could send an EDAC back to the 6LR asynchronously. There’ s not much text on that in the existing specs but it’s doable.

The multicast final RA is the normal behavior. Unicasting it is possible and more reliable. That was true already so I agree we do not need to mandate anything new here. It is something that we could have said in RFC 8505, nothing specific to RULs.

For the reason why the 6LR would on its own remove just one BCE, I only see the cache full. What else do you have in mind?

Cheers,

Pascal

From: Roll <roll-bounces@ietf.org> On Behalf Of Rahul Jadhav
Sent: mardi 14 avril 2020 11:44
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Subject: Re: [Roll] unaware leaves - graceful shutdown of attached-6LR

Thanks for the detailed response. Please find my response inline.

One key point you mentioned is that EARO parameters are managed by 6LBR. The initial registration happens using EDAR/EDAC through 6LBR and using EDAC(EARO-lifetime) the 6LBR can control the lifetime in the NA(EARO).
But during lifetime refresh, the keepalive NS sends a lifetime and the 6LR replies directly using NA using the same lifetime. Won't this lifetime create problems? Is it expected that the 6LR remembers the lifetime sent from 6LBR and uses it in the subsequent refresh NA(EARO) reply?

To instantiate this point, consider Figure 10 which shows that DAO is created from NS(EARO) and the lifetime of EARO is converted to lifetime in DAO-transit option. This DAO results in anonymous EDAR from Root to 6LBR and a response EDAC. The response EDAC status value is used in the DAO-ACK but the (possibly updated) lifetime from EDAC is dropped.

________________________________
From: Roll <roll-bounces@ietf.org<mailto:roll-bounces@ietf.org>> on behalf of Pascal Thubert (pthubert) <pthubert=40cisco.com@dmarc.ietf.org<mailto:pthubert=40cisco.com@dmarc.ietf.org>>
Sent: 14 April 2020 04:25 PM
To: Routing Over Low power and Lossy networks <roll@ietf.org<mailto:roll@ietf.org>>
Subject: Re: [Roll] unaware leaves - graceful shutdown of attached-6LR


Hello Rahul



For the lifetime I do not necessarily agree with your wording. My reading is that the registration lifetime is requested by the 6LN and granted by the 6LBR. What the 6LBR returns might be less than what the 6LN requested. This might not be very explicit in RFC 6775 but “5.5.2.  Processing a Neighbor Advertisement” says

“

   The host saves the Registration Lifetime from the ARO

   for use to trigger a new NS well before the lifetime expires.

”

Which tells you that the network has the ultimate control, which is good in a managed network.



[RJ] This makes sense to me now.



Then “8.2.3.  6LR Sending a Duplicate Address Request” says

“

      The EUI-64 and Registration Lifetime are copied from the ARO

      received from the host.

”

Which tells you that the 6LR is just an transmission but has no say in the story.



Normally:

- If the 6LR stops being a router at all the signal is a final RA. We could actually mandate to unicast it to all registered nodes.

- If the 6LR accepts a registration it should keep it as long as it is a router so ‘removed’ comes from above.

- if the 6LR keeps the registration but stops being a router, then signal is the ‘R’ flag only.



So we are talking about a unexpected case where the 6LR would drop an NCE on its own but continue being a router, IOW break its contract with the 6LN.



I see the value of using status “Removed” there. The problem I have here is to clarify what comes from the 6LBR which means that the address is not usable at all vs what comes from the 6LR, which means that this 6LR is not useable, but the 6LN can try with another 6LR. I thought the lifetime helped but on second thought it does not. “Removed” and lifetime are both 6LBR decisions.



If that’s a problem with the 6LR only, we need to signal that. RFC 8505 helps us there. Section “5.7.  Maintaining the Registration States” indicates that

“

   space is exhausted.  In that situation, the EARO is returned in an NA

   message with a status code of "Neighbor Cache Full" (Status 2; see

   [RFC6775<https://tools.ietf.org/html/rfc6775>] and Table 1), and the Registering Node may attempt to

   register to another 6LR.



   If the registry in the 6LBR is full, then the 6LBR cannot decide

   whether a registration for a new address is a duplicate.  In that

   case, the 6LBR replies to an EDAR message with an EDAC message that

   carries a new status code indicating "6LBR Registry Saturated"

   (Table 1).  Note: This code is used by 6LBRs instead of "Neighbor

   Cache Full" when responding to a Duplicate Address message exchange

   and is passed on to the Registering Node by the 6LR.  There is no

   point in the node retrying this registration via another 6LR, since

   the problem is network-wide.  The node may abandon that address,

   de-register other addresses first to make room, or keep the address

   "tentative" [RFC4861<https://tools.ietf.org/html/rfc4861>] and retry later.





“



So I’d suggest that we mandate unicast final RA if the router goes away, and if the router just drops that NCE then use "Neighbor Cache Full" in the NA.

Works?



[RJ] So essentially NA(EARO) is strictly controlled by the 6LBR. Using 'Neighbor Cache Full' will tell the 6LN to move to other 6LR, and this should work, even though the status code does represent the appropriate reason.

I understand mandating final RA but why only unicast? Can't a multicast final RA be sent by a 6LR who is about to go down and has several RULs connected via it?



Note: The 6BBR draft uses it for the 6LBR to clean up a state in the old 6BBR when registering to a new 6BBR. As a second thought it appears that ‘moved’ would be better. That’s what 6BBRs do with one another when it’s a different 6LBR. I’ll fix that unless someone raises an issue.



Regards,



Pascal



Le 14 avr. 2020 à 04:05, Rahul Jadhav <nyrahul@outlook.com<mailto:nyrahul@outlook.com>> a écrit :



Please find my response inline.



________________________________

From: Roll <roll-bounces@ietf.org<mailto:roll-bounces@ietf.org>> on behalf of Pascal Thubert (pthubert) <pthubert=40cisco.com@dmarc.ietf.org<mailto:pthubert=40cisco.com@dmarc.ietf.org>>
Sent: 13 April 2020 11:14 PM
To: Routing Over Low power and Lossy networks <roll@ietf.org<mailto:roll@ietf.org>>
Subject: Re: [Roll] unaware leaves - graceful shutdown of attached-6LR



Great point Rahul.



Normally this is done using a final RA. But the RA is broadcast so unicasting a NA with ‘R’ flag off is a great idea. This is the exact signal that this router does not serve this node. Lifetime 0 would indicate that the router removes the NCE.

Status removed indicates an error. I’d rather use status 0, lifetime 0, ‘R’ off. Don’t you think?



[RJ] Imo, Lifetime is something that is controlled by the target/owner. There has never been (?) a case where someone else changes lifetime on behalf of the target node.

RFC 8505 states: "Removed: The binding state was removed.  This Status MAY be placed in an NA(EARO) message that is sent as the rejection of a proxy registration to an IPv6 ND Registrar, or in an asynchronous NA(EARO), at any time."

I still feel using Status="Removed", 'R' off may be applicable more.



Keep safe.



Pascal



Le 13 avr. 2020 à 15:07, Rahul Jadhav <nyrahul@outlook.com<mailto:nyrahul@outlook.com>> a écrit :



Hello Pascal/Authors,



In the event that the attached 6LR needs to gracefully shutdown, it needs to inform the RUL(s) to detach and possibly move to another 6LR.

I believe this could be done using NA(EARO, Status="Removed"); from the attached-6LR. Can this NA be multicasted if the attached-6LR has more than one RULs attached to it?

Is this correct/allowed? For RPL we have route-poisoning using which a 6LR does a graceful shutdown, but the route-poisoning is not applicable to RULs.. I believe this should be clarified in the text.



Regards,

Rahul

_______________________________________________
Roll mailing list
Roll@ietf.org<mailto:Roll@ietf.org>
https://www.ietf.org/mailman/listinfo/roll

_______________________________________________
Roll mailing list
Roll@ietf.org<mailto:Roll@ietf.org>
https://www.ietf.org/mailman/listinfo/roll