Re: graceful renumbering of CPE networks

Sander Steffann <sander@steffann.nl> Tue, 26 February 2019 16:46 UTC

Return-Path: <sander@steffann.nl>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7023912785F for <ipv6@ietfa.amsl.com>; Tue, 26 Feb 2019 08:46:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=steffann.nl
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 6EnQhdybae6i for <ipv6@ietfa.amsl.com>; Tue, 26 Feb 2019 08:46:11 -0800 (PST)
Received: from mail.sintact.nl (mail.sintact.nl [IPv6:2001:9e0:803::6]) (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 9F8E81292F1 for <ipv6@ietf.org>; Tue, 26 Feb 2019 08:46:09 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail.sintact.nl (Postfix) with ESMTP id 3354E49; Tue, 26 Feb 2019 17:46:07 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=steffann.nl; h= x-mailer:references:in-reply-to:date:date:subject:subject :mime-version:content-type:content-type:message-id:from:from :received:received; s=mail; t=1551199560; bh=hZLi1SLPpocuOP2Yue9 oduYUpD+wY88IRv38r750724=; b=RAGX6VanF+S6MZ1WzWnJYrzm3EPqYr600W7 2FOqGjtCGOvD1Gfb6KIoWbic/K+5TPOaNjX/trU7/PrNWr2WP9Q+KQTn7YkPC0QH D7261n0aMb/3qcPe1Dq4aBilTFGzFlE0RbZZpYwP8+LYxSp1Clb8y2QN0EXgRZoS +dVK7S1Q=
X-Virus-Scanned: Debian amavisd-new at mail.sintact.nl
Received: from mail.sintact.nl ([127.0.0.1]) by localhost (mail.sintact.nl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id VAUV-2FgEVKT; Tue, 26 Feb 2019 17:46:00 +0100 (CET)
Received: from [IPv6:2a02:a213:a300:ce80::10] (unknown [IPv6:2a02:a213:a300:ce80::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.sintact.nl (Postfix) with ESMTPSA id 14BF33C; Tue, 26 Feb 2019 17:45:59 +0100 (CET)
X-Clacks-Overhead: GNU Terry Pratchett
From: Sander Steffann <sander@steffann.nl>
Message-Id: <AF26AA38-EEC4-49BE-8F18-F0F7FEEC8123@steffann.nl>
Content-Type: multipart/signed; boundary="Apple-Mail=_E74138D4-8167-4FFD-B60F-16C5981A167C"; protocol="application/pgp-signature"; micalg="pgp-sha256"
Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\))
Subject: Re: graceful renumbering of CPE networks
Date: Tue, 26 Feb 2019 17:45:59 +0100
In-Reply-To: <alpine.DEB.2.20.1902261648430.24327@uplift.swm.pp.se>
Cc: "Bernie Volz (volz)" <volz@cisco.com>, Michael Richardson <mcr+ietf@sandelman.ca>, 6man WG <ipv6@ietf.org>
To: Mikael Abrahamsson <swmike@swm.pp.se>
References: <60fabe4b-fd76-4b35-08d3-09adce43dd71@si6networks.com> <BAB3061A-1808-4C0E-AA1B-2D7DD5BA63FC@employees.org> <bbd8b761-403a-5b3f-3f04-dc3bfdea116e@foobar.org> <6F3036C6-50A1-43C6-B554-31293B69E59D@employees.org> <433607c1-dbc6-a42e-cb17-dc209e33bdaa@si6networks.com> <12EA4FAE-BE3D-4CFE-9837-DF052F79A998@employees.org> <F48A816A-983E-4375-834C-75F103DCEA6A@employees.org> <8c8a79cf-0a87-15bc-bd91-bd2da82fdfa1@si6networks.com> <9BE77D1D-C247-4B8E-B9A F-22BE1DC9F79D@employees.org> <CAKD1Yr1fv3pUevB_zeZpQ-UQcNUo2zHUH4xj9NXYohyMbUSgRQ@mail.gmail.com> <25657.1550676340@localhost> <716de09a-2436-f0c7-c607-bdfef35880b1@gmail.com> <7014.1551050774@localhost> <90DA6A7F-783B-4548-861F-21DACF780D81@employees.org> <alpine.DEB.2.20.1902261422330.24327@uplift.swm.pp.se> <D25E950E-8C35-407D-A286-C4DF3A9811A1@cisco.com> <alpine.DEB.2.20.1902261513510.24327@uplift.swm.pp.se> <BN8PR11MB360181A24A0CFC91D571F48ACF7B0@BN8PR11MB3601.namprd11.prod.outlook.com> <alpine.DEB.2.20.1902261648430.24327@uplift.swm.pp.se>
X-Mailer: Apple Mail (2.3445.102.3)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/fqLbFYHZ9z7X_EB8QDUn2OP-dIE>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Feb 2019 16:46:15 -0000

Hi Mikael,

> Does the bulk leasequery really put back all needed state in the relay? So there is nothing needed to have the HGW do anything?

Yep. The DHCPv6 server remembers the relay and everything it has sent through it (that has not expired) and the relay can ask for a full dump over TCP of that data. That includes all the delegated prefixes and the link-local address of the next hop (which is the DHCPv6-PD client).

> For a different scenario, in the sense of "the customer was moved to a different BNG" so there is now no state on the new router for this customer (but the HGW doesn't know), how is DHCP reconfigure done?

It depends on the technology. If the connection is PPPoE then the CPE has to set up a new PPP session, which will generate the required state. When doing this for plain ethernet then I usually configure both BNGs as DHCPv6 relays, which means that they both see the request, both forward it to the DHCPv6 server, which then replies to both, generating the required state in both. Yes, this means that the HGW gets two DHCPv6 replies to every request, but that doesn't hurt much. They just ignore the duplicate packet.

That way both BNGs get the state, and will refresh the state using lease query after a reboot. And when you have two BNGs for redundancy they have to be able to handle each other's load in case of failure anyway, so keeping all the state is a good test for that :)

Cheers,
Sander