Re: [DMM] WGLC for draft-ietf-dmm-ondemand-mobility-08

"Seil Jeon" <seiljeon@gmail.com> Wed, 07 December 2016 06:26 UTC

Return-Path: <seiljeon@gmail.com>
X-Original-To: dmm@ietfa.amsl.com
Delivered-To: dmm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE95A129688 for <dmm@ietfa.amsl.com>; Tue, 6 Dec 2016 22:26:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 FELysOv91g64 for <dmm@ietfa.amsl.com>; Tue, 6 Dec 2016 22:26:09 -0800 (PST)
Received: from mail-pg0-x241.google.com (mail-pg0-x241.google.com [IPv6:2607:f8b0:400e:c05::241]) (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 9865C129689 for <dmm@ietf.org>; Tue, 6 Dec 2016 22:26:09 -0800 (PST)
Received: by mail-pg0-x241.google.com with SMTP id 3so22437242pgd.0 for <dmm@ietf.org>; Tue, 06 Dec 2016 22:26:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:thread-index:content-language; bh=BJHrVxTHPY5fI4KIUD87HPdfEkuZ/ZiWFNpB/SOf3v0=; b=cdm7bzibE879tkboGQBefk4tyCOB5NMBlaQMKAYdR1BZgXYdKwPaEPkbh5t8i1s1zN VHAbYTQB/sDgvbuPTfSGpaDgbpW1NmfROKvhSzbbh3sLqsWJn8gQi7iBl8n5wjz2eHDo nvMPKMFruEUHmxBf6JBbxwtygC01Vp6UE7z613ckYui86MuMtI5msNMVM+j6KHr2G4GL iiAWW9UQjxeivJF2b3hmBCi2WNB3EIgGbk6gBaZFw3J9ugdoXhw7J/QnnV4FvcNB9LzH WlFZKZPH+OQTp0YTOXKbGTW4XTN/8wfWNOGO7xGmuG/DkR5voVKx+757ikc0IRTU3bQb sSrA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:thread-index:content-language; bh=BJHrVxTHPY5fI4KIUD87HPdfEkuZ/ZiWFNpB/SOf3v0=; b=ftVsFqz0RUBivIO1K9Ma+NqW2VYnSysgfcKOqdOLEMA24Ycw76SLFM2djJGpTFGpbO TwO9KT9OBG+FHPo0SwYabFDUjU2bFP5IGg1Yl+aQq6O9nbOtYZidTnYzx+A5EhhZBXw0 16gJl81Z2Rm/Vc/cX7KFfvPdXHMQ+KAEmhI9/i3br14m84JIcAwx/YSnQEbc0jGIJ0i5 NRxu0FE0HUP6QBQni5ZpUorHrTMIOrbsR28hiiSzFz48KH8f/qfaKeraIrct8bgPObX9 TLhqUh3dddq657AjeGrgZuH3gAWW5EVTT2ho+hI81rdGU8ffKsQeI1IJs2wnO/rnYk3N RJkQ==
X-Gm-Message-State: AKaTC03cVuOCmfbrntxBJMa9Bi7L7eE1BrSMf946hp8V3/zFt0xkId3ObFK3cENbn2Z6LQ==
X-Received: by 10.99.36.65 with SMTP id k62mr117162529pgk.13.1481091969116; Tue, 06 Dec 2016 22:26:09 -0800 (PST)
Received: from seiljeonPC ([121.169.12.59]) by smtp.gmail.com with ESMTPSA id u23sm39098012pfg.86.2016.12.06.22.26.06 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Dec 2016 22:26:08 -0800 (PST)
From: Seil Jeon <seiljeon@gmail.com>
To: 'Lorenzo Colitti' <lorenzo@google.com>
References: <148036629464.5478.15248622721170321679.idtracker@ietfa.amsl.com> <6E8FD89A-A217-4958-8DF8-EE7D0CD77F13@gmail.com> <CAKD1Yr3nCfMFz_1wqvDmiyMK2OiKZAwYTv2GKN9axf7JuOdtxA@mail.gmail.com> <5963DDF1F751474D8DEEFDCDBEE43AE77DB5988B@SZXEML503-MBS.china.huawei.com> <CAKD1Yr3J0XQSLGHBX52pD8rGbk-UsSqfJpUkBSDOvO3k9ORSaw@mail.gmail.com> <5963DDF1F751474D8DEEFDCDBEE43AE77DB598CA@SZXEML503-MBS.china.huawei.com> <CAKD1Yr1wzpyryb+T5N7FkVSpPfnZWKG_OH3izo35i8JjR=y+Ow@mail.gmail.com> <5963DDF1F751474D8DEEFDCDBEE43AE77DB59938@SZXEML503-MBS.china.huawei.com> <F0CF5715D3D1884BAC731EA1103AC28134AA2986@HASMSX105.ger.corp.intel.com> <CAKD1Yr2UPaGKvTN4750G7Fa0dxkpzapMN+AUQc4i2PmJ9mgM2Q@mail.gmail.com> <F0CF5715D3D1884BAC731EA1103AC28134AA2B7C@HASMSX105.ger.corp.intel.com> <CAKD1Yr3XLtYOOzv+yLsH0Bv_X5wqxcO4F1B5axS_zKr5vfsJeQ@mail.gmail.com> <F0CF5715D3D1884BAC731EA1103AC28134AA3C99@HASMSX105.ger.corp.intel.com> <CAKD1Yr1-YRtMwN+BFpWL4oyb-CXMAEmiZTDpOZ42VLBMiHnBpA@mail.gmail.com> <CAKD1Yr2gjXcjsy8i_HOy4wxNtCrgP_= mqrziTocVNswMUa0SsQ@mail.gmail.com> <001e01d2503b$ea005ab0$be011010$@gmail.com> <CAKD1Yr1gM+fiLzBOhKqg+cgyqWgKjDUzgpvz5OY-4RU_u34TwQ@mail.gmail.com>
In-Reply-To: <CAKD1Yr1gM+fiLzBOhKqg+cgyqWgKjDUzgpvz5OY-4RU_u34TwQ@mail.gmail.com>
Date: Wed, 07 Dec 2016 15:26:01 +0900
Message-ID: <008d01d25052$ca1611b0$5e423510$@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_008E_01D2509E.3A01B150"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQHQyE6WNimEHSiOBHh0nVjwdwTOpQI0C55qAVECYfABTo6NIAM/J6wiAkLwqPkChAnfPQIOzMaBAvPNMh8B3XPZmAHyvQPhATwFn+EB6AruaAFFUSfRAqQcQoYBkuSSIAM9N/qbn/K4qqA=
Content-Language: ko
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmm/8HyJ0-vccKlUt7QX3ipUxCGL6Bs>
Cc: 'Peter McCann' <Peter.McCann@huawei.com>, dmm@ietf.org
Subject: Re: [DMM] WGLC for draft-ietf-dmm-ondemand-mobility-08
X-BeenThere: dmm@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Distributed Mobility Management Working Group <dmm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dmm>, <mailto:dmm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dmm/>
List-Post: <mailto:dmm@ietf.org>
List-Help: <mailto:dmm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dmm>, <mailto:dmm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Dec 2016 06:26:13 -0000

Hi Lorenzo,

 

You can find my comments inline.

 

Regards,

Seil Jeon

 

From: Lorenzo Colitti [mailto:lorenzo@google.com] 
Sent: Wednesday, December 07, 2016 1:01 PM
To: Seil Jeon <seiljeon@gmail.com>
Cc: dmm@ietf.org; Moses, Danny <danny.moses@intel.com>; Peter McCann <Peter.McCann@huawei.com>; john.kaippallimalil@huawei.com
Subject: Re: [DMM] WGLC for draft-ietf-dmm-ondemand-mobility-08

 

Seil Jeon,

 

I'm not sure I understand. The draft implies that IPV6_REQUIRE_SRC_ON_NET forces the device to talk to the network even if it already has a prefix from the current network. Why do this?

 

No. it doesn’t force to the IP stack. It is just telling what additional requirement of the application to the IP stack. If the stack has it from the current serving network, the best-matched one will be used. Or, it will request a new one.

 

Suppose the following sequence of events occurs.

1.	The device has a mobile (e.g., session-lasting) IPv6 prefix only.
2.	The device moves to a new attachment point and its only prefix (and only IP addresses) are now subject to suboptimal latency.
3.	An application wants to use an IPv6 address from the local network, in order to minimize latency.
4.	The device does not have a local prefix assigned by the local network, so it gets a local prefix from the network. This takes 1-2 seconds.
5.	100ms later, another application wants to use an IPv6 address from the local network.

At point 5, it is much more faster for the host to say, "I already have a prefix from the local network, I will just create a new address from that prefix" than to talk to the network.

 

I’m not sure what local prefix you mean. I don’t know what default policy to assign an IPv6 prefix to the host in your scenario. But if you mean the local prefix as session-lasting IP prefix, once the IP stack gets the prefix at step 4, it will not need step 5.

 

In step 4, the local prefix could be non-persistent IP address, not session-lasting IP address. And suppose one or more session-lasting IP addresses are already existing in the stack. Then, a new application requiring on-net property will need a session-lasting IP prefix from the current serving network.

 

The purpose of the on-net property is to help an application get a prefix assigned from the current serving network.

 

 

 

Is IPV6_REQUIRE_SRC_ON_NET defined because at step 2, the device does not know it has moved?

 

This draft doesn’t talk about any mobility protocol, but just dealing with how application’s IP address requirement can be delivered to the IP stack. The on-net API also belongs to the same goal.

 

 

 

Regards,

Lorenzo

 

On Wed, Dec 7, 2016 at 12:42 PM, Seil Jeon <seiljeon@gmail.com <mailto:seiljeon@gmail.com> > wrote:

Hi Lorenzo,

 

Please see inline.

 

Regards,

Seil Jeon

 

From: dmm [mailto:dmm-bounces@ietf.org <mailto:dmm-bounces@ietf.org> ] On Behalf Of Lorenzo Colitti
Sent: Wednesday, December 07, 2016 12:20 AM
To: Moses, Danny <danny.moses@intel.com <mailto:danny.moses@intel.com> >
Cc: draft-ietf-dmm-ondemand-mobility@ietf.org <mailto:draft-ietf-dmm-ondemand-mobility@ietf.org> ; Peter McCann <Peter.McCann@huawei.com <mailto:Peter.McCann@huawei.com> >; dmm@ietf.org <mailto:dmm@ietf.org> 
Subject: Re: [DMM] WGLC for draft-ietf-dmm-ondemand-mobility-08

 

Danny,

 

I don't think assigning addresses vs. assigning prefixes is a question only of mechanism.

 

For example, consider the IPV6_REQUIRE_SRC_ON_NET flag. If the network is following IP addressing best practices, I don't see a need for it. If a host already has an IPv6 address of the desired type, what's the point of sending a request to the network to obtain one?

 

The reason is well described in  <https://tools.ietf.org/html/draft-sijeon-dmm-use-cases-api-source-05> https://tools.ietf.org/html/draft-sijeon-dmm-use-cases-api-source-05 like following

 

Acquiring a new session-lasting IP address may take some

   time (due to the exchange with the network) while using an existing

   one is instantaneous.  On the other hand, using the existing one

   might yield less optimal routing.  For example, the use of the IP

   address with an existing one configured might provide a suboptimal

   routing path as a result of a handover.  This situation might not be

   preferred by newly initiated applications because the application

   incurs the costs of IP mobility even though the MN has not moved from

   the current serving network.  Eventually, the new session is served

   by a remote IP mobility anchor with mobility management functions,

   though the MN has not moved yet.

 

Is it so that the requesting app can obtain a new IP address with the desired properties, unique to that particular socket? But if so, the host should just create a new address for that socket, with the desired properties. The network should not be requiring that the host ask for individual IP addresses; it should be allowing the host to form more IP addresses without requesting them.

 

In any case: since the socket options defined in this draft are IPv6-only, it only needs to concern itself with IPv6, and we're really only left with one case: a prefix. If so, how about the following?

 

“By issuing a request to the network” you pointed out in the previous mails has been described as the on demand nature for a long time in [I-D. draft-ietf-dmm-ondemand-mobility]. If it is an issue INDEED, it needs to be revised not with individual address but with prefix. Would it be better?

 

Second, from your text, the reason to use the proposed API is not to use the address based on the same prefix. “Creating a new one from an existing prefix of the desired type” is away from the intention.

 

====

When the IP stack is required to use a source IP address of a specific type, it can perform one of the following: it can use an existing address with the desired type (if it has one), or it can create a new one from an existing prefix of the desired type. If the host does not already have an IPv6 prefix of the specific type, it can request one from the network.

 

Using an address from an existing prefix is faster but might yield a less optimal route (if a hand-off event occurred since its configuration), on the other hand, acquiring a new IP prefix from the network may take some time (due to signaling exchange with the network) and may fail due to network policies.

====

 

 

 

 

 

Cheers,

Lorenzo

 

On Tue, Dec 6, 2016 at 9:27 PM, Moses, Danny <danny.moses@intel.com <mailto:danny.moses@intel.com> > wrote:

Firstly, I agree that the only two examples of ‘resource’ type that may result with a creation of a source IP address are (i) an IP address and (ii) an IP prefix. I cannot think of any other magic, but perhaps some else can…

 

I am trying to avoid the term ‘prefix’ because it is not directly related to the Socket interface and I am trying to separate the definitions related to the Socket interface from the definitions related to the interaction between the MN and network.

 

If I mention prefixes, I will have to explain that the network may allocate IP addresses or IP sockets and that in cellular networks the recommended mechanism is to allocate /64 prefixes… I do not want to get into these details because they are not helpful for Socket API users.

 

However, I do intend to get into these details (and refer to the recommendation of RFC 7934) in the drafts that describe the extensions required to convey the IP service type between the IP stack in the MN and the network. 

 

From: Lorenzo Colitti [mailto: <mailto:lorenzo@google.com> lorenzo@google.com] 
Sent: Tuesday, December 06, 2016 13:43
To: Moses, Danny < <mailto:danny.moses@intel.com> danny.moses@intel.com>
Cc: Peter McCann < <mailto:Peter.McCann@huawei.com> Peter.McCann@huawei.com>; jouni.nospam < <mailto:jouni.nospam@gmail.com> jouni.nospam@gmail.com>;  <mailto:draft-ietf-dmm-ondemand-mobility@ietf.org> draft-ietf-dmm-ondemand-mobility@ietf.org;  <mailto:dmm@ietf.org> dmm@ietf.org
Subject: Re: [DMM] WGLC for draft-ietf-dmm-ondemand-mobility-08

 

On Mon, Dec 5, 2016 at 9:50 AM, Moses, Danny <danny.moses@intel.com <mailto:danny.moses@intel.com> > wrote:

I think it is important to describe that application developer can influence the type of service the IP session is receiving, while being vague about the mechanism of address allocation. Since you are concern with the draft using the term ‘address’ and I am concern with using the term ‘prefix’, I tried using the term ‘network resources’. Yes, it is vague, but that is the intention.

 

Ok, but what other type of resource can result in the MN being able to use an IP address? It seems to me that only an IP address or a prefix will qualify. And if allocating address on request is recommended, then that only leaves a prefix.

 

If there are other types of resource that I'm missing, then "resource" might be OK, as long as it has appropriate examples. But if the only two options are "address" and "prefix" and "address" is not recommended, then saying "resource" is at best unhelpful and at worst misleading.

 

Can you explain why you are concerned with using the term "prefix"?

---------------------------------------------------------------------
A member of the Intel Corporation group of companies

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.