Re: [dhcwg] RFC 3315 - Dhcpv6 client message retransmission question

"Bernie Volz (volz)" <volz@cisco.com> Sat, 17 October 2009 13:53 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 0DDD83A6859 for <dhcwg@core3.amsl.com>; Sat, 17 Oct 2009 06:53:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
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 p2cG4ogyPsAJ for <dhcwg@core3.amsl.com>; Sat, 17 Oct 2009 06:53:32 -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 C182E3A6781 for <dhcwg@ietf.org>; Sat, 17 Oct 2009 06:53:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=volz@cisco.com; l=16691; q=dns/txt; s=rtpiport02001; t=1255787617; x=1256997217; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20"Bernie=20Volz=20(volz)"=20<volz@cisco.com> |Subject:=20RE:=20[dhcwg]=20RFC=203315=20-=20Dhcpv6=20cli ent=20message=20retransmission=20question|Date:=20Sat,=20 17=20Oct=202009=2009:53:33=20-0400|Message-ID:=20<8E29659 5B6471A4689555D5D725EBB210F14950A@xmb-rtp-20a.amer.cisco. com>|To:=20"ravi=20kumar"=20<ravikumar.lrk@gmail.com>,=20 "DHC=20WG"=20<dhcwg@ietf.org>|MIME-Version:=201.0 |In-Reply-To:=20<adf2a3a0910150553h2ab15b06le7b89b548b8b9 7a6@mail.gmail.com>|References:=20<adf2a3a0910150553h2ab1 5b06le7b89b548b8b97a6@mail.gmail.com>; bh=C8mIGm0AkeTUc4dClZHgrGZq7OXmvUp1KSCrSUEimco=; b=oAyRDSKtOir5ARriU92KeuLv84M+JQ8wGyZMBmCRlhipMxNT3TQZY2CZ 2gzj58umW1QGdKtPboQWYHkWQ1N2H1ajpB+LvR6FyQZgWqhrupVWYxqP+ fDNYFq5+TrfqFo1Jleal6ALjK+E5DNtsRx7VJSAf/WSQ85F1uHR7+tmIk Q=;
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: AsQEAN9o2UpAZnwN/2dsb2JhbACCJy28MpdHhDEEgVs
X-IronPort-AV: E=Sophos; i="4.44,577,1249257600"; d="scan'208,217"; a="63571948"
Received: from rtp-core-2.cisco.com ([64.102.124.13]) by rtp-iport-2.cisco.com with ESMTP; 17 Oct 2009 13:53:36 +0000
Received: from xbh-rtp-211.amer.cisco.com (xbh-rtp-211.cisco.com [64.102.31.102]) by rtp-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id n9HDraDH003447; Sat, 17 Oct 2009 13:53:36 GMT
Received: from xmb-rtp-20a.amer.cisco.com ([64.102.31.15]) by xbh-rtp-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 17 Oct 2009 09:53:36 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA4F31.38C6CCD6"
Date: Sat, 17 Oct 2009 09:53:33 -0400
Message-ID: <8E296595B6471A4689555D5D725EBB210F14950A@xmb-rtp-20a.amer.cisco.com>
In-Reply-To: <adf2a3a0910150553h2ab15b06le7b89b548b8b97a6@mail.gmail.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [dhcwg] RFC 3315 - Dhcpv6 client message retransmission question
Thread-Index: AcpNloiV+ltWjBcrRf21ffN/eb/WzQBmCVIg
References: <adf2a3a0910150553h2ab15b06le7b89b548b8b97a6@mail.gmail.com>
From: "Bernie Volz (volz)" <volz@cisco.com>
To: ravi kumar <ravikumar.lrk@gmail.com>, DHC WG <dhcwg@ietf.org>
X-OriginalArrivalTime: 17 Oct 2009 13:53:36.0174 (UTC) FILETIME=[38FF7CE0:01CA4F31]
Subject: Re: [dhcwg] RFC 3315 - Dhcpv6 client message retransmission question
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: Sat, 17 Oct 2009 13:53:39 -0000

While I'm surprised it was stated (at least I didn't find it in a very
superficial search of the document), I believe the values in section 5.5
(as stated in section 19.1.2) are the "Default and initial values". This
means that these are the values that clients should use as default
values and they MAY provide a means to override these values.

 

Whether doing so is a good idea is a separate issue and you'd have to
evaluate that on a case by case basis.

 

Personally, I don't see a problem in reducing REQ_MAX_RC from 10 to say
5 as this just means that if the server fails to respond after the fewer
retries, the client would return to the SOLICIT phase. If the server is
still unresponsive, it would obviously not respond to the SOLICIT and if
another server was present, the client would use it; otherwise it would
continue to SOLICIT periodically until a server was responsive.

 

The ONE impact of reducing REQ_MAX_RC is that if the server is very
'slow' in responding, the client may NEVER successfully complete getting
an address. We did have a customer issue one time where there were
DHCPv4 clients that would only retransmit a DHCPREQUEST twice and then
return to DHCPDISCOVER. And, in a particular situation (where other
servers that the DHCP server needed to contact before responding to the
DHCPREQUEST had a high latency), the clients would never successfully
complete coming on line. Those that retransmitted the request more times
(i.e., over a longer period of time) had no issues.

 

So, reducing the REQ_MAX_RC, if there are long latencies involved
(either because of network, load, other issues) may result in a
situation where clients fail to come on line whereas using the default
REQ_MAX_RC would not. I haven't done the math  (well I did do it below)
to see what period of time a REQ_MAX_RC of 10 would be versus a
REQ_MAX_RC of 5 - but as the delay between retransmissions should be
doubled with each attempt up to a maximum of 30 seconds (REQ_MAX_RT),
the difference between 10 and 5 may be as much as 5*30 seconds = 150
seconds.

 

In the case I mentioned above, the DHCPv4 clients were only waiting
about 4-8 seconds - which was much too short for the conditions. But, a
REQ_MAX_RC of 5 already provides a minute (1, 2, 4, 8, 16, 30 if one
assumes this means 6 total transmissions) so this SHOULD be long enough.
With a value of 10, this would be about 200+ seconds which is kind of
long to wait for a server to respond (IMHO).

 

-          Bernie

 

From: dhcwg-bounces@ietf.org [mailto:dhcwg-bounces@ietf.org] On Behalf
Of ravi kumar
Sent: Thursday, October 15, 2009 8:54 AM
To: DHC WG
Subject: [dhcwg] RFC 3315 - Dhcpv6 client message retransmission
question

 

I would like to get a clarification regarding section : "14. Reliability
of Client Initiated Message Exchanges" of RFC 3315 :

 

Is it possible for Dhcpv6 client implementations to use relaxed MRC /
MRD values than default values specified in RFC. For instance, default
value of "REQ_MAX_RC" is 10. Can a specific Dhcpv6 client implementation
use a different value say 5, for REQ_MAX_RC.

 

The only reason why I would like to clarify this is because, it is
mentioned in RFC that, MRC specifies an upper bound on the number of
times a client "may" retransmit a message and not client "MUST"
retransmit a message.

Since it is not specified with MUST clause, I assume RFC doesnot mandate
client to retransmit exact MRC number of messages.

Similar is the case for MRD.

 

Please correct me if I am wrong!

 

regards

Ravi