Re: [v6ops] New Version Notification for draft-yourtchenko-ra-dhcpv6-comparison-00.txt (fwd)

Alexandru Petrescu <alexandru.petrescu@gmail.com> Fri, 06 December 2013 15:58 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 290F01AE052 for <v6ops@ietfa.amsl.com>; Fri, 6 Dec 2013 07:58:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.983
X-Spam-Level:
X-Spam-Status: No, score=-4.983 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, HELO_EQ_FR=0.35, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] 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 95U7zONNhirn for <v6ops@ietfa.amsl.com>; Fri, 6 Dec 2013 07:58:08 -0800 (PST)
Received: from cirse-out.extra.cea.fr (cirse-out.extra.cea.fr [132.167.192.142]) by ietfa.amsl.com (Postfix) with ESMTP id A13DF1AE001 for <v6ops@ietf.org>; Fri, 6 Dec 2013 07:58:07 -0800 (PST)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by cirse.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id rB6Fw1lH024416; Fri, 6 Dec 2013 16:58:01 +0100
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id CDF15203629; Fri, 6 Dec 2013 16:58:11 +0100 (CET)
Received: from muguet2.intra.cea.fr (muguet2.intra.cea.fr [132.166.192.7]) by pisaure.intra.cea.fr (Postfix) with ESMTP id C22472035FE; Fri, 6 Dec 2013 16:58:11 +0100 (CET)
Received: from [127.0.0.1] (is010446-4.intra.cea.fr [10.8.33.116]) by muguet2.intra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.2) with ESMTP id rB6FvsTZ024588; Fri, 6 Dec 2013 16:58:01 +0100
Message-ID: <52A1F403.80702@gmail.com>
Date: Fri, 06 Dec 2013 16:57:55 +0100
From: Alexandru Petrescu <alexandru.petrescu@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: Andrew Yourtchenko <ayourtch@cisco.com>
References: <alpine.OSX.2.00.1311271353550.3903@ayourtch-mac> <52A07C4E.5050004@gmail.com> <alpine.OSX.2.00.1312051455370.58549@ayourtch-mac> <52A09821.20008@gmail.com> <alpine.OSX.2.00.1312051637360.68814@ayourtch-mac>
In-Reply-To: <alpine.OSX.2.00.1312051637360.68814@ayourtch-mac>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Cc: v6ops@ietf.org
Subject: Re: [v6ops] New Version Notification for draft-yourtchenko-ra-dhcpv6-comparison-00.txt (fwd)
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, 06 Dec 2013 15:58:11 -0000

Le 05/12/2013 17:24, Andrew Yourtchenko a écrit :
[...]
>> The multicast RA works only if the Host has first subscribed to that
>> group. And that needs an additional initial message from the Host to
>> everybody else (the MLD 'join').
>>
>> Basically, if the Host does not send that MLD message it will not
>> receive the periodic multicast RA either.
>
> Given the destination of periodic RAs is the all-nodes multicast, this
> statement would be in conflict with:
>
> http://tools.ietf.org/html/rfc3810:
>
> The link-scope all-nodes multicast address, (FF02::1), is handled as
>     a special case.  On all nodes -- that is all hosts and routers,
>     including multicast routers -- listening to packets destined to the
>     all-nodes multicast address, from all sources, is permanently enabled
>     on all interfaces on which multicast listening is supported.  No MLD
>     messages are ever sent regarding neither the link-scope all-nodes
>     multicast address, nor any multicast address of scope 0 (reserved) or
>     1 (node-local).

Hmmm... I may need to try this, because I doubt it.  Turn the machine 
on, while listening with another machine the packets emitted by the 
first.  If there is an MLD message before any other RS then the RFC 
deserves a comment.


> http://www.ietf.org/rfc/rfc4541.txt:
>
>     In IPv6, the data forwarding rules are more straight forward because
>     MLD is mandated for addresses with scope 2 (link-scope) or greater.
>     The only exception is the address FF02::1 which is the all hosts
>     link-scope address for which MLD messages are never sent.  Packets
>     with the all hosts link-scope address should be forwarded on all
>     ports.

This RFC deserves a comment: that is the all nodes address (not all hosts).

> So, I think an all-routers destined RS + all-host destined RA is the
> "timely minimum", whereas the single periodic RA is  the "absolute
> minimum", and the DHCPv6 case the 2 packet exchange is both.

Hmm, it seems so... but I'd first check the above.

Anyways, your draft is right.

Alex

>
>>
>>> (I
>>>
>>>>
>>>>> There is one additional reason for the DHCPv6 to be slower.
>>>>
>>>> One of the reasons DHCPv4/v6 may be slower lies in the discovery phase.
>>>> Every discovery phase takes some time.  Old DHCPv4 implementations take
>>>> too much time, as do old WiFi 'scanning' operations (another
>>>> discovery).
>>>>
>>>
>>> I found this snippet in RFC3315 interesting:
>>>
>>> "A client MUST collect Advertise messages for the first RT seconds,
>>>     unless it receives an Advertise message with a preference value of
>>>     255.  The preference value is carried in the Preference option
>>>     (section 22.8).  Any Advertise that does not include a Preference
>>>     option is considered to have a preference value of 0.  If the client
>>>     receives an Advertise message that includes a Preference option with
>>>     a preference value of 255, the client immediately begins a client-
>>>     initiated message exchange (as described in section 18) by sending a
>>>     Request message to the server from which the Advertise message was
>>>     received.  If the client receives an Advertise message that does not
>>>     include a Preference option with a preference value of 255, the
>>>     client continues to wait until the first RT elapses.  If the
>>> first RT
>>>     elapses and the client has received an Advertise message, the client
>>>     SHOULD continue with a client-initiated message exchange by
>>> sending a
>>>     Request message.
>>> "
>>>
>>> This means that in the case of a single-server, the discovery phase can
>>> be shortened by having the Preference of 255 - thus to be able to reduce
>>> the discovery process ? (I need to test if the hosts actually do this
>>> IRL, I suspect they do not).
>>
>> I guess yes, the paragraph above reflects a good way for DHCP
>> behaviour to approach that ideal of a single exchange.
>>
>
> ok. I think I already added that text, but I wanted to test if this
> "really" works and is practically configurable on at least one
> implementation - then it could become a reasonable BCP for a network
> that wants to have the best user experience.
>
>>>> Better implementations of the discovery phases take shorter time, yet
>>>> they are extremely lengthy compared to what agreed numbers and
>>>> multicast
>>>> join/leave operations can achieve.
>>>
>>> ... "in the case of 0% packet loss".
>>>
>>> Add any packet loss and a single-packet scheme of RA becomes fragile and
>>> the worst case is dramatically worse than that of the DHCP.
>>
>> I agree.
>>
>>>>> An RA-based protocol interaction may influence host's routing.  A
>>>>> DHCPv6-based interaction today can not influence the host's routing
>>>>> - it was specifically denied any and all involvement into routing.
>>>> [...]
>>>>> FIXME: This section needs further debates, clarifications, and a
>>>>> rewrite.  Discussion welcome.
>>>>
>>>> There is an ongoing discussion in the DHC WG about this.  Namely about
>>>> routing at DHCP Relay during Prefix Delegation.  Implementations
>>>> consider seriously 'snooping' and adding routing table entries at Relay
>>>> during DHCP operations.  Standards e.g. BBF require a solution to this
>>>> problem.
>>>>
>>>> There were several drafts and presentations during recent 2-3 years.
>>>> Most recent draft is at
>>>> draft-petrescu-relay-route-pd-problem-00.txt
>>>
>>> Yes, the Prefix Delegation is a completely special beast! I reread the
>>> RFC3633 - it does not even talk about DHCP servers - it talks about
>>> routers quite explicitly!
>>
>> I think the PD RFC defines a Delegating Router to be a DHCP Server,
>> and then only talks DR.
>
> Ah, ok I missed that. So, indeed there *are* cases that "router==dhcp
> server".
>
>>
>>> I will try to reflect this somehow, created the
>>> https://github.com/ayourtch/ra-dhcpv6/issues/5. Thanks!
>>>
>
> [snip]
>
>>>> RA), whereas the MTU parameter, and default router parameters (IP
>>>> address, MAC address) are only for the RA (not for DHCP).
>>>
>>> Do you have somewhere this work ? I would be happy to incorporate it.
>>> Else, maybe it's worth to start rebuilding it in the appendix.
>>
>> There is this paragraph only in draft-mouton-mif-dhcpv6-drlo-02
>
> Thanks!
>
>>>    In addition to the default router address, lifetime and link-layer
>>>    address, the neighbor discovery mechanism also provides MTU, hop
>>>    limit, reachable time, retransmission timer[...]
>>
>> But I would very well see a table like this:
>>
>>                     |       Configured by       |
>>                     +-------------+-------------+
>>  Parameter on Host  |    DHCP     |      RA     |
>>  -------------------+-------------+-------------+
>>  Default Router IP  |             |      X      |
>>  -------------------+-------------+-------------+
>>  Default Router MAC |             |      X      |
>>  -------------------+-------------+-------------+
>>  Global Address     |     X       | X (w/ other)|
>>  -------------------+-------------+-------------+
>>  Delegated Prefix   |     X       |             |
>>  -------------------+-------------+-------------+
>>  Link MTU           |             |      X      |
>>  -------------------+-------------+-------------+
>>  Hop Limit          |             |      X      |
>>  -------------------+-------------+-------------+
>>  Link's reachable   |             |      X      |
>>  time, retr timer   |             |             |
>>  -------------------+-------------+-------------+
>>  DNS Resolver       |     X       |      X      |
>>  -------------------+-------------+-------------+
>>
>
> Makes sense. I've added this into the "issue" and will XMLify / add
> reference later.
>
> Thanks a lot!
>
> --a
>
>
>> Alex
>>
>>>
>>> I'll be tracking it in https://github.com/ayourtch/ra-dhcpv6/issues/6.
>>>
>>> --a
>>>
>>>>
>>>> Alex
>>>>
>>>> Le 27/11/2013 14:06, Andrew Yourtchenko a écrit :
>>>>> Hello all,
>>>>>
>>>>> Finally I managed to comb a little bit and finally submit the doc
>>>>> that aims to compare RAs with DHCPv6 which emerged from the
>>>>> discussion on this list a few weeks ago.
>>>>>
>>>>> I'll be very happy to hear any comments, suggestions, flames, etc.
>>>>>
>>>>> --a
>>>>>
>>>>>
>>>>> p.s. The "realtime changes" repository is at:
>>>>> https://github.com/ayourtch/ra-dhcpv6, in case you want to send the
>>>>> feedback via a pull request :)
>>>>>
>>>>> ---------- Forwarded message ---------- Date: Wed, 27 Nov 2013
>>>>> 04:52:14 -0800 From: internet-drafts@ietf.org To: Andrew Yourtchenko
>>>>> <ayourtch@cisco.com> Subject: New Version Notification for
>>>>> draft-yourtchenko-ra-dhcpv6-comparison-00.txt
>>>>>
>>>>>
>>>>> A new version of I-D, draft-yourtchenko-ra-dhcpv6-comparison-00.txt
>>>>> has been successfully submitted by Andrew Yourtchenko and posted to
>>>>> the IETF repository.
>>>>>
>>>>> Filename:     draft-yourtchenko-ra-dhcpv6-comparison Revision:
>>>>> 00 Title:         A comparison between the DHCPv6 and RA based host
>>>>> configuration Creation date:     2013-11-27 Group:         Individual
>>>>> Submission Number of pages: 12 URL:
>>>>> http://www.ietf.org/internet-drafts/draft-yourtchenko-ra-dhcpv6-comparison-00.txt
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Status:
>>>>> http://datatracker.ietf.org/doc/draft-yourtchenko-ra-dhcpv6-comparison
>>>>>
>>>>>
>>>> Htmlized:
>>>>> http://tools.ietf.org/html/draft-yourtchenko-ra-dhcpv6-comparison-00
>>>>>
>>>>>
>>>>> Abstract: This document attempts to make a balanced comparison
>>>>> between the RA- based and DHCPv6-based host configuration mechanisms.
>>>>> It compares the two on different aspects, e.g: underlying media
>>>>> assumptions, coordination, locality, etc.  and highlights the strong
>>>>> and weak sides of both protocols for each scenario.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Please note that it may take a couple of minutes from the time of
>>>>> submission until the htmlized version and diff are available at
>>>>> tools.ietf.org.
>>>>>
>>>>> The IETF Secretariat _______________________________________________
>>>>> v6ops mailing list v6ops@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/v6ops
>>>>>
>>>>>
>>>>
>>>>
>>
>>