RE: [dhcwg] Re: IPv6 WG Last Call:draft-ietf-ipv6-ra-mo-flags-01.txt

"Bernie Volz \(volz\)" <volz@cisco.com> Tue, 17 May 2005 20:33 UTC

Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1DY8lB-0002FL-77; Tue, 17 May 2005 16:33:49 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1DY8l6-0002Ab-Cn; Tue, 17 May 2005 16:33:44 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA15576; Tue, 17 May 2005 16:33:41 -0400 (EDT)
Received: from rtp-iport-2.cisco.com ([64.102.122.149]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1DY8yl-0008RT-MS; Tue, 17 May 2005 16:47:52 -0400
Received: from rtp-core-2.cisco.com (64.102.124.13) by rtp-iport-2.cisco.com with ESMTP; 17 May 2005 16:30:20 -0400
Received: from xbh-rtp-201.amer.cisco.com (xbh-rtp-201.cisco.com [64.102.31.12]) by rtp-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id j4HKToeM023740; Tue, 17 May 2005 16:30:17 -0400 (EDT)
Received: from xmb-rtp-20a.amer.cisco.com ([64.102.31.15]) by xbh-rtp-201.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 17 May 2005 16:30:05 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [dhcwg] Re: IPv6 WG Last Call:draft-ietf-ipv6-ra-mo-flags-01.txt
Date: Tue, 17 May 2005 16:30:04 -0400
Message-ID: <8E296595B6471A4689555D5D725EBB212B373A@xmb-rtp-20a.amer.cisco.com>
Thread-Topic: [dhcwg] Re: IPv6 WG Last Call:draft-ietf-ipv6-ra-mo-flags-01.txt
Thread-Index: AcVahGdhDLV9JhwsRneDDXLPFEI82gAk6wCgAAD0MnA=
From: "Bernie Volz (volz)" <volz@cisco.com>
To: timothy enos <timbeck04@verizon.net>, Pekka Savola <pekkas@netcore.fi>
X-OriginalArrivalTime: 17 May 2005 20:30:05.0206 (UTC) FILETIME=[35A53360:01C55B1F]
X-Spam-Score: 1.1 (+)
X-Scan-Signature: ee80a2074afbfe28d15369f4e74e579d
Content-Transfer-Encoding: quoted-printable
Cc: dhcwg@ietf.org, "Ralph Droms (rdroms)" <rdroms@cisco.com>, IPv6 WG <ipv6@ietf.org>
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: dhcwg.ietf.org
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
Sender: dhcwg-bounces@ietf.org
Errors-To: dhcwg-bounces@ietf.org

Pekka suggested you might have been referring to stateless DHCPv6 - ie,
when does a DHCPv6 client doing stateful DHCPv6 switch to doing
stateless DHCPv6?

I don't believe we had any specific text in this regard in 3315 or 3736
and is thus likely an issue for 3315-bis.

I assume you're asking this in the case where both the M and O flags are
set? And, I can see three techniques:
1. If the client supports stateful always use stateful and never switch
to stateless.

2. Try stateful for a few (perhaps only 1 Solicit / Advertise) cycles
and if there are no responses or only "error" responses, continue
stateful but also initiate stateless. The start of stateless could be
controlled by the O flag.

2. Always start both.

Personally, I like the first best as I would expect that if the M flag
is set and no DHCPv6 server responds, sending Information-Request
messages will also not yield anything useful. But, this does not work if
the default were to always set the M and O bits in RAs but only have a
stateless server.

That's why I think we've made mistakes in the DHCPv6 specifications:
1. For 3315, we should have had a status return code for an Advertise
that says "no stateful service available." Note that this is different
than the NoAddrsAvail status we presently have. 
2. For 3736, we should have required Solicit and Advertise to be
supported by the stateless DHCPv6 server such that it could return just
the "no stateful service available" status for any Solicits it receives.

That way, if the only servers to respond to Solicits all return "no
stateful service available", the client knows what to do.

- Bernie


> -----Original Message-----
> From: ipv6-bounces@ietf.org [mailto:ipv6-bounces@ietf.org] On 
> Behalf Of Bernie Volz (volz)
> Sent: Tuesday, May 17, 2005 3:41 PM
> To: timothy enos; Pekka Savola
> Cc: dhcwg@ietf.org; JINMEI Tatuya / ????; IPv6 WG; Ralph 
> Droms (rdroms)
> Subject: RE: [dhcwg] Re: IPv6 WG Last 
> Call:draft-ietf-ipv6-ra-mo-flags-01.txt
> 
> Tim:
> 
> I'm not sure what you mean by your question ... SLAC (stateless
> auto-configuration) is independent of stateful. There may be some
> prefixes on a link that are stateful (0 or more) and others that are
> stateless (0 or more - excluding the link-local which is always
> stateless).
> 
> So, SLAC is independent of stateful (DHCPv6).
> 
> - Bernie
> 
> > -----Original Message-----
> > From: timothy enos [mailto:timbeck04@verizon.net] 
> > Sent: Monday, May 16, 2005 10:00 PM
> > To: Bernie Volz (volz); 'Pekka Savola'
> > Cc: dhcwg@ietf.org; Ralph Droms (rdroms); 'IPv6 WG'; 'JINMEI 
> > Tatuya / ????'
> > Subject: RE: [dhcwg] Re: IPv6 WG Last 
> > Call:draft-ietf-ipv6-ra-mo-flags-01.txt
> > 
> > Bernie,
> > 	
> > Your points are well taken, and I agree. Making these flags 'hints'
> > makes sense. Also, it seems that if a client does not know 
> what to do
> > (forgive the anthropomorphism) in response to having received 
> > an RA with
> > the M (and O) bit(s) set (because it is not a DHCPv6 
> client), it would
> > just ignore it/them. 
> > 
> > Also wondering if there are any RFC 3315-capable clients that, after
> > failing to get config info from a DHCPv6 server 'x' times, 
> > would revert
> > to SLAC?
> > 
> > Tim Enos
> > 1Sam16:7
> > 
> > -----Original Message-----
> > From: ipv6-bounces@ietf.org [mailto:ipv6-bounces@ietf.org] On 
> > Behalf Of
> > Bernie Volz (volz)
> > Sent: Monday, May 16, 2005 5:20 PM
> > To: Pekka Savola
> > Cc: dhcwg@ietf.org; Ralph Droms (rdroms); IPv6 WG; JINMEI 
> > Tatuya / ????
> > Subject: RE: [dhcwg] Re: IPv6 WG Last
> > Call:draft-ietf-ipv6-ra-mo-flags-01.txt
> > 
> > Hey, if they don't know what they're doing then set the bits 
> > and be done
> > with it. If there's no DHCP server, the clients will try to get
> > configuration information and fail and continuously try in the
> > background. That's the safest fallback and the recommended default,
> > IMHO.
> > 
> > If they do set them wrong, it won't take long for users to complain.
> > Just as they do now if the DHCP server or routing infrastructure is
> > down.
> > 
> > Trying to design for stupidity only produces the same.
> > 
> > - Bernie 
> > 
> > > -----Original Message-----
> > > From: Pekka Savola [mailto:pekkas@netcore.fi] 
> > > Sent: Monday, May 16, 2005 5:09 PM
> > > To: Bernie Volz (volz)
> > > Cc: JINMEI Tatuya / ????; dhcwg@ietf.org; IPv6 WG; Ralph 
> > > Droms (rdroms)
> > > Subject: RE: [dhcwg] Re: IPv6 WG Last 
> > > Call:draft-ietf-ipv6-ra-mo-flags-01.txt
> > > 
> > > On Mon, 16 May 2005, Bernie Volz (volz) wrote:
> > > > BTW, if you want to look at this from the router administrator's
> > > > perspective:
> > > >
> > > > Configure the router to send the M flag set in routing 
> > > advertisements
> > > > for a Link IF:
> > > > 1. A stateful DHCP server is deployed for that link 
> > (either on it or
> > > > reachable via a relay agent) AND
> > > 
> > > IMHO, you're making a significant leap of faith in assuming that 
> > > whoever configures the router's M-flag advertisements has 
> > sufficient 
> > > clue to grasp the different semantics that arise with:
> > > 
> > >   - M-flag and/or O-flag
> > >   - stateless and stateful clients
> > >   - stateless and stateful servers
> > >   - stateless and stateful relay agents
> > > 
> > > Hence, if we want to build a robust system, we need to 
> > design it with 
> > > care.
> > > 
> > > 
> > > 
> > > -- 
> > > Pekka Savola                 "You each name yourselves 
> king, yet the
> > > Netcore Oy                    kingdom bleeds."
> > > Systems. Networks. Security. -- George R.R. Martin: A 
> Clash of Kings
> > > 
> > 
> > --------------------------------------------------------------------
> > IETF IPv6 working group mailing list
> > ipv6@ietf.org
> > Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
> > --------------------------------------------------------------------
> > 
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
> 

_______________________________________________
dhcwg mailing list
dhcwg@ietf.org
https://www1.ietf.org/mailman/listinfo/dhcwg