Re: [pcp] WG Call for Adoption: draft-tsou-pcp-natcoord-09

Simon Perreault <simon.perreault@viagenie.ca> Mon, 07 January 2013 09:57 UTC

Return-Path: <simon.perreault@viagenie.ca>
X-Original-To: pcp@ietfa.amsl.com
Delivered-To: pcp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B900A21F867D for <pcp@ietfa.amsl.com>; Mon, 7 Jan 2013 01:57:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7uS6967J+NXb for <pcp@ietfa.amsl.com>; Mon, 7 Jan 2013 01:57:20 -0800 (PST)
Received: from jazz.viagenie.ca (jazz.viagenie.ca [IPv6:2620:0:230:8000::2]) by ietfa.amsl.com (Postfix) with ESMTP id E85BD21F865D for <pcp@ietf.org>; Mon, 7 Jan 2013 01:57:15 -0800 (PST)
Received: from porto.nomis80.org (85-169-40-152.rev.numericable.fr [85.169.40.152]) by jazz.viagenie.ca (Postfix) with ESMTPSA id C62B340110 for <pcp@ietf.org>; Mon, 7 Jan 2013 04:57:14 -0500 (EST)
Message-ID: <50EA9BF9.2010302@viagenie.ca>
Date: Mon, 07 Jan 2013 10:57:13 +0100
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: pcp@ietf.org
References: <45A697A8FFD7CF48BCF2BE7E106F06041E9D48@xmb-rcd-x04.cisco.com> <82256834F867D44BBB8E49E40D5448BB065955DC@BL2PRD0510MB386.namprd05.prod.outlook.com>
In-Reply-To: <82256834F867D44BBB8E49E40D5448BB065955DC@BL2PRD0510MB386.namprd05.prod.outlook.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Subject: Re: [pcp] WG Call for Adoption: draft-tsou-pcp-natcoord-09
X-BeenThere: pcp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: PCP wg discussion list <pcp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pcp>, <mailto:pcp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/pcp>
List-Post: <mailto:pcp@ietf.org>
List-Help: <mailto:pcp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pcp>, <mailto:pcp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Jan 2013 09:57:20 -0000

Salut Alain,

Le 2013-01-03 17:39, Alain Durand a écrit :
> 1) This functionality can be achieved very simply on a CPE by sending multiple PCP requests.
>       This would remove the complexity of port set indexes, max port set, etc...

One reason for MAP_PORT_SET is scalability.

- On the PCP client: you don't want to deal with e.g. 2048 MAP requests, 
then 2048 refreshes every X hours, etc.

- On the NAT: it allows allocating one single "set" entry, which may 
very well occupy less state memory than 2048 individual map entries.


Another reason is to get a contiguous chunk. There is no guarantee that 
multiple MAP requests will be able to obtain a contiguous chunk of port 
numbers. Some applications may find this property necessary (e.g. SIP 
clients).

> 2) There are already several DHCP (v4 and v6) options being defined to address this very problem,

No.

The DHCP options solve the very specific problem of provisioning a port 
set to a subscriber, in e.g. the LW4o6 use case.

MAP_PORT_SET is different. The best way to see it is as an extension to 
MAP: it allows to map port sets with PCP instead of single port numbers. 
It is applicable to LW4o6, but also in other use cases: applications 
that need chunks of continuous ports, Reinaldo's firewall use case, etc.

> 3) When asking for multiple of those port-sets, one may end-up with port sets on different
>       external IP addresses.

The MAP opcode has the same concern, and the same answer applies. Let us 
know if you think it should be made clearer in the text.

> Also, when ports are running low, connections may be delayed until a new port set is acquired.

This is up to the PCP client to figure out. The same concern applies to 
the MAP opcode.

Simon
-- 
DTN made easy, lean, and smart --> http://postellation.viagenie.ca
NAT64/DNS64 open-source        --> http://ecdysis.viagenie.ca
STUN/TURN server               --> http://numb.viagenie.ca