Re: [dhcwg] Please review draft-ietf-pcp-dhcp, particularly section 5.

"Bernie Volz (volz)" <volz@cisco.com> Wed, 19 March 2014 11:39 UTC

Return-Path: <volz@cisco.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B32951A073F for <dhcwg@ietfa.amsl.com>; Wed, 19 Mar 2014 04:39:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.048
X-Spam-Level:
X-Spam-Status: No, score=-15.048 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 v7nM8httwuMt for <dhcwg@ietfa.amsl.com>; Wed, 19 Mar 2014 04:39:31 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) by ietfa.amsl.com (Postfix) with ESMTP id B201D1A0740 for <dhcwg@ietf.org>; Wed, 19 Mar 2014 04:39:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4678; q=dns/txt; s=iport; t=1395229162; x=1396438762; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=8RKTwbV6Hwyg/ct7Bgq0+OWz1OP/iraq5qxv13PTXhQ=; b=lrX+X/0m9Ilwboyb2mTyJiwQk1wYaP2zIWrKLUu2HIZ8+4bpiFtu+6XS DKMAarBTM+t/8rcemr5cz34jed+E422dlvzcxodLEUUwqqdzi+NbvxArp m3Mgysa5+UTl8fhmybcggu+d638Ty45Wa9Y7W6Zg2ISRn/IDc+1J7axnK U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgQFAEGBKVOtJV2b/2dsb2JhbABUBoMGO7txhzyBGhZ0giUBAQEDAQEBAWsLBQcEAgEIEQQBAQEnBycLFAkIAQEEDgWHcQgNz0AXjiIQMwIFBoMegRQEiRqPLZIwgy2BaQc
X-IronPort-AV: E=Sophos;i="4.97,685,1389744000"; d="scan'208";a="311429103"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by rcdn-iport-4.cisco.com with ESMTP; 19 Mar 2014 11:39:20 +0000
Received: from xhc-aln-x12.cisco.com (xhc-aln-x12.cisco.com [173.36.12.86]) by rcdn-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id s2JBdKvu030491 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 19 Mar 2014 11:39:20 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.92]) by xhc-aln-x12.cisco.com ([173.36.12.86]) with mapi id 14.03.0123.003; Wed, 19 Mar 2014 06:39:20 -0500
From: "Bernie Volz (volz)" <volz@cisco.com>
To: "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.com>
Thread-Topic: [dhcwg] Please review draft-ietf-pcp-dhcp, particularly section 5.
Thread-Index: Ac9DVVmcWQUe02zA20CiBYbWx7bTLQAEoPXo
Date: Wed, 19 Mar 2014 11:39:19 +0000
Message-ID: <C7964664-C302-4ABE-9CAC-1AD5D9048699@cisco.com>
References: <94C682931C08B048B7A8645303FDC9F36F51A2DB17@PUEXCB1B.nanterre.francetelecom.fr>
In-Reply-To: <94C682931C08B048B7A8645303FDC9F36F51A2DB17@PUEXCB1B.nanterre.francetelecom.fr>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/dhcwg/fKjQZ5al_tAver2-QWsx9g_gzhI
Cc: DHC WG <dhcwg@ietf.org>, Ted Lemon <mellon@fugue.com>
Subject: Re: [dhcwg] Please review draft-ietf-pcp-dhcp, particularly section 5.
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 19 Mar 2014 11:39:36 -0000

No, RFC 3925 vendor options were carefully designed to comply with 3396. They can be split and concentenated.

For your draft you want the multiple instances NOT to be concatenated at least as I understand it. This is so you can tell there are 2 PCP servers, not just one with multiple addresses, if two PCP options are present.

For example if client receives two options:
PCP option with 10.1.1.1 and 10.1.1.2
PCP option with 10.2.2.2

You want that treated as two separate servers, not as a concatenated option of:
PCP option with 10.1.1.1, 10.1.1.2, 10.2.2.2
Which is what would happen if 3396 was applied by a client.

- Bernie (from iPad)

> On Mar 19, 2014, at 5:26 AM, "mohamed.boucadair@orange.com"; <mohamed.boucadair@orange.com>; wrote:
> 
> Hi Bernie,
> 
> Thanks for the comments.
> 
> Please see inline.
> 
> Cheers,
> Med
> 
>> -----Message d'origine-----
>> De : Bernie Volz (volz) [mailto:volz@cisco.com]
>> Envoyé : mardi 18 mars 2014 23:12
>> À : Ted Lemon; DHC WG
>> Cc : BOUCADAIR Mohamed IMT/OLN; Reinaldo Penno (repenno); Dan Wing (dwing)
>> Objet : RE: [dhcwg] Please review draft-ietf-pcp-dhcp, particularly section
>> 5.
>> 
>> Hi:
>> 
>> If we are to allow this (multiple instances of the same option), I think it
>> would be prudent to clarify that RFC 3396 does NOT apply for this option
>> for DHCPv4.
> I think this is the first option we have that cannot use this?
> [Med] This is not new, RFC3925 allows to send multiple instances of the same option.
> 
>> (I'm not sure 3396 was even prepared for this situation, but I could be
>> wrong.)
> [Med] RFC3396 says the following: 
> 
> "   This specification also applies in any case where a DHCP protocol
>   agent has received a DHCP packet that contains more than one instance
>   of an option of a given type.  In this case, the agent MUST
>   concatenate these separate instances of the same option in the way
>   that we specify here."
> 
> I guess this text covers the case of this draft. No?
> 
> If my interpretation is correct, then the following text can be added to the draft:
> 
>  " The OPTION_PCP_SERVER DHCPv4 option is a concatenation-requiring
>   option.  As such, the mechanism specified in [RFC3396] MUST be used
>   if the OPTION_PCP_SERVER option exceeds the maximum DHCPv4 option size
>   of 255 octets."
> 
>> 
>> This will place special requirements on both servers and clients (servers
>> not to split, clients not to combine).
>> 
>> Note that http://www.arkko.com/tools/allstats/citations-rfc3396.html is
>> useful to see which options are defined to be concatenation-requiring
>> options.
>> 
>> 
>> For DHCPv6, this is less of an issue but certainly again an unusual (the
>> first?) case - excepting IA_*, IAADDR/IAPREFIX, and vendor options.
>> 
>> (I would hope the PCP WG has a sufficiently strong motivation for needing
>> these multiple PCP server instances.)
> [Med] The context is the following: multiple PCP servers can be configured to a PCP client; each of these server can have one or multiple IP addresses. The indication whether the set of addresses belong to the same pcp server or distinct one is import for the PCP server selection procedure.
> 
>> 
>> For DHCPv6, it is also a bit odd to have:
>> 
>>  If an IPv4 address is retrieved by
>>  the DHCPv6 server, the corresponding IPv4-mapped IPv6 address is
>>  included in the OPTION_PCP_SERVER DHPCv6 option.
>> 
>> (BTW: Note the typo here - DHPCv6?)
> [Med] It is DHCPv6 indeed. The motivation text is provided in the draft:
> 
>     " Discussion: The motivation for this design is to accommodate
>      deployment cases where an IPv4 connectivity service is provided
>      while only DHPCv6 is in use (e.g., an IPv4-only PCP server in a
>      DS-Lite context [RFC6333])."
> 
>> 
>> - Bernie
>> 
>> -----Original Message-----
>> From: dhcwg [mailto:dhcwg-bounces@ietf.org] On Behalf Of Ted Lemon
>> Sent: Tuesday, March 18, 2014 12:06 PM
>> To: DHC WG
>> Subject: [dhcwg] Please review draft-ietf-pcp-dhcp, particularly section 5.
>> 
>> I've requested an IETF Last call on this document, so now's the time for
>> any last tweaks.   I mention section 5 because the way it uses distinct
>> options of the same type seems innovative and possibly not ideal.
>> 
>> https://datatracker.ietf.org/doc/draft-ietf-pcp-dhcp/
>> 
>> Thanks!
>> 
>> _______________________________________________
>> dhcwg mailing list
>> dhcwg@ietf.org
>> https://www.ietf.org/mailman/listinfo/dhcwg