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

Brian E Carpenter <brian.e.carpenter@gmail.com> Wed, 24 March 2010 16:24 UTC

Return-Path: <brian.e.carpenter@gmail.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 46B363A6C07 for <dhcwg@core3.amsl.com>; Wed, 24 Mar 2010 09:24:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.04
X-Spam-Level:
X-Spam-Status: No, score=-0.04 tagged_above=-999 required=5 tests=[AWL=1.429, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
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 M1bm3mlMigrA for <dhcwg@core3.amsl.com>; Wed, 24 Mar 2010 09:24:33 -0700 (PDT)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by core3.amsl.com (Postfix) with ESMTP id 915703A6920 for <dhcwg@ietf.org>; Wed, 24 Mar 2010 09:24:32 -0700 (PDT)
Received: by fg-out-1718.google.com with SMTP id d23so1571069fga.13 for <dhcwg@ietf.org>; Wed, 24 Mar 2010 09:24:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=xBC6qDu5Fi0OtBBMFpPpO2yD6jyjZdJOwOvUlLmjWpY=; b=HW5NLiWAMoYEGg3oZnQDbtVwOXSkGN/eitvsaWKUxGqpwtncmZt3wglKXCwrRna3HY kPktRrjsffSO+9+uKjIrXF7Ir0nFr8aIUQpQtuO9KQn/IpFOr30xSVnt9+TNWG9ryCHP QREq2ERn11UJsFggWacDwEaXkWmry8jSPylPw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; b=CTlgh7BLXB7Gss1kbk6+LSBWOSeZOocSTswJIh11FDg1bYIvO9BIlKtdVEc1V3N7FS Jwpw8tuLB6dwJiKIuKC2nIgCawgH4YEbUGHp41Gu2/2WcUMUi41nFbIUzF6byDo/jXfX I60w7N6pvWVOCPK3qw0x0klZTDbqBLSmhRMX4=
Received: by 10.87.63.22 with SMTP id q22mr145380fgk.2.1269447889040; Wed, 24 Mar 2010 09:24:49 -0700 (PDT)
Received: from [130.129.27.105] ([130.129.27.105]) by mx.google.com with ESMTPS id 14sm178480fxm.5.2010.03.24.09.24.46 (version=SSLv3 cipher=RC4-MD5); Wed, 24 Mar 2010 09:24:47 -0700 (PDT)
Message-ID: <4BAA3CCC.20307@gmail.com>
Date: Thu, 25 Mar 2010 05:24:44 +1300
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: "Bernie Volz (volz)" <volz@cisco.com>
References: <D9B5773329187548A0189ED6503667890138785E@XMB-RCD-101.cisco.com>
In-Reply-To: <D9B5773329187548A0189ED6503667890138785E@XMB-RCD-101.cisco.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Cc: dhcwg@ietf.org
Subject: Re: [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 16:24:34 -0000

Thanks Bernie, very helpful.

Regards
   Brian Carpenter

On 2010-03-25 04:43, Bernie Volz (volz) wrote:
> 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
> 
>