Re: [dhcwg] dhcwg Digest, DHCP Renew vs Confirm

Huan Huan <shawngespan@gmail.com> Thu, 01 March 2012 13:05 UTC

Return-Path: <shawngespan@gmail.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 8BC5D21F87DA for <dhcwg@ietfa.amsl.com>; Thu, 1 Mar 2012 05:05:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level:
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p2e4zxHXevBt for <dhcwg@ietfa.amsl.com>; Thu, 1 Mar 2012 05:05:26 -0800 (PST)
Received: from mail-bk0-f44.google.com (mail-bk0-f44.google.com [209.85.214.44]) by ietfa.amsl.com (Postfix) with ESMTP id 45C0221F8835 for <dhcwg@ietf.org>; Thu, 1 Mar 2012 05:05:25 -0800 (PST)
Received: by bkuw5 with SMTP id w5so548626bku.31 for <dhcwg@ietf.org>; Thu, 01 Mar 2012 05:05:24 -0800 (PST)
Received-SPF: pass (google.com: domain of shawngespan@gmail.com designates 10.204.157.138 as permitted sender) client-ip=10.204.157.138;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of shawngespan@gmail.com designates 10.204.157.138 as permitted sender) smtp.mail=shawngespan@gmail.com; dkim=pass header.i=shawngespan@gmail.com
Received: from mr.google.com ([10.204.157.138]) by 10.204.157.138 with SMTP id b10mr2566505bkx.75.1330607124462 (num_hops = 1); Thu, 01 Mar 2012 05:05:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PaU+4XkflbThzLwTnfMBxxt1651jO5LyEfHXIPR9+IE=; b=Qb1llspDBtOd76FsLtzGlMwB3r1md8rt9TDNlVCr0Bxq9g3/qx5KN3IDm1fdmtGGUn oZaHYGlV9YOcS5Z13pJEID3D6pNT0kDpSovpNE3No1oCsJ3BQkF2R13jslxWzHkB1r/s 1k3+zYqdN7DKkMoUp3Z+Y60o5SmqNCR4TCXj8=
MIME-Version: 1.0
Received: by 10.204.157.138 with SMTP id b10mr2048387bkx.75.1330607124319; Thu, 01 Mar 2012 05:05:24 -0800 (PST)
Received: by 10.204.65.200 with HTTP; Thu, 1 Mar 2012 05:05:24 -0800 (PST)
In-Reply-To: <D9B5773329187548A0189ED6503667890AEA2B1A@XMB-RCD-101.cisco.com>
References: <CAByx+R0h5VFROEVfHG12eAN9gHefDp4P4yK_m=UNQSZ_R7YQcQ@mail.gmail.com> <3044811E-D5D2-44D0-AFC4-DE1514CC6A38@iol.unh.edu> <CAByx+R0ua0D_o4CgDD21A-ZUJh2JQHqLYrW935s7tZnesmrzVA@mail.gmail.com> <D9B5773329187548A0189ED6503667890AEA2AEC@XMB-RCD-101.cisco.com> <D0CF8F08-1A8F-4671-AE97-D4A8EEE23814@iol.unh.edu> <D9B5773329187548A0189ED6503667890AEA2B1A@XMB-RCD-101.cisco.com>
Date: Thu, 01 Mar 2012 21:05:24 +0800
Message-ID: <CAByx+R2fqFXwWYNp0vON8Ot2f6xhFEeUDA1eJvXJUYeoPH7oiA@mail.gmail.com>
From: Huan Huan <shawngespan@gmail.com>
To: "Bernie Volz (volz)" <volz@cisco.com>
Content-Type: multipart/alternative; boundary="0015175cd0e0fb0d3104ba2e1c7a"
Cc: dhcwg@ietf.org
Subject: Re: [dhcwg] dhcwg Digest, DHCP Renew vs Confirm
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, 01 Mar 2012 13:05:31 -0000

Hi all,

I really want to know the end of this issue? Should we need to modify
RFC3633 or we need a new draft?

Regards,

Huan

2012/2/16 Bernie Volz (volz) <volz@cisco.com>

> >          I asked Ole about this at V6 World Congress last week, and he
> mentioned that it wasn't in RFC 3633 because Confirm is for detecting
> on-link confirmation.   It's possible I misunderstood him, if so he can
> feel free to jump in.****
>
> ** **
>
>    Any responding servers will indicate whether those****
>
>    addresses are appropriate for the link to which the client is****
>
>    attached with the status in the Reply message it returns to the****
>
>    client.****
>
> ** **
>
> …****
>
> ** **
>
>    NotOnLink       4 The prefix for the address is not appropriate for****
>
>                      the link to which the client is attached.****
>
> ** **
>
> I disagree as the RFC 3315 text never says “on-link” in the strict sense
> of what “on-link” means for IPv6. It says “appropriate for the link”. The
> status code is “NotOnLink” but that is something that is definitive in the
> case when a delegate prefix is not ‘appropriate’ for the link. I believe
> Ralph was purposely careful in the language used in RFC 3315 that we didn’t
> imply that an address was “on-link” in the sense of the L bit for ND.****
>
> ** **
>
> I don’t remember the timing of the documents and work on RFC 3633 might
> have started before RFC 3315 was finalized and perhaps an earlier 3315
> draft had some different terminology which was more directly tied to
> “on-link”. (Given that the RFC publication dates are only 6 months apart, I
> suspect they were worked on in parallel. While the IETF process was faster
> back then, it was never that fast.)****
>
> ** **
>
> >          Is a DHCP Client not following RFC 3315 if they don't transmit
> a DHCP Confirm message? ****
>
> ** **
>
>    In any situation when a client may have moved to a new link, the****
>
>    client MUST initiate a Confirm/Reply message exchange.  ****
>
> ** **
>
> Thus, a strict read of RFC 3315 says it is required (MUST – not SHOULD).**
> **
>
> ** **
>
> Perhaps the above are items for -bis documents if they are ever done. Or,
> a new draft might want to propose a reconsidering of these issues?****
>
> ** **
>
> **-          **Bernie****
>
> ** **
>
> *From:* Timothy Winters [mailto:twinters@iol.unh.edu]
> *Sent:* Wednesday, February 15, 2012 11:53 PM
> *To:* Bernie Volz (volz)
> *Cc:* Huan Huan; dhcwg@ietf.org
>
> *Subject:* Re: [dhcwg] dhcwg Digest, DHCP Renew vs Confirm****
>
> ** **
>
> Hi Bernie,****
>
>             I asked Ole about this at V6 World Congress last week, and he
> mentioned that it wasn't in RFC 3633 because Confirm is for detecting
> on-link confirmation.   It's possible I misunderstood him, if so he can
> feel free to jump in.****
>
> ** **
>
>             As you point out RFC 3315 doesn't prevent an implementation
> from transmitting a Renew message when this happens.   So they are within
> the specification for transmitting the Renew message.  The missing piece is
> that we have DHCP clients, in this case CE Routers, that don't transmit
> Confirm messages. RFC 3315 states a Confirm message should happen when a
> device may have moved to another link, so unplugging the physical link
> should cause a DHCP Confirm message when plugged back in.  ****
>
> ** **
>
>             Is a DHCP Client not following RFC 3315 if they don't
> transmit a DHCP Confirm message? ****
>
> ** **
>
> Regards,****
>
> Tim****
>
> ** **
>
> On Feb 15, 2012, at 10:29 PM, Bernie Volz (volz) wrote:****
>
>
>
> ****
>
> I don’t really see what’s wrong with EITHER a REBIND or CONFIRM (or even
> both, one for IA_PD and one for address). Not really sure why RFC 3633
> didn’t permit a Confirm.****
>
>  ****
>
> However, if one does a strict read of the standards, the two (Confirm for
> address, Renew for PD) is what a  client SHOULD do.****
>
>  ****
>
> But, there’s no reason a prefix can’t be confirmed just as easily as an
> address.****
>
>  ****
>
> Perhaps Ole had a reason for this in RFC 3633, but alas it is not
> documented (at least that I could see).****
>
>  ****
>
> And, a Rebind (for an address) at any time isn’t really “wrong”.****
>
>  ****
>
> For a compliance test, you are probably forced to follow the standards as
> that is the only thing that you can assure (a server may be strict in
> following RFC 3633 and consider a Confirm with prefixes “wrong”). (Cisco
> Network Registrar will deal with all of the possibilities.)****
>
> -          Bernie****
>
>  ****
>
> *From:* dhcwg-bounces@ietf.org [mailto:dhcwg-bounces@ietf.org] *On Behalf
> Of *Huan Huan
> *Sent:* Wednesday, February 15, 2012 8:56 PM
> *To:* Timothy Winters
> *Cc:* dhcwg@ietf.org
> *Subject:* Re: [dhcwg] dhcwg Digest, DHCP Renew vs Confirm****
>
>  ****
>
> I don't think so.****
>
>  ****
>
> 2012/2/15 Timothy Winters <twinters@iol.unh.edu>****
>
> Hi Huan,****
>
>       Is it ok to transmit just a Renew message containing both the IA_NA
> and IA_PD when the link goes down?****
>
>  ****
>
> Regards,****
>
> Tim****
>
>
>
> On Feb 14, 2012, at 8:12 PM, Huan Huan <shawngespan@gmail.com> wrote:****
>
> Hi Tim,****
>
>  ****
>
> I think CE Router may transmit Confirm msg containing the assigned IA_NA
> and Renew msg containing the assigned IA_PD separately.****
>
>  ****
>
> BR,****
>
> Huan ****
>
> 2012/2/15 <dhcwg-request@ietf.org>****
>
> If you have received this digest without all the individual message
> attachments you will need to update your digest options in your list
> subscription.  To do so, go to
>
> https://www.ietf.org/mailman/listinfo/dhcwg
>
> Click the 'Unsubscribe or edit options' button, log in, and set "Get
> MIME or Plain Text Digests?" to MIME.  You can set this option
> globally for all the list digests you receive at this point.
>
>
>
> Send dhcwg mailing list submissions to
>        dhcwg@ietf.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://www.ietf.org/mailman/listinfo/dhcwg
> or, via email, send a message with subject or body 'help' to
>        dhcwg-request@ietf.org
>
> You can reach the person managing the list at
>        dhcwg-owner@ietf.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of dhcwg digest..."
>
>
> Today's Topics:
>
>   1. I-D Action: draft-ietf-dhc-forcerenew-nonce-04.txt
>      (internet-drafts@ietf.org)
>   2. DHCP Renew vs Confirm (Timothy Winters)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 14 Feb 2012 02:40:41 -0800
> From: internet-drafts@ietf.org
> To: i-d-announce@ietf.org
> Cc: dhcwg@ietf.org
> Subject: [dhcwg] I-D Action: draft-ietf-dhc-forcerenew-nonce-04.txt
> Message-ID: <20120214104041.23040.30559.idtracker@ietfa.amsl.com>
> Content-Type: text/plain; charset="utf-8"
>
>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories. This draft is a work item of the Dynamic Host Configuration
> Working Group of the IETF.
>
>        Title           : Forcerenew Nonce Authentication
>        Author(s)       : David Miles
>                          Wojciech Dec
>                          James Bristow
>                          Roberta Maglione
>        Filename        : draft-ietf-dhc-forcerenew-nonce-04.txt
>        Pages           : 12
>        Date            : 2012-02-14
>
>   Dynamic Host Configuration Protocol (DHCP) FORCERENEW allows for the
>   reconfiguration of a single host by forcing the DHCP client into a
>   Renew state on a trigger from the DHCP server.  In Forcerenew Nonce
>   Authentication the server sends a nonce to the client on the initial
>   DHCP ACK that is used for subsequent validation of a FORCERENEW
>   message.  This document updates RFC 3203.
>
>
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-ietf-dhc-forcerenew-nonce-04.txt
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
> This Internet-Draft can be retrieved at:
> ftp://ftp.ietf.org/internet-drafts/draft-ietf-dhc-forcerenew-nonce-04.txt
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 14 Feb 2012 08:43:50 -0500
> From: Timothy Winters <twinters@iol.unh.edu>
> To: dhcwg@ietf.org
> Subject: [dhcwg] DHCP Renew vs Confirm
> Message-ID: <C0CA95B6-1743-4D37-9BCC-D104453EBF9A@iol.unh.edu>
> Content-Type: text/plain; charset=us-ascii
>
> Hello,
>        While testing some CE Router implementations we have noticed a
> interesting behavior that is within the specifications but not clearly
> documented.  I wanted to get the working group thoughts on this.
>
>        Currently when a CE Router acting as a DHCP client, assigned both
> IA_NA and IA_PD, is unplugged from the network.  When reattached to the
> link the DHCP client transmits a DHCP Renew containing both the IA_NA and
> the IA_PD.
>
>        3315 Section 18.1.2 says that when link goes down a DHCP client
> implementation should transmit a DHCP Confirm message containing the
> assigned IA_NA.
>
>        3633 Section 12.1 doesn't allow the use of the Confirm message.  It
> states that DHCP Renew message, containing the assigned IA_PD, should be
> used when the link goes down.
>
>        According to the specifications a DHCP client should retransmit
> DHCP Confirm and DHCP Renew when link goes up.   The behavior we are seeing
> is the DHCP client transmits a DHCP renew containing both the IA_NA and
> IA_PD.
>
>        This behavior isn't causing interoperability issues as all the
> servers we have tried still respond properly to the DHCP Renew messages.
>
>        Is it ok when a DHCP client loses link for it to transmit one DHCP
> Renew message?
>
> Regards,
> Tim
> UNH-IOL
>
>
>
> ------------------------------
>
> _______________________________________________
> dhcwg mailing list
> dhcwg@ietf.org
> https://www.ietf.org/mailman/listinfo/dhcwg
>
>
> End of dhcwg Digest, Vol 94, Issue 13
> *****************************************
>
>
>
> ****
>
>  ****
>
> --
> Huan Huan****
>
>
>
> ****
>
>  ****
>
> --
> Huan Huan****
>
> ** **
>



-- 
Huan Huan