Re: [dhcwg] Comments on draft-ietf-dhc-pd-exclude-02 (& draft-mrugalski-dhc-dhcpv6-suboptions-01)

"Bernie Volz (volz)" <volz@cisco.com> Thu, 28 July 2011 19:25 UTC

Return-Path: <volz@cisco.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 1933511E80F0 for <dhcwg@ietfa.amsl.com>; Thu, 28 Jul 2011 12:25:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OxkqF-PepS0d for <dhcwg@ietfa.amsl.com>; Thu, 28 Jul 2011 12:25:04 -0700 (PDT)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) by ietfa.amsl.com (Postfix) with ESMTP id AFDD311E80E5 for <dhcwg@ietf.org>; Thu, 28 Jul 2011 12:25:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=volz@cisco.com; l=7692; q=dns/txt; s=iport; t=1311881103; x=1313090703; h=mime-version:content-transfer-encoding:subject:date: message-id:in-reply-to:references:from:to:cc; bh=SG0Gw8MX2xJ5PVFZUIK+OUzYqiwCuHrhvmpv9FPZNSY=; b=aULe4eDZyjgB0v2SvuihtymQo6DuLcd8krXGW7Lz4fM5bsw3KiYzUWr5 thBfzEJavEH/149fvcsDwye8Ou/F6D107SKQSn6cEoNat/31VIDbUfu3Z mrPxcvXg632kUtNq9H47EWMUMj7BP5ZWgTNxY2yrf9ToTljcVs9G7wMyI w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AuUAAIy2MU6tJXG9/2dsb2JhbAApCwEBAQECAQEBAREBIQo6CwUHBQIBCREEAQELBgYdAQYBExgjDggBAQUBFgwUB5drj093iHwEpGmeQoMjgj9fBIdZkDCLcg
X-IronPort-AV: E=Sophos;i="4.67,283,1309737600"; d="scan'208";a="7510453"
Received: from rcdn-core2-2.cisco.com ([173.37.113.189]) by rcdn-iport-5.cisco.com with ESMTP; 28 Jul 2011 19:25:01 +0000
Received: from xbh-rcd-301.cisco.com (xbh-rcd-301.cisco.com [72.163.63.8]) by rcdn-core2-2.cisco.com (8.14.3/8.14.3) with ESMTP id p6SJP1K1025332; Thu, 28 Jul 2011 19:25:01 GMT
Received: from xmb-rcd-101.cisco.com ([72.163.62.143]) by xbh-rcd-301.cisco.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 28 Jul 2011 14:25:01 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 28 Jul 2011 14:24:58 -0500
Message-ID: <D9B5773329187548A0189ED65036678908893699@XMB-RCD-101.cisco.com>
In-Reply-To: <8028E635-78F5-4979-8DF5-1F329317B90D@gmail.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [dhcwg] Comments on draft-ietf-dhc-pd-exclude-02 (& draft-mrugalski-dhc-dhcpv6-suboptions-01)
Thread-Index: AcxK9cnqP+NCnk2oQueTINdxMez1YACYng0Q
References: <4E2C7836.5090404@gmail.com> <8028E635-78F5-4979-8DF5-1F329317B90D@gmail.com>
From: "Bernie Volz (volz)" <volz@cisco.com>
To: jouni korhonen <jouni.nospam@gmail.com>, Tomasz Mrugalski <tomasz.mrugalski@gmail.com>
X-OriginalArrivalTime: 28 Jul 2011 19:25:01.0083 (UTC) FILETIME=[0B6B8EB0:01CC4D5C]
Cc: DHC WG <dhcwg@ietf.org>
Subject: Re: [dhcwg] Comments on draft-ietf-dhc-pd-exclude-02 (& draft-mrugalski-dhc-dhcpv6-suboptions-01)
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 28 Jul 2011 19:25:05 -0000

Regarding issue #3 and draft-mrugalski-dhc-dhcpv6-suboptions-01.txt ...
Actually the list in draft-mrugalski-dhc-dhcpv6-suboptions-01.txt on
page 5 somewhat compares apples and oranges ...

#3. in that list could NEVER use the RFC 3315 ORO as it provides only a
method to identify IANA assigned options and not vendor options. So, I
really don't think this is valid as an argument here. For vendor
options, the vendor will need to define their own ORO option in their
space to accommodate this (if needed). End of story.


Regarding draft-ietf-dhc-pd-exclude-02, I was thinking a bit about how
this might be implemented in servers (whether a delegating router or
server). And, actually, putting the ORO inside the IA_PD option would,
IMHO, be better as it does allow us to start thinking more about what
draft-mrugalski-dhc-dhcpv6-suboptions-01 is proposing.

And, I would think that this pd-exclude option could just be
pre-configured on the appropriate level for the server (prefix,
server-wide, etc) and sent out 'as is' when requested? While today this
would not work for servers that aren't updated to support the ORO at
various levels, it will require a generic server change and not
something specific to this one option.

While DHC RFCs generally stay away from 'server' configuration issues, I
think in this case the two configuration models are to pre-configure it
or have some settings as to whether exclude-pd is enabled, the target
excluded prefix length (likely 64), and whether the all-zero's or
all-one's prefix should be excluded (excluding other values, such as the
example in pd-exclude, is more difficult in this calculated case if the
delegated prefix length is allowed to be variable). This could then be
used in cases where 'clients' (requesting routers) might be delegated a
variety of prefix lengths depending on what they requested (hint) or are
to be given based on some policy decisions.

I also wonder this might even argue for a simplified option ...

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |       OPTION_PD_EXCLUDE       |         option-len = 2        |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  prefix-len   |    flags      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Where flags has just 1 bit for now which specifies whether to 0s or 1s
extend the delegated prefix to the prefix-len.

Is the example (where 5 bits of 0|1|1|1|1 where used really realistic)?
Do we really need this level of flexibility?


Another reason for placing this into an IA_PD ORO option is what if
there are multiple IA_PDs and the requesting router is only interested
in supporting this in some cases. Consider the case where the requesting
router has already obtained an IA_PD (w/PD_EXCLUDE) and now needs
another because there are more prefixes needed. In this case, this
request would NOT want to include the PD_EXCLUDE for these additional
IA_PD(s) because they would NOT be used on the WAN interface? So, I
think having this be at the IA_PD level is the correct way to go.

- Bernie

-----Original Message-----
From: dhcwg-bounces@ietf.org [mailto:dhcwg-bounces@ietf.org] On Behalf
Of jouni korhonen
Sent: Monday, July 25, 2011 2:08 PM
To: Tomasz Mrugalski
Cc: DHC WG
Subject: Re: [dhcwg] Comments on draft-ietf-dhc-pd-exclude-02

Hi Tomasz,

On Jul 24, 2011, at 10:53 PM, Tomasz Mrugalski wrote:

> Hi,
> I've just read the updated version of draft-ietf-dhc-pd-exclude-02
> draft. Thank you for amending the draft according to most of my
> comments. It looks good.

Thanks for reviewing -02. Comments inline.

> I have several more comments:
> 
> 1. Section 5.1 describes SOLICIT-ADVERTISE exchange and concludes that
> received PD_EXCLUDE may be used to select best server. You may want to
> add a single sentence similar to "Requesting router MUST proceed to
> Prefix Delegation procedure described in section 6.1".

Makes sense.

> 2. Section 5.1 describes 4 message exchange. What if delegating router
> wants to use rapid-commit (SOLICIT-REPLY)? You should add a
> clarification that requesting router MUST use received values in REPLY
> if rapid-commit option was sent in SOLICIT (recommended).
Alternatively,
> you may say that rapid-commit is not allowed with PD_EXCLUDE (that
would
> be unnecessary restriction, so it is not recommended).

Hmm.. restricting rapid-commit wouldn't make sense, agree. However, the
current wording is like it is now due trying to be align with RFC3633,
which has the following text in Section 11.1:

   ...
   3315.  The requesting router MAY choose to consider the presence of
   advertised prefixes in its decision about which delegating router to
   respond to.

The above implies me also a 4 message exchange. How about:

   Once receiving Advertise message, the requesting router uses the
   prefix(es) received in OPTION_PD_EXCLUDE in addition to the
   advertised prefixes to choose the delegating router. Requesting
   router MUST proceed to Prefix Delegation procedure described in
   Section 6.1. If Advertise message did not include
   OPTION_PD_EXCLUDE option, then the requesting router MUST fall
   back to normal [RFC3633] Section 11.1 behavior.

> 
> 3. I acknowledge that authors chose not to follow ORO suboption
approach
> proposed in draft-mrugalski-dhc-dhcpv6-suboptions. That is
unfortunate,
> but I can live with it. However, if you still considering that
> possibility, I'd like to present additional arguments that may support
> ORO suboption approach.
> 
> Since PD_EXCLUDE implementation requires modification of both server
> (delegating router) and client (requesting router) code, there's no
real
> difference if you:
> a) send top-level ORO and server needs to know that this specific
> PD_EXCLUDE option does not go to the message directly, but rathere
> within IAPPREFIX
> b) send ORO within IA_PD (or IAPREFIX) and server needs to parse it in
> those scopes
> 
> In both cases, server requires custom logic to be coded to serve
> PD_EXCLUDE to requesting routers. My opinion is that option b) would
be
> generic and would allow reusing this logic for other options that may
be
> stored as suboptions.
> 
> Think about this in a long term. 10 years from now, there will
probably
> be around 200 options defined. With your current approach, server will
> need to decide on a per option basis, where to return requested
options
> - directly in message or perhaps within other options.
> 
> Ok, that was the last time I tried to convince you to use ORO
suboption.
> Regardless of your decision, I strongly support your draft.

I understand this. My issue is more of the lack of clear text for this
type of OPTION_ORO usage in RFC3315. I can see it mentioned in Appendix
B table but that is all. In order to provide unambiguous solution I
would most probably add all required text in this I-D as standalone or
reference to draft-mrugalski (apparently it the should be a normative
reference, with normative language). I don't find either of these as a
good approach.

- Jouni



> 
> Good luck with the presentation on Thursday!
> 
> Regards,
> Tomek
> _______________________________________________
> dhcwg mailing list
> dhcwg@ietf.org
> https://www.ietf.org/mailman/listinfo/dhcwg

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