Re: [v6ops] Windows 10 doesn't honour 'M' flag in RA

David Farmer <farmer@umn.edu> Wed, 13 December 2017 21:00 UTC

Return-Path: <farmer@umn.edu>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CA0F9127863 for <v6ops@ietfa.amsl.com>; Wed, 13 Dec 2017 13:00:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.8
X-Spam-Level:
X-Spam-Status: No, score=-3.8 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=umn.edu
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 rj7IojxjU35F for <v6ops@ietfa.amsl.com>; Wed, 13 Dec 2017 13:00:36 -0800 (PST)
Received: from mta-p7.oit.umn.edu (mta-p7.oit.umn.edu [134.84.196.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4674A126E7A for <v6ops@ietf.org>; Wed, 13 Dec 2017 13:00:36 -0800 (PST)
Received: from localhost (unknown [127.0.0.1]) by mta-p7.oit.umn.edu (Postfix) with ESMTP id B0576B9 for <v6ops@ietf.org>; Wed, 13 Dec 2017 21:00:35 +0000 (UTC)
X-Virus-Scanned: amavisd-new at umn.edu
Received: from mta-p7.oit.umn.edu ([127.0.0.1]) by localhost (mta-p7.oit.umn.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ALgvfyfVgcBg for <v6ops@ietf.org>; Wed, 13 Dec 2017 15:00:35 -0600 (CST)
Received: from mail-lf0-f71.google.com (mail-lf0-f71.google.com [209.85.215.71]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mta-p7.oit.umn.edu (Postfix) with ESMTPS id 4DA7419B for <v6ops@ietf.org>; Wed, 13 Dec 2017 15:00:35 -0600 (CST)
Received: by mail-lf0-f71.google.com with SMTP id p18so860818lfp.22 for <v6ops@ietf.org>; Wed, 13 Dec 2017 13:00:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umn.edu; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+VRS1OPIsSgKBn5I1/sHF5bVCpiJy9bjPuKeeLmaH5I=; b=ozB5GgwvP3flT+723uSkK5kM6WDuu8ga1WTX+9J9EbWKnM5Q0BAw44iDE9hux7peuk ex4zgn5wqK6yhEeMnS7ASvqbG7qGTa+vdeEZGtTAo1TXgTz9GTbPLirweOWUS3ebHSw6 dJ7ATAaLvfVIZ9+1cn5/MG8uM+cj0+13D6AYQx10Dz9Nc7jazYOPdRWxXIJ69pWwLcYn wwH5sMrouOMIEBg2c24vGgBYIWnM/HeCJ9raTAusBnNijtsLY7XUnol0T0BAYFpyb8Pn /OP/N6vqAN6if1dc8mWf68UO6iygnPhVSukJ4OUSPcgmZDGbutJivZBK7uQaW8aAT9Aj 1j1Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+VRS1OPIsSgKBn5I1/sHF5bVCpiJy9bjPuKeeLmaH5I=; b=XXge9nmbDlhz630tUW4joYbaoAw1IvottOo46ZjN9RGRBqxJM1MJoXRQH1GjndWuii 74j4kSuedqaMzwzDWBDQ4vDbSBOoxYR4YfcnDXrtorPOuOM6wQUdhkCHCfRpI0ZfPL3W 6d1hTUtU5xaF0QOwVv775R4aq7IFXZcuzFRudNaAchOHB7uxFO1/F67RhOomvkttjnG+ D+N/jMv38Wlw0d7X/Iyo2QPxieIAOkFc67vLRmaNFQypbW+qQ9pw+ju9vewYfllyCSKn hOPBoImrj1oTvg+H1E93HEVuGzzxX6sRPd4/FYHflioM2XZhio/aJabe3OtOXG1tSPVL lHUQ==
X-Gm-Message-State: AKGB3mLwmFtY3pNknI9HkKUVOB1PTSWcyO7vfbcTOwRdP3kzr8r/82AU +9FQ1A/Tlv5gE8VSg1VH7uU+oBwZmD/O0FL8gX7NsyiH0NH6D5U6KtX+HMn1iesj/1va3IeyMsV 8Y8owwgIpQJamfpTvVXCMWPIEkw==
X-Received: by 10.46.88.77 with SMTP id x13mr229450ljd.80.1513198833424; Wed, 13 Dec 2017 13:00:33 -0800 (PST)
X-Google-Smtp-Source: ACJfBosJrZuMgCI67cZOkUQkEwZzstjS4HQGRUzyHui/nJfpvN+J4sqAXMq5J1tnyHLh9dii/A4rAP2/2e1rt6aGD6o=
X-Received: by 10.46.88.77 with SMTP id x13mr229439ljd.80.1513198833135; Wed, 13 Dec 2017 13:00:33 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.216.99 with HTTP; Wed, 13 Dec 2017 13:00:32 -0800 (PST)
In-Reply-To: <D1717655-A8E7-4595-A35E-142F4A8AADD7@thehobsons.co.uk>
References: <CANFmOtnJiKtBH9WuOjfAAaOxmrQ8SanU1ATiEY_zSA9DbAuUAA@mail.gmail.com> <CAAedzxptEK5nZTVHwuzG0aK119Ns61cdfNT3JWPafTGcAxMeeg@mail.gmail.com> <CANFmOtm2SU13o3Wey1XqhQf0WuuTzm80XXPp7Q9UGiV6Kvh5DA@mail.gmail.com> <alpine.DEB.2.20.1712120844540.8884@uplift.swm.pp.se> <b90e4615-eee9-839a-c65b-805824122c29@gmail.com> <7c3d5bb6f4cf4df98ce53c705816242c@XCH15-06-02.nw.nos.boeing.com> <CANFmOtmdORBxjT4zHf65uKNR6-YrEYHoMCBrcCogHBWP7+ifcw@mail.gmail.com> <alpine.DEB.2.20.1712131225280.8884@uplift.swm.pp.se> <CANFmOtkKcq8fkms5op1WftLmGok003UcMt4Y+0+3BLcE_myO0Q@mail.gmail.com> <F2F31353-9641-4670-8152-0DF1B184451E@jisc.ac.uk> <21FDCF40-8598-4CEE-9778-0E648697A9E9@fugue.com> <0B00C5CB-9806-4215-B616-D9BE51196FAD@gmail.com> <CANFmOtk4x86YDwuezZO_VzFn4RT41PZiZKL+mrFvRSPP4WkyFw@mail.gmail.com> <aa71c96d-0829-5b6b-19e7-27834dce565e@gmail.com> <D1717655-A8E7-4595-A35E-142F4A8AADD7@thehobsons.co.uk>
From: David Farmer <farmer@umn.edu>
Date: Wed, 13 Dec 2017 15:00:32 -0600
Message-ID: <CAN-Dau1b7nzhDr9iSicz3vz9dGm+VBasys7ytY=8p2OJL1C4GQ@mail.gmail.com>
To: Simon Hobson <linux@thehobsons.co.uk>
Cc: "v6ops@ietf.org list" <v6ops@ietf.org>, IPv6 List <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="f4030438f0f0ec7f2605603f0e0c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/dC0JPKIyEHKostSge2vNXcV6_-Y>
Subject: Re: [v6ops] Windows 10 doesn't honour 'M' flag in RA
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 13 Dec 2017 21:00:40 -0000

On Wed, Dec 13, 2017 at 1:34 PM, Simon Hobson <linux@thehobsons.co.uk>
wrote:

> Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
>
> > Well, the "Note:" does leave an open question. How does the person (or
> > automaton) configuring the router that sends the RA know that no
> > information is available via DHCPv6? It is entirely possible that
> > DHCPv6 is available on another box, and the person configuring the
> > the router doesn't know it. So these flags are intrinsically unreliable
> > and can only be hints; it's *necessary* that hosts are allowed to
> > ignore them and look for DHCPv6 anyway.
>
> I keep hearing this argument time and time again, but cannot reconcile it
> with any professionally managed network. Are there really professionally
> managed networks where the guys responsible for the routers (intrinsically
> tied in with the network config) don't talk to the guys running DHCP
> servers (intrinsically tied in with the network config) ?
> Put another way, are there really networks where two different groups "do
> their own thing" without agreeing between themselves how the network is
> supposed to work ?
>

So when the people running the DHCPv6 servers screw up, and the DHCP server
is down, what tells the router tat DHCPv6 isn't available? Nothing,
therefore, at best the M and O flags signal an intent not a fact, and
should only be considered advisory.  So I consider the M an O flags to mean;

1 = there should be a DHCPv6 server, and therefore hosts should keep trying
if one doesn't readily answer
0 = there should not be a DHCPv6 server, and therefore hosts should not
keep trying if one doesn't readily answer, or hosts might not try at all

Furthermore, even if there is no router on the link to advertise an RA, or
if the router is misconfigured to set M and O flags = 0, that doesn't mean
there isn't a DHCPv6 severer on the link, or available via routed
multicast. Its is probably safe to assume there isn't a DHCPv6 relay
configured on the router though. This is why several OS send initial DHCPv6
Solicits. But, I would hope if M and O flags = 0, this would not be
continued after a couple tries. In other words, if you send a couple
solicits and get no answer, you have empirical evidence that the M and O
flags = 0 is actually correct, and should then give up.

I believe the M and O flag specification in RFC 4861 is technical correct,
but is far too subtly written. I would be good when RFC 4861 is next update
for this to be more plainly stated.

Thanks.

-- 
===============================================
David Farmer               Email:farmer@umn.edu
Networking & Telecommunication Services
Office of Information Technology
University of Minnesota
2218 University Ave SE        Phone: 612-626-0815 <(612)%20626-0815>
Minneapolis, MN 55414-3029   Cell: 612-812-9952 <(612)%20812-9952>
===============================================