[pcp] A question: How can an internal client get the external IP and port of the inner NAT

Chenguohai <chenguohai@huawei.com> Fri, 23 October 2015 03:24 UTC

Return-Path: <chenguohai@huawei.com>
X-Original-To: pcp@ietfa.amsl.com
Delivered-To: pcp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com []) by ietfa.amsl.com (Postfix) with ESMTP id 07A671B317A for <pcp@ietfa.amsl.com>; Thu, 22 Oct 2015 20:24:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.229
X-Spam-Status: No, score=-3.229 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_FONT_FACE_BAD=0.981, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id oy9zpuhP0C5Q for <pcp@ietfa.amsl.com>; Thu, 22 Oct 2015 20:24:44 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com []) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D2D7F1B3178 for <pcp@ietf.org>; Thu, 22 Oct 2015 20:24:43 -0700 (PDT)
Received: from (EHLO lhreml403-hub.china.huawei.com) ([]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CCX60866; Fri, 23 Oct 2015 03:24:40 +0000 (GMT)
Received: from NKGEML401-HUB.china.huawei.com ( by lhreml403-hub.china.huawei.com ( with Microsoft SMTP Server (TLS) id; Fri, 23 Oct 2015 04:24:38 +0100
Received: from NKGEML501-MBS.china.huawei.com ([]) by nkgeml401-hub.china.huawei.com ([]) with mapi id 14.03.0235.001; Fri, 23 Oct 2015 11:24:36 +0800
From: Chenguohai <chenguohai@huawei.com>
To: "pcp@ietf.org" <pcp@ietf.org>
Thread-Topic: A question: How can an internal client get the external IP and port of the inner NAT
Thread-Index: AdENQgO0o5f3QU2SQYalyNeSBNnN3A==
Date: Fri, 23 Oct 2015 03:24:35 +0000
Message-ID: <70006713F8B28D4F88E17B98E1459AB5A3B8B47A@nkgeml501-mbs.china.huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
x-originating-ip: []
Content-Type: multipart/alternative; boundary="_000_70006713F8B28D4F88E17B98E1459AB5A3B8B47Ankgeml501mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <http://mailarchive.ietf.org/arch/msg/pcp/QyIwdSrVwKhPvPe7Cji6splP4u0>
Cc: ChenGuohai <chenguohai67@outlook.com>
Subject: [pcp] A question: How can an internal client get the external IP and port of the inner NAT
X-BeenThere: pcp@ietf.org
X-Mailman-Version: 2.1.15
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 23 Oct 2015 03:24:47 -0000

Hi all,
I am new to PCP and reading RFC6887.I have a question about section 8.1. On the upper part of page 22 writing following,
the PCP-controlled NAT creating pointless non-functional mappings.
   When such an intervening non-PCP-aware inner NAT is detected,
   mappings must first be created by some other means in the inner NAT,
   before mappings can be usefully created in the outer PCP-controlled
   NAT.  Having created mappings in the inner NAT by some other means,
   the PCP client should then use the inner NAT’s external address as
   the client IP address, to signal to the outer PCP-controlled NAT that
   the client is aware of the inner NAT, and has taken steps to create
   mappings in it by some other means, so that mappings created in the
   outer NAT will not be a pointless waste of resources.

My question is that how an interal client could get the external IP and port of the inner NAT.
Should there be server between the inner NAT and the external one? How could it be assured that the inner NAT does not change external port?

G.Robert  Chen
G.Robert  Chen (Chen Guohai  陈国海). Network Research Department, Huawei Technologies Co., Ltd. Telephone: 0086-25-56624606;   http://www.huawei.com
This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the  information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!