Re: [v6ops] IA_PD bit in RA

Alexandru Petrescu <alexandru.petrescu@gmail.com> Fri, 13 December 2013 21:28 UTC

Return-Path: <alexandru.petrescu@gmail.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 356771AE052; Fri, 13 Dec 2013 13:28:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.417
X-Spam-Level: *
X-Spam-Status: No, score=1.417 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, HELO_EQ_FR=0.35, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.665] autolearn=no
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 jbKKOfDb084V; Fri, 13 Dec 2013 13:27:57 -0800 (PST)
Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by ietfa.amsl.com (Postfix) with ESMTP id CCF391ADF68; Fri, 13 Dec 2013 13:27:55 -0800 (PST)
Received: from [127.0.0.1] (unknown [82.239.213.32]) by smtp5-g21.free.fr (Postfix) with ESMTP id 25DC0D48002; Fri, 13 Dec 2013 22:27:20 +0100 (CET)
Message-ID: <52AB7BB6.2080002@gmail.com>
Date: Fri, 13 Dec 2013 22:27:18 +0100
From: Alexandru Petrescu <alexandru.petrescu@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: Owen DeLong <owen@delong.com>
References: <96747494E3D74D41B20907035DB1E48DC7BB@MOPESMBX03.eu.thmulti.com> <96747494E3D74D41B20907035DB1E48DCD72@MOPESMBX03.eu.thmulti.com> <alpine.DEB.2.02.1312100803370.24602@uplift.swm.pp.se> <F92E1B55-C74B-400C-B83E-6B50D175D121@steffann.nl> <7B4820C5-B562-4BE7-8C6A-CBCDABC39728@nominum.com> <A583EFC3-71BB-4962-875C-4AB775D13491@delong.com> <46BE373C-D476-4D83-B014-56B77FD3D67E@nominum.com> <39280481-09C5-41ED-B79E-99DBBD329F44@employees.org> <52A8343C.3040202@gmail.com> <CAAedzxq6ym-uZJQVC7JTMgKnETpGiNt3JCmkJeGW2MVnw+sixA@mail.gmail.com> <52A83C92.4020204@gmail.com> <A1A3DD00-96D8-4D73-B5F1-1CA705196689@delong.com> <52A9A93F.8050804@gmail.com> <9CB9D172-BA78-492B-B836-D7A9C6CB11A5@delong.com> <52AAEDDA.6010504@gmail.com> <FED11C95-5D12-410E-8D8C-CB8A9F5D79C1@delong.com> <52AB318C.2050704@gmail.com> <D6167580-AFC2-404D-8077-229226F2EB5C@delong.com> <52AB4716.4040902@gmail.com> <D1841BDB-6670-43CF-A4F9-A3C2A04B2A42@delong.com>
In-Reply-To: <D1841BDB-6670-43CF-A4F9-A3C2A04B2A42@delong.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Antivirus: avast! (VPS 131213-0, 13/12/2013), Outbound message
X-Antivirus-Status: Clean
Cc: "v6ops@ietf.org" <v6ops@ietf.org>, 6man WG <ipv6@ietf.org>
Subject: Re: [v6ops] IA_PD bit in RA
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2013 21:28:00 -0000

On 13/12/2013 19:17, Owen DeLong wrote:
>>> If the DHCP service is present, you should see an M or O bit in
>>> the RA. However, that shouldn't control whether you indicate
>>> your desire for a prefix or not.
>>
>> Well, I think I disagree
>
> Well...
>
>> Since the widespread SLAAC has no PD feature it's easy to consider
>> that a node would SLAAC its address and DHCP-PD its prefix for
>> behind.  Or DHCP its address and prefix.
>
> I suppose it is possible that someone would run a DHCP server
> strictly for PD and not offer up other configuration options to
> hosts (remember, O bit means ask DHCP for "other information"), so
> without the M bit, you shouldn't be expecting DHCP to provide an
> address.
>
>> But the M/O bits can't indicate to SLAAC address and DHCP-PD
>> prefix.
>
> The O bit doesn't specifically indicate to ask for prefix, true.
> However, it does indicate that there is a DHCP server available and
> that other information should be requested from said DHCP server.

Right, I missed this part.

> I would think that the rational thing to do in an environment where
> you want to provide DHCP-PD and not other information via DHCP
> (which is hard for me to imagine why, but let's ignore that for the
> moment) would be to advertise an O bit and then answer with empty or
> negative responses for non PD requests.

Right - reset M, set O and answer negatively to non-PD DHCP requests.

But how about when the Delegated Prefix is available,
but via 'other other' means than DHCP such as Radius, or via PPP?  There 
is no bit for that either.  The 'O' and 'M' bits apply only to DHCP.

It would be clearer if there were 1 bit for each of the fundamental 
addressing aspects (address, default route, delegated prefix, etc.) and 
each would be 'O' - Address available by other means than this RA, 
Default route available by other means than this RA, Delegated prefix 
available by other means than this RA, etc.

Alex


>>>> If the service is absent there is no reason to insist.
>>>
>>> I'm not sure what you mean by insist in this context. I would
>>> agree that there is no reason to persist with alternative
>>> requests in the absence of a denial. That you should, instead,
>>> retry the same request until receiving an acknowledgement or a
>>> denial.
>>>
>>>>> Either way, you have nothing to delegate to your subordinate
>>>>>  networks.
>>>>
>>>> Right.
>>>>
>>>> If the network tells the node there is no DHCP service to look
>>>>  for, then the node may decide to fall back into a 64share
>>>> mode, or so. This can happen very quickly (it boils down to
>>>> evaluating the probability of time length between the random
>>>> link up signal and the next periodic RA).
>>>
>>> Is there any reason not to use 64share mode until you receive a
>>> positive DHCP response?
>>
>> Sure.  There are reasons to not use 64share altogether.  It does
>> not work on 4G links like CDC-Ethernet.  It has other drawbacks
>> described in a draft.
>
> But it's not going to be any worse than what happens while you don't
> have a prefix.

Right.

>> Instlaling 64share followed by a positive DHCP-PD Ack involves
>> renumbering the Host in smartphone's network, i.e. breaking their
>> ongoing communications (the prefix of 64share is different than the
>> prefix obtained by DHCP PD).
>
> I believe I discussed ways to mitigate this above.
>
>>>> If on another hand the network does not tell the node whether
>>>> DHCP is present, then the node must emit a request and wait
>>>> for a response.  If it waits too short and decides there is no
>>>> service DHCP, even if there is one, then the subsequent
>>>> decision to use 64share is a wrong decision.
>>>
>>> No, it must emit a request. It does not have to wait for the
>>> response, the response can be processed asynchronously. I don't
>>> see the decision to use 64share is wrong so much as suboptimal.
>>> It's not at all invalid to use 64share until receiving the PD
>>> and then switch to the delegated prefix.
>>
>> The smartphone may switch, but renumbering all the Hosts in
>> smartphone's hotspot?
>
> Why not? They're no worse off than they would have been if they'd
> been stuck waiting for a DHCP response.
>
>>> If you want to provide a better user experience, 64share
>>> behavior can be preserved for some duration until early flows
>>> expire. Simply stop including 64share prefix in locally generated
>>> RAs and wait for valid timer to count down.
>>
>> I agree.  Althoug measuring how flows may expire may not be
>> straightforward.
>
> If you can't be sure the flows expired (easy with TCP, harder with
> other protocols), then you use the Valid timer and you're done.

I haven't seen this done elsewhere...

Alex

>>>> That's why conservative DHCP discovery phases take long, and
>>>> also that's why conservative WiFi AP discovery clients take
>>>> long, whereas quick such clients often miss some important
>>>> Access Point.
>>>
>>> Discovering an AP has nothing to do with DHCP and has to happen
>>> well before the first piece of the DHCP process.
>>
>> Hmmm... they have nothing to do (different layers).  Yes, link
>> association must happen before DHCP process.  Link association
>> involves a discovery phase.  Worse, the 3 can't be parallelized.
>>
>> Their discovery algorithms work in the same way: their messages
>> and core data structures have similar semantics: ND's RS and
>> DHCP's Request is WiFi's Ass'n Request, ND's RA and DHCP's Reply is
>> WiFi's Beacon, ND cache and DHCP's cache is WiFi's preferred
>> networks, etc.
>
> Perhaps that is because many years of research and experience has
> shown that these mechanisms work.
>
>>>> This distinction is even more important for entities which are
>>>>  mainly mobile, doing frequent handovers.
>>>
>>> If you're doing frequent handovers and they are changing your
>>> layer 3 topology frequently then you already have a number of
>>> other problems which go well beyond the difficulties you are
>>> describing here.
>>
>> YEs, just to say they exacerbate this perspective.
>>
>>> Most frequent handovers in the mobile world do not affect the
>>> layer 3 information.
>>
>> YEs, I agree.
>>
>> I guess by most mobile world is meant smartphones on cellular
>> links. YEs, they are widely deployed and involve expensive
>> business cases.
>>
>> The good thing is thatthere's more to it than that: smartphones
>> handing over between wifi and cellular links, smartphones handing
>> over from one operator to another, bus train and roadside IP
>> deployments, DMM concepts, etc.
>
> Mobile is a tough problem to solve, to be sure. There's lots of work
> and optimization to be done in this area in the future. I'm still
> not convinced that adding a "PD available" flag to RA provides a
> benefit.
>
> Owen
>
>


---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active.
http://www.avast.com