Re: [homenet] Comments requested for draft CER-ID

Mikael Abrahamsson <swmike@swm.pp.se> Thu, 30 October 2014 20:45 UTC

Return-Path: <swmike@swm.pp.se>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF0591A86E8 for <homenet@ietfa.amsl.com>; Thu, 30 Oct 2014 13:45:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.961
X-Spam-Level:
X-Spam-Status: No, score=-3.961 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 KVurIRImwU7E for <homenet@ietfa.amsl.com>; Thu, 30 Oct 2014 13:45:51 -0700 (PDT)
Received: from uplift.swm.pp.se (swm.pp.se [212.247.200.143]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6EF4B1A876C for <homenet@ietf.org>; Thu, 30 Oct 2014 13:45:51 -0700 (PDT)
Received: by uplift.swm.pp.se (Postfix, from userid 501) id 83936A1; Thu, 30 Oct 2014 21:45:49 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=swm.pp.se; s=mail; t=1414701949; bh=bzB7fghvfzeBy/+Y1ycdWokI+DnZHJYwuptjMnLkNRc=; h=Date:From:To:Subject:In-Reply-To:References:From; b=SgLOvT7JUOoH03qpVxYaTHBplRriD7eH/gqDH1XAYyxp2IkLcb19Z5eC5cUlCzIdy M9h9ySeph5dqyN6nOb0fdQ7XSjQpougaAjHkiFVyyN8mDRELrrjIBY3gK2xlH5JLcv fAcDg5/kaQPxjbcou/GEIO5j/IQ943Rm3MYOZDMA=
Received: from localhost (localhost [127.0.0.1]) by uplift.swm.pp.se (Postfix) with ESMTP id 7F6AF9F for <homenet@ietf.org>; Thu, 30 Oct 2014 21:45:49 +0100 (CET)
Date: Thu, 30 Oct 2014 21:45:49 +0100
From: Mikael Abrahamsson <swmike@swm.pp.se>
To: "homenet@ietf.org" <homenet@ietf.org>
In-Reply-To: <D0739ED2.D31D%m.kloberdans@cablelabs.com>
Message-ID: <alpine.DEB.2.02.1410302142470.6420@uplift.swm.pp.se>
References: <D0739ED2.D31D%m.kloberdans@cablelabs.com>
User-Agent: Alpine 2.02 (DEB 1266 2009-07-14)
Organization: People's Front Against WWW
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET="US-ASCII"; FORMAT="flowed"
Archived-At: http://mailarchive.ietf.org/arch/msg/homenet/zpndEW9c8Xmr13WEfrl9_bKUZ3o
Subject: Re: [homenet] Comments requested for draft CER-ID
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/homenet/>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Oct 2014 20:45:54 -0000

On Mon, 27 Oct 2014, Michael Kloberdans wrote:

> 2.  CER Identification Option
>
>   A Customer Edge Router (CER) sets the CER_ID to the IPv6 address of
>   its LAN interface.  If it has more than one LAN IPv6 address, it
>   selects one of its LAN or loopback IPv6 addresses to be used in the
>   CER_ID.  An ISP server does not respond with the CER_ID or sets the
>   CER_ID to ::.  Such a response or lack of response indicates to the
>   DHCPv6 client that it is the CER.
>
>   The format of the CER Identification option is:
>
>    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-code              |      option-len               |
>   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>   |                                                               |
>   |                           CER_ID                              |
>   |                                                               |
>   |                                                               |
>   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>       option-code          OPTION_CER_ID (TBD).
>       option-len           36
>       CER_ID value         IPv6 address of CER or ::

I am not an expert when it comes to DHCP. Is there something implicit in 
the way that DHCP options are designed that makes it obvious that the 
"CER_ID value" is using ASCII or 128 bits binary to represent the IPv6 
address? Because it's not obvious to me from reading the above text.

-- 
Mikael Abrahamsson    email: swmike@swm.pp.se