Re: [Casm] I-D Action: draft-li-casm-address-pool-management-architecture-00.txt

"" <> Mon, 03 July 2017 07:00 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 307DB131490 for <>; Mon, 3 Jul 2017 00:00:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.891
X-Spam-Status: No, score=-1.891 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 9eU4BbdNtg8B for <>; Mon, 3 Jul 2017 00:00:38 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id 492E8129B5A for <>; Mon, 3 Jul 2017 00:00:32 -0700 (PDT)
Received: from clientip- (unknown []) by (HERMES) with ESMTP id EC8AD28008F; Mon, 3 Jul 2017 15:00:28 +0800 (CST)
Received: from ip<> ([]) by App0025 with ESMTP id e5a5a6f9-083f-4d85-8e0e-662eac4dc73c for; Mon Jul 3 15:00:29 2017
0/X-Total-Score: 0:
X-MEDUSA-Status: 0
Date: Mon, 3 Jul 2017 15:00:24 +0800
From: "" <>
To: "Brian E Carpenter" <>, casm <>
References: <>, <>
X-Priority: 3
X-Has-Attach: no
X-Mailer: Foxmail 7, 2, 8, 379[cn]
Mime-Version: 1.0
Message-ID: <>
Content-Type: multipart/alternative; boundary="----=_001_NextPart120408700841_=----"
Archived-At: <>
Subject: Re: [Casm] I-D Action: draft-li-casm-address-pool-management-architecture-00.txt
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Coordinated Address Space Management <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 03 Jul 2017 07:00:42 -0000

hi, Brian,

Thank you for your comments.  See my comments inline. In order to make them clear, I mark them in red.

From: Brian E Carpenter
Date: 2017-06-25 12:57
To:; casm
Subject: Re: [Casm] I-D Action: draft-li-casm-address-pool-management-architecture-00.txt
Sorry, I have been rather busy so did not reply promptly.
See comments in line:
On 17/05/2017 21:30, wrote:
> Hi,Brian,
>        Thank you for your comments, pls see inline for more comments.
> Chongfeng 
> Hi,
> Thanks for this interesting draft.
> First, here is one of the definitions:
>>       CASM Coordinator: A management system which has a centralized
>>       database manage the overall address pools and allocate address
>>       pools to the device in the devices.
> Ther is no need for this database to be centralized or for the allocation of address pools to be centralized. It can be done with a completely distributed system. (I agree that centralized logging might be needed.) In fact, sections 4.2 and 4.3 describe a centralized model for everything, not just for logging.
>  Chongfeng:  Centralized and distributed is a different way of implementation, in the traditional network, usually using a distributed approach, the distributed approach is not excluded, and CASM focus on centralized solutions. In the centralized address resource management architecture, the allocation of address blocks is determined by the CASM Coordinator, which requires the maintenance of allocated, unallocated address block, and therefore requires a database to hold such information. And also, it maintains log information.
> Could we perhaps agree that this is only one possible architecture?
> If so, we would also need a second draft describing a distributed architecture. It's quite hard to cover both designs in one document.
>  Chongfeng:  Yes, as mentioned earlier, centralized is a possible architecture. A typical distributed example is BNG, which assigns addresses to end users. It is a way that has existed for a long time, should not need the standard, right?
That seems to be an area full proprietary solutions, as far as I can see.
The idea of a standardized practice is to allow multivendor solutions.
As far as I know, this isn't described in any IETF documents. Maybe you
have a reference? Whether the carriers in general want that, I don't know.
But if they do want it, it would be a topic for the IETF, I think (in
liason with BBF).

Yes, there is no standard yet. We have a primary reference and have done some field trial based on this reference for nearly 1 year, 3 vendors joined this work.

My assumption is that current distributed BNG solutions depend on a
systematic algorithm for assigning prefix pools to BNGs, from a central

That's the work we are doing now.

With autonomic solutions, we are aiming at complete demand-driven
flexibility in assigning prefixes to edge routers. That process could be
the same for BNGs as for the devices in a Radio Access Network.

 IP address allocation in Radion Access Network is different from what we decribed in CASM in the following aspects.
1\  The resource managmement in CASM is coordinated by a logical centralized server, instead of distrbuted, autonomic one. My understanding is that centralized one will be helpful for carriers to master the overall resource usage.  More imporantly, centralized one will be effective to move the resource from one place to another, as a respone to the change of resource usage.
2\  In the case of BNG, CASM manage and allocate/reallocate address pools for each BNG/vBNG,  in the case of RAN,  address configuration is for the interfaces of each network element in a distributed and autonomic way,  They have different goals and different allocation algorithms as well.

>>    The overall procedure is as follows:
>>    o  Operators will configure remaining address pools centrally in the
>>       Address Pool Management System (APMS).  There are multiple address
>>       pools which can be configured centrally.  The APMS server will
>>       then divide the address pools into addressing unit (AU) which will
>>       be allocated to the agent in devices by default.
> Certainly the NOC will configure initial address pools into a master agent.
> But from that moment, a distributed process can take over in which pools
> (prefixes) will allocated to distributed agents on demand, with no need for default allocations.
> Chongfeng:  In the initial state, CASM Coordinator assign address pools to the Agent in the device. Then, In the process of running, if the Agent's address pool resources have been used up, the Agent need to apply more address blocks; In addition, when the address pool usage is too low, the Agent can release a part of the address blocks to CASM Coordinator.
Yes. That is exactly what will happen in an autonomic solution, except
that all assigments will be drive by demand, with no central action
except to define the initial central pool.

Same to the above, we think the address pools allocation/deallocation in the use case we mentioned should be centralized coordinated, intead of being decided by each network element.  Of course. "centralized" here means logically, not physically, when being implemented in real network, there can be more than one phyiscal coordinators to guarantee the realiability of the whole system.
>>    o  If the lifetime of the address pool is going to expire, the DA
>>       should issue an AddressPoolRenew request to extend the
>>       lifetime,including the IPv4, IPv6, Ports, etc.
> A couple of questions on this.:
> 1. Why is the lifetime useful? Firstly, once an address has been allocated to an end-user, it must be left there as long as necessary; you can't recover an address while it is in active use. That will block the address pool that contains it indefinitely, so what is the value of the lifetime? Secondly, if there is no lifetime, the agent can release the address pool on demand if it is not in use. Again, there is no value in the lifetime that I can see.
> Chongfeng:  For DHCP Server service, lifetime is an important parameter, it need specify Lifetime, for the DHCP server to assign addresses to the end user, control the available time, in addition, when the end user abnormal off-line, DHCP Server need to recycle the address by Lifetime expiration.
Yes, I understand that is necessary at the local level, but why is
it necessary to consider it as a parameter of an address pool
in the data model? It seems like a parameter of the individual
DHCP server, not a parameter of the address itself.

This is based on the assumption that the overall resource quatity is limited, so the reource that has been allocated to any agent will be used within a given time limit, and the coordinator reserve the right to revoke the resoure when the lifetime is over. Of course, the agent can apply for prolong the lifetime of the resource, but whether it is approved will be decided by the coordinator. 
> 2. Is it really useful to include the notion of ports in an address pool? In the case of IPv6 it is definitely useless. In the case of
> IPv4 with A+P (port-based address sharing, RFC6346), surely you never want to share a single address across different agents? That would lead to complex and fragile CASM operations at rather high frequency.
> RFC6346 defines how A+P gateways may talk to each other (horizontally, not north-south) to share an address using A+P. You seem to be duplicating that function. Also, RFC7768 seems to assume that port sharing occurs entirely within a single CGN. So it seems to me that it's wrong to include port ranges in the CASM model.
> (Note: I have no problem with 'port-range' being defined in the CASM YANG model; that seems necessary for completeness. My problem is with using it in network-wide resource management, which doesn't seem reasonable.)
> Chongfeng: As we know, the range of ports is 1 to 65535, but during NAT use, only a portion is available for use, such as 2048 to 65535. I agree with what you said "RFC7768 seems to assume that port compromised by within a single CGN", Here it used in north-south, and used to set the range of ports that NAT can use. Usually, IPv4 and port are used together.
OK, but that is not very clear in the draft.
We will revise this part based on your suggestions.
>>  Address pools
> ...
>>    o  IPv6 addresses
> I suggest dividing this into 'Globally routable' and 'ULA'
>>    o  MAC Addresses
> Can you explain this? Where do layer 2 addresses fit in?
> ...
>>   Multicast address pool:
> This topic needs more discussion.
> Regards
>    Brian
> _______________________________________________
> CASM mailing list