[pcp] How to guarantee the same PCP/AFTR be selected in ip-in-ip anycast deployment

Qiong <bingxuere@gmail.com> Thu, 14 March 2013 22:01 UTC

Return-Path: <bingxuere@gmail.com>
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 B8DD01F0D1A for <pcp@ietfa.amsl.com>; Thu, 14 Mar 2013 15:01:55 -0700 (PDT)
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, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id idvlQmy0-LGO for <pcp@ietfa.amsl.com>; Thu, 14 Mar 2013 15:01:55 -0700 (PDT)
Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) by ietfa.amsl.com (Postfix) with ESMTP id 040D61F0D1E for <pcp@ietf.org>; Thu, 14 Mar 2013 15:01:54 -0700 (PDT)
Received: by mail-ob0-f179.google.com with SMTP id un3so2635710obb.38 for <pcp@ietf.org>; Thu, 14 Mar 2013 15:01:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=LQucqX4BoAKbVKaAG3+ma21UuJrTB8YXC0oUjPjDA/4=; b=NbPS3TXNF6xyB35Y4O/F8CzzEvh/zZlXKIrMtTbmn8M+MAph8o5YgSXJPPT4g0dZaL KTxiekKjObkAsn+y2KU0aTDKye73YqCFmLg0cI29dd6P+zEHNOSwIivcKmT92zsMM+A5 0M8ARqHGFqBBtvvD4weBxabtlow8/Ji32AjSVHBE0WP5AedcoTK5QP1uQusnCSZ5P24/ szO4F0NMQLjENPjJOoiZxKgy63HmK59n+QciyEiOMULmdXDutRe+3XaZdrVU6Z4/Rxa0 9N+t8NfwfBtGV8KML3ScyraZMEg+B0KY3LnP7Q7z/oyO4Zp/N8n22/yqPAjaDhlSivyn OINw==
X-Received: by 10.60.0.194 with SMTP id 2mr1883358oeg.131.1363298514561; Thu, 14 Mar 2013 15:01:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.143.162 with HTTP; Thu, 14 Mar 2013 15:01:14 -0700 (PDT)
From: Qiong <bingxuere@gmail.com>
Date: Fri, 15 Mar 2013 06:01:14 +0800
Message-ID: <CAH3bfACdfxYTXZSPFEtLLKEBWFsqjbRXj6+SvJ32hQNXZq8rug@mail.gmail.com>
To: "pcp@ietf.org" <pcp@ietf.org>
Content-Type: multipart/alternative; boundary="e89a8fb2012aaef44604d7e9ab2f"
Subject: [pcp] How to guarantee the same PCP/AFTR be selected in ip-in-ip anycast deployment
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: Thu, 14 Mar 2013 22:01:55 -0000

Hi all,

I'm aware there was discussion on whether to use native IPv6 or ip-in-ip
for PCP. Sorry to re-open the discussion since  we have encountered real
problems when deploying anycast-based DS-Lite.

In our DS-Lite deployment, different AFTRs will be configured with the same
address to support load-balancing and announced with the same metric into
IGP. PCP server is co-located with AFTR, and there are multiple layer-3
hops between B4 and AFTR.

Currently, most intermediate routers along the path use 5-tuple by default
(source address, destination address, source port, destination port and
protocol) as the hashing index for native IPv6 PCP requests to determine
which PCP server will be selected. However, since the following data
traffic is ip-in-ip, the intermediate routers can not see the encapsulated
port numbers and they can only use 3-tupe (source address, destination
address, protocol) as the hashing index. In this case, there is no
guarantee that the same PCP/AFTR will be selected as the hashing index is
different, and therefore, the mapping will not consistent with different
AFTRs.

I'm hoping to find solutions to address this problem. Should we use
consistent PCP transportation as the following data traffic, e.g. ip-in-ip
in DS-Lite ?

Thanks in advance !

Best wishes
-- 
==============================================
Qiong Sun
China Telecom Beijing Research Institude


Open source code:
lightweight 4over6: *http://sourceforge.net/projects/laft6/*
PCP-natcoord:* http://sourceforge.net/projects/pcpportsetdemo/ *
===============================================