Re: [v6ops] Please review the No IPv4 draft

Simon Perreault <simon.perreault@viagenie.ca> Tue, 15 April 2014 13:29 UTC

Return-Path: <simon.perreault@viagenie.ca>
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 575071A0446 for <v6ops@ietfa.amsl.com>; Tue, 15 Apr 2014 06:29:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.173
X-Spam-Level:
X-Spam-Status: No, score=-2.173 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.272, SPF_PASS=-0.001] 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 5Vi9G03wmx5T for <v6ops@ietfa.amsl.com>; Tue, 15 Apr 2014 06:29:34 -0700 (PDT)
Received: from jazz.viagenie.ca (jazz.viagenie.ca [IPv6:2620:0:230:8000::2]) by ietfa.amsl.com (Postfix) with ESMTP id 322FB1A0430 for <v6ops@ietf.org>; Tue, 15 Apr 2014 06:29:34 -0700 (PDT)
Received: from porto.nomis80.org (unknown [IPv6:2620:0:230:c000:2520:ef8a:477:622f]) by jazz.viagenie.ca (Postfix) with ESMTPSA id 3B87D403E0 for <v6ops@ietf.org>; Tue, 15 Apr 2014 09:29:31 -0400 (EDT)
Message-ID: <534D343A.5000403@viagenie.ca>
Date: Tue, 15 Apr 2014 09:29:30 -0400
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: v6ops@ietf.org
References: <534BF5A5.5010609@viagenie.ca> <534BFA08.3030404@foobar.org> <49EA8AC9-D5C5-4FE5-9A10-0CD574782F0F@nominum.com> <534C07FC.8000907@foobar.org> <F08AF14D-22C6-4F4C-9388-670EB4CD8453@nominum.com> <F2A0EC2F-6B41-4560-88BA-CEBF3E921B61@delong.com> <CAEmG1=oK8iHAms2_uVBsCtpCG7xBdhRfh9QQrd+JXUXgjBPqPA@mail.gmail.com> <0901D65B-EA79-4E20-987D-9BA01CEDDAB3@delong.com> <B3942C2F-C08E-42F2-9038-92C3C63E0023@nominum.com> <534C432D.3060700@globis.net>
In-Reply-To: <534C432D.3060700@globis.net>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/v6ops/PHAdcEz9v9wxlH1p6ZNOj6Hd688
Subject: Re: [v6ops] Please review the No IPv4 draft
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: Tue, 15 Apr 2014 13:29:39 -0000

Le 2014-04-14 16:21, Ray Hunter a écrit :
> That we are discussing turning off IPv4 in both RA and DHCPv6 just
> highlights to me how ridiculous host configuration has become.
> 
> To me this proposal just introduces all sorts of horrible race
> conditions and inconsistencies, and I'm not convinced it's any better
> than just configuring up IPv4 via DHCPv4 with either a self assigned
> address or an RFC 1918 address and saying nothing about remote
> connectivity (given that most OSes already have IPv4 detection
> mechanisms in place to work out whether they are on a corporate network
> with proxies or the Internet or on an isolated island or whatever.)
> 
> e.g. what does a host do if RA says turn off IPv4, but DHCPv4 replies
> either before or after a host receives that RA advertisement?
> Does the host have to then disable IPv4 once it is already up? For how
> long?

Yes. Forever. This is in our draft.

If IPv4 is already up, then there is a problem with your network's
configuration. If you're saying over IPv4 that there is no IPv4 service,
but on the other hand you *are* in fact providing IPv4 service, there's
a contradiction somewhere. So in fact what would happen is the host
would abort an unresponsive IPv4 provisioning process.

> What if DHCPv6 and RA are not consistent (given they may not even be the
> same router or device responding)?

Then you have a network configuration consistency problem. We have the
same issue whenever we define similar options in DHCPv6 and RA. Take for
example DNS resolver provisioning, which is IMHO worse because we're not
even talking about conflicting binary options, but list-values options
that need to be merged somehow.

This is not germane to the No-IPv4 problem. I wouldn't mind removing
either the DHCPv6 or RA option if provisioning consistency proves to be
an issue that people care about.

> What if one router is IPv4 only and the other IPv6 only? And they're
> from 2 different ISP providers connected to a common L2 LAN? That's a
> perfectly valid configuration in my opinion.

Absolutely. This is why we define how this option works in
multiple-interfaces scenarios. This is all in the draft.

> Can an absence of "turn off IPv4" message be taken as a "turn on IPv4"?

No. It's an absence of information, period.

> How would this be implemented consistently given RA is generally ICMP
> (kernel space) and DHCPv6 user space (daemon)?

I would make it all percolate all the way up to the controlling glue
code (e.g., NetworkManager or init scripts).

> Given the O and M bit saga, what makes anyone think that this additional
> signalling will be any better?

Because it helps fix real problems we're having today, and it helps
people move to IPv6-only networks.

> Why would any end host trust this message?

Why would any end host trust anything received over DHCP or RA? This
issue is not germane to the No IPv4 problem.

> IMHO the place to turn off or signal limited IPv4 connectivity is in
> DHCPv4 (if we ever even attempt to do that). 

Why?

Simon
-- 
DTN made easy, lean, and smart --> http://postellation.viagenie.ca
NAT64/DNS64 open-source        --> http://ecdysis.viagenie.ca
STUN/TURN server               --> http://numb.viagenie.ca