Re: [dhcwg] WGLC on draft-ietf-dhc-mac-assign-01 and draft-ietf-dhc-slap-quadrant-01 - respond by Nov. 17

ianfarrer@gmx.com Fri, 13 March 2020 15:48 UTC

Return-Path: <ianfarrer@gmx.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 BBD293A0D25 for <dhcwg@ietfa.amsl.com>; Fri, 13 Mar 2020 08:48:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=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=gmx.net
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 nq5zv0P8I1TV for <dhcwg@ietfa.amsl.com>; Fri, 13 Mar 2020 08:48:03 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7DDA23A0D33 for <dhcwg@ietf.org>; Fri, 13 Mar 2020 08:48:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1584114476; bh=3BoQson4RXWmywpqZHfnWcRlGmoIAehymMIenDHoU40=; h=X-UI-Sender-Class:From:Subject:Date:In-Reply-To:Cc:To:References; b=S+AM/Bjh4imZjiUB79nCGDBpNkqXMHP4l0NP27NREfPea4FQbwou1vg3+T+39JPnC BkA9uh5WZSTfTikJhPr/P7Cepim3fq09UKUBcvUaZ83kdjAQqRn5QjLWsKLSLUSRr/ bkZgphl1aFsw95mVLB+yXZMfUoGqLXgxl8sUjynM=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.128.26] ([87.78.168.7]) by mail.gmx.com (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1Ml6qC-1jbu8e0kKS-00lTiD; Fri, 13 Mar 2020 16:47:56 +0100
From: ianfarrer@gmx.com
Message-Id: <B71EECEC-9A15-43D5-990D-8DB5257E0743@gmx.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_362B9724-BCDE-4855-8F55-97A81F23C9F2"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Fri, 13 Mar 2020 16:47:54 +0100
In-Reply-To: <CALypLp-5wKTY1Q-N6zRqd9fv_pqHk8x5F7Gy3topKFLhmnfZBg@mail.gmail.com>
Cc: Tomek Mrugalski <tomasz.mrugalski@gmail.com>, "Bernie Volz (volz)" <volz@cisco.com>, dhcwg <dhcwg@ietf.org>
To: CARLOS JESUS BERNARDOS CANO <cjbc@it.uc3m.es>
References: <c9976d83-7243-cf44-a9c6-ff858afb5247@gmail.com> <CD79D9E3-4B44-4D9D-85A6-849EC540DCA4@gmx.com> <CALypLp-hLE8g_z8fzxU-q-xoN1ogqo9Tqw1mHJUs=++DcXreig@mail.gmail.com> <A6AFDB93-2C79-4C54-AF84-B5F1CB55D620@gmx.com> <CALypLp-mcLbGVPd6b1Nw8qMeYX6_pDYQu7e72b9hGrk52TRSig@mail.gmail.com> <D1A4475A-E548-49CC-B8E8-1B5FDAD9072B@gmx.com> <CALypLp-5wKTY1Q-N6zRqd9fv_pqHk8x5F7Gy3topKFLhmnfZBg@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.104.11)
X-Provags-ID: V03:K1:FGineOFkP02eX0jy3LToaoJ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rlxeyaYW9VvWLbRbBUJQY/r205oVEmis1n2Rv2aeCJftDqmUtqTLy0i+pY4O2Q nsdz5Iv46GRnhTBtJHThjifdhoBacgBbYdOTnAWXRcmiI36ejq8VhYHw9kMVGlVo1inWHJM8H HC7NPh7s5AMDxkLCGe++Lcgjd2rYyRxa+dV4Arf2c0/iLqesWIFjdsNBli8ZtWJg4xyEGD+XW VUpUSsPQyJlS+wYZuwSVkJiLq8N1vod9aThZx31F5PbIXKDmFNcg9LMfVEs/RCqmteYm8GB07 PMh087M2k3OWWl9fnKQbGzzXfmdwyeNRCVtskZh7MGcx/APXVecoyAW/8CCXjKyXKjxH8uri2 AVBBYxPt5kB+4paa57Uq4LkOzSZlLoi/4rBxW8JlXj1mbTv6RtLykwv5nY349gfaTgWETrF1R SYDho+eNTXPQjA3AA
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/Ns0XpiWioaqxHk_qzKPSzzRy4B0>
Subject: Re: [dhcwg] WGLC on draft-ietf-dhc-mac-assign-01 and draft-ietf-dhc-slap-quadrant-01 - respond by Nov. 17
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 13 Mar 2020 15:48:13 -0000

Hi Carlos,

Thanks for the update. 

Please see inline below.

Cheers,
Ian

> 
> -----
> 
> For the following text:
> 
>    If a client provides a QUAD IA_LL-option and the relay agent is still
>    configured to add its preference value, the server SHOULD follow what
>    is administratively configured in a QUAD_RELAY_PREF internal
>    variable.  If the value is set to 1, then the realy provided
>    preference overrides what the client has provided, while if the
>    variable is set to 0, then the client's provided preference is
>    considered.  It is RECOMMENDED that QUAD_RELAY_PREF is set to 1 at
>    the server.
> 
> I don’t agree with the recommendation here, as in section 4.2 the text states that the
> client SHOULD NOT configure a prefix from an unrequested quadrant. The ‘1' recommendation
> says ‘relay knows best’, but the client’s actually got the veto on whether it will configure it
> or not. The client clearly knows best here!
> 
> [CB] Good point. I agree. I've changed it.
>  
> 
> Also, the text using QUAD_RELAY_PREF and ‘value is set to 1’ etc. seems overly prescriptive
> for an implementation. It would be better to use more general terms e.g. ‘administratively
> configured to evaluate the client’s supplied instance of OPTION_SLAP_QUAD and ignore
> the relay supplied instance, or vice versa’.
> 
> [CB] I'm not sure I got this point right. I've rewritten this part and now reads as follows:
> 
> "If a client provides a QUAD IA_LL-option and the relay agent is still configured
> to add its preference value, the server SHOULD follow what is administratively
> configured in a QUAD_RELAY_PREF internal variable. If the value is set to 1, the
> server is administratively configured to evaluate the client's supplied instance
> of OPTION_SLAP_QUAD and ignore the relay supplied instance. If the variable is
> set to 0, then the server is administratively configured to evaluate the relay's
> provided preference and ignore the client supplied instance. It is RECOMMENDED
> that QUAD_RELAY_PREF is set to 0 at the server.”

[if - My point here is that defining the name of a configuration parameter (QUAD_RELAY_PREF)
and its allowable values is really unnecessary. I’m sure that implementors will use whatever
naming they see fit.

Additionally, I think the first point has got a bit mangled. Can I propose the following text for the
paragraph which addresses both points:

"
The server SHOULD implement a configuration parameter to deal with 
the case where the client’s DHCP message contains an instance of OPTION_SLAP_QUAD,
and the relay adds a second instance in its relay-forward message. This parameter
configures the server to process either the client’s, or the relay’s instance of option QUAD.
It is RECOMMENDED that the default for such a parameter is to process the client’s instance
of the option.
“
]


> 
> 
>> On 28. Feb 2020, at 00:32, CARLOS JESUS BERNARDOS CANO <cjbc@it.uc3m.es <mailto:cjbc@it.uc3m.es>> wrote:
>> 
>> Hi Ian,
>> 
>> Thanks a lot for your comments.
>> 
>> Please see inline below.
>> 
>> 
>> On Tue, Jan 14, 2020 at 12:22 PM <ianfarrer@gmx.com <mailto:ianfarrer@gmx.com>> wrote:
>> Hi Carlos,
>> 
>> Thanks for the update. I’ve got a few more comments on the current version, in addition to Bernie's.
>> 
>> Thanks and best regards,
>> Ian 
>> 
>> 
>> 
>> Section 4.1 Step 2:
>> 
>> "If the server supports the new QUAD IA-LL-option, and manages
>> a block of addresses belonging to the requested quadrant, the
>> addresses being offered SHOULD belong to the requested
>> quadrant.  If the server does not have addresses from the
>> requested quadrant, it MUST return the IA_LL option
>> containing a Status Code option with status set to NoQuadAvail (IANA-2).”
>> 
>> 1, This should describe the process of checking the QUAD option’s 
>> priorities to find the highest priority quadrant with an available address.
> 
> [if - The text still doesn’t describe how the server parses the client’s request. Can I suggest
> the. following text change:
> 
> old:
> The server, upon receiving a IA_LL option, inspects its content
>        and may offer an address or addresses for each LLADDR option
>        according to its policy. The server sends back an Advertise
>        message ...
> 
> new:
> The server, upon receiving a IA_LL option, inspects its contents. For each of the entries in OPTION_SLAP_QUAD, in order of the preference field (highest to lowest), the server checks if it has a configured MAC address pool matching the requested quadrant identifier, and an available range of addresses of the requested size. If suitable addresses are found, The server sends back an Advertise message…. ]

[if - I think this one got missed. As this is now in step 3,  the comment is relevant for this.]

> 
>> 
>> ---
>> 
>> Section 4.1 Step3. 
>> 1, Does the client perform any validation that the received MAC address comes from one of 
>> the requested quadrants? If the address doesn’t, what does the client do? I think it would be worth having
>> some text on how the client is expected to behave in this case. This is especially important
>> in the case of the relay adding the option, as if the quadrant the relay prefers is one that the
>> client will not configure, then there’s a risk of breaking things.
>> 
>> [Carlos] Again, a very good point, thanks. I've added some text at the end of Sections 4.1 and 4.2.
> 
> 
> [if - A question that arises from the above is what the client should then do with any other addressing information that is has been received in the DHCPv6 reply (i.e. an address allocation for a requested IA_NA). Should the IA_NA be used with the existing (initial, temporary) MAC address, or should it not be configured and DHCP retried until a MAC address from a requested quadrant is received (and a new IA_NA allocation with it?]
> 
> [CB] That's a very good question. I think the client should configure it independently from the MAC address configuration process. If the client wants to first configure the MAC address and then other aspects, it could follow a sequential process, first configuring its MAC address and then going for additional things, no? What do you think?

[if - I think this question is relevant to both this draft and draft-ieft-dhc-mac-assign. I’ve raised it in a separate email.]

>>> ----
>>> 
>>> There also needs to be a definition for the relay function, as it needs to be updated for
>>> the Quad option as well.
>>> 
>>> [CB] I've added it. Thanks.
>> 
>> [if - One question about the wording here - does the relay need to support IA_LL, or only QUAD? I don’t see
>> any requirement for the relay to look for instances of IA_LL in the client’s messages, and the relay doesn’t 
>> create them itself.)
> 
> [if. - I didn’t see an answer for this. Also, the relay definition doesn’t state that the relay (may) implement OPTION_SLAP_QUAD.]
> 
> [CB] If I got your point right, the relay does not need to support IA_LL, only QUAD. However, an implementation of relay might look for instances of IA_LL instances in the client's messages and decide whether to add a QUAD option (and what to put there) taking into consideration the content of the IA_LL option. Do you agree? Should we add some text about this?
> 

[if - I still don’t think that this is likely to be implemented, or what the benefit would be given that the client can indicate a quad preference (if it has one), the relay can add a quad, the server can be configured to say which one it will use if there is a choice, and all of this can be done without relay message snooping logic. What is missing that would justify this complexity?]