Re: [v6ops] [dhcwg] IPv6-Only Preferred DHCPv4 option

Lorenzo Colitti <lorenzo@google.com> Fri, 06 December 2019 07:21 UTC

Return-Path: <lorenzo@google.com>
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 8CE881200D5 for <v6ops@ietfa.amsl.com>; Thu, 5 Dec 2019 23:21:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.5
X-Spam-Level:
X-Spam-Status: No, score=-17.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 ctKQmD-XvTu7 for <v6ops@ietfa.amsl.com>; Thu, 5 Dec 2019 23:21:33 -0800 (PST)
Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0CD3C120096 for <v6ops@ietf.org>; Thu, 5 Dec 2019 23:21:33 -0800 (PST)
Received: by mail-il1-x12a.google.com with SMTP id b15so5437400iln.3 for <v6ops@ietf.org>; Thu, 05 Dec 2019 23:21:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=c9VqvQi4T4pTP9fkqwel3PUHk6VfRMwQWHQPlTCoqeY=; b=VsqdmjdbC3l8GhdAMHTrtumPBCg7GqWMr/GQNcR3KRaCE0qRAWtY2ImwnY8fyxAIZY jITzbJTe5+luN6lCzsrqlWyybmzvlGLu+BSSycFMnwKgxoT3adBCBJJ2JVlKHBxl2X5T gp1iFdAjU5qFvXkRIj3cZmYJmQj8JgPoLlpFy78GLvD9bO1/UHpHEWLYl+c83/SEp5XY JqwM1RoQcDs0XdlluHCK8ImC1UInE0cG26j1yc98ldLkva+KbWyPqY2rYcu9dbtlWBRt cyWim7I9Fq1B5w+BKfHy/cD+GImk3eslcKff5O+RyLXvA2EnqCPW3vH6JUtAwkckVx7L lOEA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c9VqvQi4T4pTP9fkqwel3PUHk6VfRMwQWHQPlTCoqeY=; b=r/UYqUnao1G1cCm2uTOUjOLekDr52MQIjLkKVPYHc3JHge2GNzUyJUdiyXAp7ylVnZ Och67Ykz5CJW+S4M4M9CVxdnxBjF+5nCw5K7hl75Zkf3OCr1M1nmjOSsUiv4ZavoD0pl GJ+hT0vluLbINcEFXXvwyBoadZ0y+fCHeEX4QzsMyigNpqVmsSvdcULgKpRzE36bdCdQ lgIvFvar8mbmywHxLKdT41aoyOTDn73Y2M9VKTqgDz3kwMNCFzbL4p+OVnonaMTtLT+8 ZsGHp77hzAVpxJl6LyopAbf6ZDAtaZPIlEXN+K24KLU67Esq/SToOO2pTaGMpy6HNUdY RsJA==
X-Gm-Message-State: APjAAAUS4OWwNfw4cYJYDR2/h2zI1TmH3pFlhxlWHr+xCBay2CWeBGbP HRLZFzGyB4Hnn+FoEsJiY60xw7PwbqLNkhI5C4VDEQ==
X-Google-Smtp-Source: APXvYqwIRNOD1hE8b9K6C5zD9QPssHH5H04Wmg9o6qPooeItII7xIKqyX3ZlLlbtQrkjfvIP++XqppuFfoi4ZTW+l7g=
X-Received: by 2002:a92:6e09:: with SMTP id j9mr10433647ilc.178.1575616892149; Thu, 05 Dec 2019 23:21:32 -0800 (PST)
MIME-Version: 1.0
References: <CAFU7BAR1JLUZps=CAqJfeQtUf-xQ88RYvgYrPCP+QP0Ter7YFg@mail.gmail.com> <E03BBE6C-3BED-4D49-8F79-0A1B313EFD9D@apple.com> <28594.1575483729@localhost> <CAFU7BAQp2-4EwntFj6Nx+be54-fi+gnQmRgT6yS22p=vYugpzA@mail.gmail.com> <CAN-Dau1L_hdRMiGApa7VKuZ0_f5q1NJ-5sHMeg-dtTWa=Tq6bQ@mail.gmail.com> <CAFU7BAS9iMBWkdQF_hwK7squvG9A5f38miS=sWLNns=ZxK4GCg@mail.gmail.com> <CAN-Dau3WswixgY=B9dPwL-hTtxsjm-X-sJ6iXMtpifUAHF12DQ@mail.gmail.com> <CAFU7BASYFEcUgJZUvxi+m4s_GELUQV-2C=UaJ35pBz+zpG1XzA@mail.gmail.com>
In-Reply-To: <CAFU7BASYFEcUgJZUvxi+m4s_GELUQV-2C=UaJ35pBz+zpG1XzA@mail.gmail.com>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Fri, 06 Dec 2019 16:21:19 +0900
Message-ID: <CAKD1Yr3OjCsMNM+P2tt9EPrkXDhP+yMptKg-AG3OA1KNbsrqhQ@mail.gmail.com>
To: Jen Linkova <furry13@gmail.com>, Tomek Mrugalski <tomasz.mrugalski@gmail.com>
Cc: David Farmer <farmer@umn.edu>, Michael Richardson <mcr+ietf@sandelman.ca>, dhcwg@ietf.org, V6 Ops List <v6ops@ietf.org>, draft-link-dhc-v6only@ietf.org
Content-Type: multipart/alternative; boundary="00000000000028fe37059903e5fd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/lfMtU1A2GfJj7ORPf8P5QE8fAVk>
Subject: Re: [v6ops] [dhcwg] IPv6-Only Preferred DHCPv4 option
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 06 Dec 2019 07:21:35 -0000

On Fri, Dec 6, 2019 at 4:14 PM Jen Linkova <furry13@gmail.com> wrote:

> "If the pool is explicitly configured with a dedicated IPv4
>    address to be returned to IPv6-only capable clients the server MUST
>    specify that address as the client's network address and MUST NOT
>    verify its uniqueness.
>

That seems difficult to implement on the server. Why not just return a
normal OFFER from the pool? That way, if something unexpected happens and
the client sends a DHCPREQUEST for it, the server can hand it out as normal.

The alternative is risky. If the server uses a bogus OFFER value, and some
client requests it and the server hands it out, that creates the
possibility for misconfiguration or bugs to create really bad outcomes
where multiple hosts have the same IP address, or some things on the
network (e.g., snooping switches) think that multiple hosts have the same
IP address. +Tomek Mrugalski <tomasz.mrugalski@gmail.com> any thoughts on
whether this can be implemented easily and reliably on the server side?