Re: [radext] [homenet] [dhcwg] PPP, DHCPv6 and Prefix Delegation

Jouni Korhonen <jouni.nospam@gmail.com> Tue, 19 November 2013 17:43 UTC

Return-Path: <jouni.nospam@gmail.com>
X-Original-To: radext@ietfa.amsl.com
Delivered-To: radext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C87C21AE118; Tue, 19 Nov 2013 09:43:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.484
X-Spam-Level:
X-Spam-Status: No, score=0.484 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, FRT_ADULT2=1.474, SPF_PASS=-0.001, T_FRT_ADULT2=0.01] autolearn=no
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 dojDfd3SpMoR; Tue, 19 Nov 2013 09:43:00 -0800 (PST)
Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 371301AE117; Tue, 19 Nov 2013 09:42:59 -0800 (PST)
Received: by mail-wg0-f46.google.com with SMTP id x12so7869088wgg.13 for <multiple recipients>; Tue, 19 Nov 2013 09:42:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Z16Ztk4xVQvEp7I2+OdsSriXy82xwcANqIzO3ym5fXw=; b=EdsFP4qc/V1N6DgslDvwyw/Qf+Zxo+pE9K5gQ86ZEPfV6kTRIt5JVIMafQCijjwYEA gt7jQQ5MKLW0qV1nYdWyDh0xPDE23igwHlr7eH9jY5H4EIOahHd+4eUc8iCNAhK1aoVT 0xg3uSoHyp409my5PCPnk2Nzchd6dQ2knKK2Hiuzy0PhV5HNwGTKLucas0ObClJ+ZQaw ZSwhzyMFFQmy9q4tgo5DNnqFWvEZ7lvpYBJeJHQMR7J9TknElCRPiwxppXCFLW9AYHbc +SBNYID0PgEPgSjeHHCXvMJeb8sIKYdVPu5EkZKdV3s6CquCQ3rkk03Iy7hwj0MJSE4b wuoQ==
X-Received: by 10.180.75.115 with SMTP id b19mr1794876wiw.19.1384882972562; Tue, 19 Nov 2013 09:42:52 -0800 (PST)
Received: from troma.lan (APuteaux-652-1-7-49.w82-124.abo.wanadoo.fr. [82.124.30.49]) by mx.google.com with ESMTPSA id qc10sm36551286wic.9.2013.11.19.09.42.51 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Nov 2013 09:42:51 -0800 (PST)
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Jouni Korhonen <jouni.nospam@gmail.com>
In-Reply-To: <57C3345230A4F94C9B2F5CFA05D7F2BD1D4ED850@xmb-rcd-x01.cisco.com>
Date: Tue, 19 Nov 2013 19:42:48 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <659AA1B8-BA47-420F-A452-24DB776B3061@gmail.com>
References: <11836.1384276281@sandelman.ca> <CAKOT5Ko2OO=U_0jADb6R88JiFh59BLDSe4P0haqgaBr2M7HobA@mail.gmail.com> <3673.1384528283@sandelman.ca> <CAKOT5Kpp0dCqbZyFzwtjTh9UJ5hGHUMN0ZGQHUL35+mkO9VRrA@mail.gmail.com> <CABT9mj-rw5bsVa7UAiraxu-U2t1QGqPronYj3Fx6ZxoPWo0Zow@mail.gmail.com> <CABT9mj-sQbfiNyfUZDxVmCg7SYWaJXcp+pNbyUSj64iFSA5fuA@mail.gmail.com> <70913413-2B68-4703-84E3-F7CC47E1A0E2@cisco.com> <CABT9mj9Jg-5pM4JKKOOgqszarFj6eDHji_rHZkTw3Eknddaqdw@mail.gmail.com> <489D13FBFA9B3E41812EA89F188F018E1AD9CDF7@xmb-rcd-x04.cisco.com> <B10FDF95-9612-4DD7-8C3E-9361CCBCA4E3@gmail.com> <CABT9mj-p3tjamspMo-F5vJRSCAWEVkvBEogFjAFrr4jL3p9vpw@mail.gmail.com> <489D13FBFA9B3E41812EA89F188F018E1AD9D36C@xmb-rcd-x04.cisco.com> <CABT9mj8Gt==+m-JL2foTvZnU49EhSODN0595cb-P1jn9YQgE6Q@mail.gmail.com> <57C3345230A4F94C9B2F5CFA05D7F2BD1D4ED850@xmb-rcd-x01.cisco.com>
To: "Roberta Maglione (robmgl)" <robmgl@cisco.com>
X-Mailer: Apple Mail (2.1510)
Cc: "radext@ietf.org" <radext@ietf.org>, Athanasios Douitsis <aduitsis@gmail.com>, "Bernie Volz (volz)" <volz@cisco.com>, Michael Richardson <mcr+ietf@sandelman.ca>, "dhcwg@ietf.org WG" <dhcwg@ietf.org>, "homenet@ietf.org" <homenet@ietf.org>
Subject: Re: [radext] [homenet] [dhcwg] PPP, DHCPv6 and Prefix Delegation
X-BeenThere: radext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: RADIUS EXTensions working group discussion list <radext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/radext>, <mailto:radext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/radext/>
List-Post: <mailto:radext@ietf.org>
List-Help: <mailto:radext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/radext>, <mailto:radext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Nov 2013 17:43:02 -0000

On Nov 19, 2013, at 7:10 PM, "Roberta Maglione (robmgl)" <robmgl@cisco.com> wrote:

> Hello,
> I see your point. In my opinion if you would like to have all the prefixes assigned by RADIUS server in order to be able to cover the scenario you described in a clean way you would need a new RADIUS attribute for PD_EXCLUDE.

I am not sure I agree entirely.


> The reason why I think a new radius would be required is because you need to differentiate between the scenario where Framed-IPv6-Prefix is used to number the Wan link with a separate prefix (not included in the PD - without the PD_EXCLUDE) and the scenario you described where the prefix for the WAN link is part of the PD and you need to copy it into the PD exclude option.

That would be a trivial check in the RADIUS client, right? If the Framed-IPv6-Prefix falls into the Delegated-IPv6-Prefix, then you do the exclude, otherwise not.


> Today the BNG (that in this case is acting both as RADIUS Client and Delegating Router) has no mean to know if the  Framed-IPv6-Prefix should be used for the  PD_EXCLUDE or not and in my opinion it would be better not overload the sematic of the Framed-IPv6-Prefix.
> Any comment?

I would do the check rather than define a new attribute. 

- Jouni


> Thanks
> Roberta
>  
> From: Athanasios Douitsis [mailto:aduitsis@gmail.com] 
> Sent: Tuesday, November 19, 2013 11:50 AM
> To: Bernie Volz (volz)
> Cc: Jouni Korhonen; radext@ietf.org; homenet@ietf.org; Roberta Maglione (robmgl); dhcwg@ietf.org WG; Michael Richardson
> Subject: Re: [homenet] [dhcwg] PPP, DHCPv6 and Prefix Delegation
>  
>  
> On Tue, Nov 19, 2013 at 6:42 PM, Bernie Volz (volz) <volz@cisco.com> wrote:
> This must be done by the delegation router (if you are talking about the DHCPv6 packet itself) – as it is the one that constructs the Advertise and Reply messages to the client.
>  
> Pardon me, I meant to wonder who should make the assignment, not who should construct the packets.
> 
> When you are using the Delegated-IPv6-Prefix AV pair, the delegating router obviously constructs the packets with the delegated prefix value, but the actual assignment has been done by the RADIUS server. By the same token, I wondered whether it makes sense to do the same for the OPTION_PD_EXCLUDE value.
> 
> Kind regards,
> -- 
> Athanasios Douitsis
> 
>