[dhcwg] draft-guo-softwire-sc-discovery-03

"Bernie Volz (volz)" <volz@cisco.com> Wed, 24 March 2010 15:52 UTC

Return-Path: <volz@cisco.com>
X-Original-To: dhcwg@core3.amsl.com
Delivered-To: dhcwg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E73073A6CF5 for <dhcwg@core3.amsl.com>; Wed, 24 Mar 2010 08:52:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.469
X-Spam-Level:
X-Spam-Status: No, score=-9.469 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KxXJWg3Woia8 for <dhcwg@core3.amsl.com>; Wed, 24 Mar 2010 08:52:28 -0700 (PDT)
Received: from rtp-iport-2.cisco.com (rtp-iport-2.cisco.com [64.102.122.149]) by core3.amsl.com (Postfix) with ESMTP id 3B7453A6BBD for <dhcwg@ietf.org>; Wed, 24 Mar 2010 08:42:59 -0700 (PDT)
Authentication-Results: rtp-iport-2.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvsEAKfPqUutJV2b/2dsb2JhbACbHnOmXpkJhH4Egx4
X-IronPort-AV: E=Sophos;i="4.51,301,1267401600"; d="scan'208";a="95802943"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by rtp-iport-2.cisco.com with ESMTP; 24 Mar 2010 15:43:19 +0000
Received: from xbh-rcd-202.cisco.com (xbh-rcd-202.cisco.com [72.163.62.201]) by rcdn-core-4.cisco.com (8.14.3/8.14.3) with ESMTP id o2OFhIKi020474; Wed, 24 Mar 2010 15:43:18 GMT
Received: from xmb-rcd-101.cisco.com ([72.163.62.143]) by xbh-rcd-202.cisco.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 24 Mar 2010 10:43:18 -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: Wed, 24 Mar 2010 10:43:17 -0500
Message-ID: <D9B5773329187548A0189ED6503667890138785E@XMB-RCD-101.cisco.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: draft-guo-softwire-sc-discovery-03
Thread-Index: AcrLaLi8YmmJY6+0T36UVljfXSGfwQ==
From: "Bernie Volz (volz)" <volz@cisco.com>
To: guoseu@huawei.com, shengjiang@huawei.com, brian.e.carpenter@gmail.com
X-OriginalArrivalTime: 24 Mar 2010 15:43:18.0623 (UTC) FILETIME=[B9B5FEF0:01CACB68]
Cc: dhcwg@ietf.org
Subject: [dhcwg] draft-guo-softwire-sc-discovery-03
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 24 Mar 2010 15:52:29 -0000

Hi:

Regarding your draft, I have two comments regarding the formatting of
options:

3.1. DHCPv4 Softwire Concentrator Discovery (SCD) Option

...

   A DHCP message may carry more than one SCD Option.


Please read http://tools.ietf.org/html/rfc3396 as to why this isn't
valid and won't work with your currently proposed option layout.
Multiple instances of an option in DHCPv4 are CONCATENATED and thus any
encoding that wants 'multiple' instances needs to be formatted that a
single instance contains the option data and is set up in such a way
that it can be decoded as multiple instances.

An easy way to accomplish this would be to add an instance-length byte
before the Tunnel Type field that indicates how long this instance is.
That way, multiple instances can be encoded (code, len, instance1-len,
instance1-data, [instance2-len, instance2-data, [...]]).

Note that in DHCPv6 multiple instances are perfectly valid and are NOT
concatenated.


However, for the DHCPv6 options, suboptions MUST be encoded in DHCPv6
option format. This means 16-bit suboption code, 16-bit suboption
length. Please do NOT define yet another format for clients and servers
to support - DHCPv6 uses 16-bit fields.

- Bernie