Re: [v6ops] DHCPv6/SLAAC Make Hosts Confusing-//RE: new draft: draft-liu-bonica-v6ops-dhcpv6-slaac-problem

Lorenzo Colitti <lorenzo@google.com> Sun, 27 October 2013 14:58 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 9B61611E8283 for <v6ops@ietfa.amsl.com>; Sun, 27 Oct 2013 07:58:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.893
X-Spam-Level:
X-Spam-Status: No, score=-1.893 tagged_above=-999 required=5 tests=[AWL=0.084, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IpVderKZA3qH for <v6ops@ietfa.amsl.com>; Sun, 27 Oct 2013 07:58:54 -0700 (PDT)
Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) by ietfa.amsl.com (Postfix) with ESMTP id DE67E11E8192 for <v6ops@ietf.org>; Sun, 27 Oct 2013 07:58:53 -0700 (PDT)
Received: by mail-ie0-f180.google.com with SMTP id e14so9376574iej.39 for <v6ops@ietf.org>; Sun, 27 Oct 2013 07:58:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=MNHTAuXJp4dS9guAxYrCT4HkyB7bNLtL6kzK+5R8NJI=; b=k4hiLExto2wLNrHXv1dxfaUjdYWRtFsgYa6b34mgHT9WyWKko0PJzdqqHS9Z6nellM nQfprjwukroyg5DxAEpV8AGKIySmE6IvJuX27QBbS/eM0rhJoNfhoiH4+nSA0CnDrrZN IYgU85YGH2S3AeTL7ZJRpYl3aAnTLsqn03B/lSF1sw2yzCWWxY29FPBULsAm4hmvQpKN RYfmqzUJAYYOafPjABW1ruwSSb2EfzmCoqr/WGFI9fMsieUj4bsQ7J0Uw4ZbY+jugcp2 ULEoYRR0DDE1Xjquq3tio4uXy8TG9TRMEqpOpnb4Mi+rRC1p/b+IfoEeC9SBKlFkPv+I SYMQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=MNHTAuXJp4dS9guAxYrCT4HkyB7bNLtL6kzK+5R8NJI=; b=VLQAHJGBVEpGMNkNhF6ASYbo8msW2qMCwBV/AFEJmm+agVI0OKtnMTCkzUcZ1KadBx vynNuMHiqBCtc7YO7eEpcAHyy0NHjW9QESxxSG1cCiYOZW9quAhxNhFdxoy9JG6iOkmG BZN8MvPq6Q0ARb/xQ910SE4YsSBIScep/0hdgJ87KASPonqD/4HCwyxceGDJjpih67j+ kSZeTLeEPKeqq80/oPGKrQ3KLITunO7aqSq3COdk6j5HvUP+UwwhnhQcNNWRhs7IMznT aBAo2sO6KHpfpTjBRhGVoNwsOqfoCDoYuwtUk+/lZPB38K3fMBR2lu7LuZSWY6b0i8cU 3Okw==
X-Gm-Message-State: ALoCoQmA8du44b1H2mYPAuFrzTuGW3YQuM5cOR29DpYDQFezFbKuKKhTTNexgtVCjhPJM4CepfCPEHULtBVtBFORqeqcLNhqny2FhYf1uO1T9+REftpe1ELEHYAFsODy/oJ8VW4Lwyh4HufExbhcRb5NtW3nJ95TDFXHGEXVX1AZ2OWoqJk00j0qZs/RcYSwx7AO6HEc69pw
X-Received: by 10.50.43.131 with SMTP id w3mr5421662igl.17.1382885933289; Sun, 27 Oct 2013 07:58:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.86.106 with HTTP; Sun, 27 Oct 2013 07:58:33 -0700 (PDT)
In-Reply-To: <20131027145224.GT50205@Space.Net>
References: <CE8E8EC3.59F3A%victor@jvknet.com> <06601039-CAFD-49B0-918B-A8ACD51B978D@fugue.com> <526D17A5.9050804@cernet.edu.cn> <C8C148BF-08F0-488A-BF1A-8B4BEAC39156@fugue.com> <526D18F2.8040103@cernet.edu.cn> <20131027145224.GT50205@Space.Net>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Sun, 27 Oct 2013 23:58:33 +0900
Message-ID: <CAKD1Yr13YGiRfHm0RoOoGe+02SCXcPFE7rgBG=RiT1-dTfEnrg@mail.gmail.com>
To: Gert Doering <gert@space.net>
Content-Type: multipart/alternative; boundary="047d7bfea186d1cdb104e9ba389f"
Cc: "v6ops@ietf.org" <v6ops@ietf.org>, Ted Lemon <mellon@fugue.com>, "Ole Troan (otroan)" <otroan@cisco.com>, Dave Thaler <dthaler@microsoft.com>, "draft-liu-bonica-v6ops-dhcpv6-slaac-problem@tools.ietf.org" <draft-liu-bonica-v6ops-dhcpv6-slaac-problem@tools.ietf.org>
Subject: Re: [v6ops] DHCPv6/SLAAC Make Hosts Confusing-//RE: new draft: draft-liu-bonica-v6ops-dhcpv6-slaac-problem
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.12
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: Sun, 27 Oct 2013 14:58:54 -0000

On Sun, Oct 27, 2013 at 11:52 PM, Gert Doering <gert@space.net> wrote:

> > > I do not think that I made an actual proposal here.
> > I mean "Stateful RA could actually be piggybacked onto DHCP, so that the
> > router just creates a DHCP message and forwards it upstream, or answers
> > it locally, depending on the circumstances." xing
>
> This is called "DHCP relay or DHCP server on the router".  I can't see
> what this has to do with RA ("periodically multicasted to everyone who
> wants to receive it").
>
> This idea is... completely lacking the understanding of the difference
> between solicited and unsolicited information, and also of the existing
> possibilities of just having a DHCPv6 server (or relay) on the router
> itself.
>

The way I read that was:

1. Host sends RS.
2. Router gets RS, encapsulates it in DHCPv6 option to DHCPv6 server.
3. Server replies with RA parameters.
4. Router sends unicast RA to host.

The unicast RA would have more information than the multicast RA (e.g.,
more specific routes). The idea being that you if you do this you can send
different clients different information (which is one of the things that
DHCPv6 offers but RAs typically do not).

So it's basically a RA-to-DHCPv6 translator in the router.

If you want to do it this way, I don't see why you would use DHCPv6 and not
something like radius, but I suppose you might want to do that if you need
to keep state on the server (radius is stateless).