Re: [dhcwg] testing PD availability (was: two comments on draft-cui-dhc-dhcpv6-prefix-length-hint-issue)

Alexandru Petrescu <alexandru.petrescu@gmail.com> Thu, 15 September 2016 08:23 UTC

Return-Path: <alexandru.petrescu@gmail.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2131912B2FB for <dhcwg@ietfa.amsl.com>; Thu, 15 Sep 2016 01:23:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.353
X-Spam-Level:
X-Spam-Status: No, score=-5.353 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_SOFTFAIL=0.665] autolearn=ham autolearn_force=no
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 ThhmLuXbpp2H for <dhcwg@ietfa.amsl.com>; Thu, 15 Sep 2016 01:23:24 -0700 (PDT)
Received: from oxalide-out.extra.cea.fr (oxalide-out.extra.cea.fr [132.168.224.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A026212B2CC for <dhcwg@ietf.org>; Thu, 15 Sep 2016 01:23:23 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by oxalide.extra.cea.fr (8.15.2/8.15.2/CEAnet-Internet-out-2.4) with ESMTP id u8F8NL3n031970; Thu, 15 Sep 2016 10:23:21 +0200
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 0A5F82059B9; Thu, 15 Sep 2016 10:23:21 +0200 (CEST)
Received: from muguet1.intra.cea.fr (muguet1.intra.cea.fr [132.166.192.6]) by pisaure.intra.cea.fr (Postfix) with ESMTP id F1820205994; Thu, 15 Sep 2016 10:23:20 +0200 (CEST)
Received: from [10.8.34.184] (is227335.intra.cea.fr [10.8.34.184]) by muguet1.intra.cea.fr (8.15.2/8.15.2/CEAnet-Intranet-out-1.4) with ESMTP id u8F8NKhE007491; Thu, 15 Sep 2016 10:23:20 +0200
To: Dan Seibel <Dan.Seibel@TELUS.COM>
References: <55B0E04A.3060402@gmail.com> <AEF0B186-92BE-49BB-9E53-FBE25DFEB1BF@telus.com>
From: Alexandru Petrescu <alexandru.petrescu@gmail.com>
Message-ID: <497e4b19-9c84-487d-e741-a6d503a62736@gmail.com>
Date: Thu, 15 Sep 2016 10:23:20 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <AEF0B186-92BE-49BB-9E53-FBE25DFEB1BF@telus.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/bG5yASL61g-D9JKgLg3GjSYKK0g>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] testing PD availability (was: two comments on draft-cui-dhc-dhcpv6-prefix-length-hint-issue)
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Sep 2016 08:23:27 -0000

Hi,

We wrote a test client looking whether PD is available in the network,
by sending a IA_PD in a Solicit; and run it against KEA and ISC servers.

If the PD knob unset at the server, both responded a Status Code
"NoPrefixAvail (6)", wireshark display.  Textually, ISC says Status
Message "No prefixes available for this interface" whereas KEA says
"Sorry, no subnet available".  What interface?  And why a 'subnet' when
what is asked is a 'prefix'?

Even though it's negative, there is a reply.  It is because these
servers have such a PD option.

What would be the behaviour with a legacy no-PD server? will it crash?
timeout no reply? reply "Noaddrsavail"?

Alex

Le 23/07/2015 à 14:54, Dan Seibel a écrit :
> For #1 I would think sending a solicit with IA_PD is how you can
> find out if the server supports it.  If it does you will get a
> prefix returned, if not you will get a Noaddrsavail for the IA.
>
>
>
>
>
>
>> On Jul 23, 2015, at 6:38 AM, Alexandru Petrescu
>> <alexandru.petrescu@gmail.com> wrote:
>>
>> Hello,
>>
>> I just read draft-cui-dhc-dhcpv6-prefix-length-hint-issue-00.
>>
>> I am happy this draft exists and I have two comments.  One is more
>>  general question in this context, and the other a potential
>> improvement, but not a request.
>>
>> The draft assumes the Client is a Host which may request a prefix
>> len at some point, and another one maybe later.  It seems the
>> prefix is to be used on the interface which has issued that
>> Solicit.  And it seems to face a Server sure to be willing to
>> deliver a prefix.
>>
>> 1. What is the best way to query a DHCPv6 Server to ask it whether
>> or not it supports Prefix Delegation at all?
>>
>> 2. when this Router changes mind and requests a different prefix,
>> maybe with a different length, a specification like
>> draft-cui-dhc-dhcpv6-prefix-length-hint-issue could recommend to
>> deprecate that prefix with specific consideration to below it, not
>> just to the Server.
>>
>> I mean this something like this:
>>
>> Current text:
>>> 1.Deprecate the old prefix right away by sending a Release
>>> message to the server, and switch over to the new prefix.
>>
>> New text:
>>> 1.Deprecate the old prefix right away by sending a Release
>>> message to the server, and switch over to the new prefix.  And
>>> by stopping sending RAs on its other interfaces with the old
>>> prefix, stop propagating it in the routing protocol.
>>
>> Alex
>>
>> _______________________________________________ dhcwg mailing list
>>  dhcwg@ietf.org https://www.ietf.org/mailman/listinfo/dhcwg
>