RE: Questions/comments about draft-dunbar-6man-5g-edge-compute-sticky-service
Linda Dunbar <linda.dunbar@futurewei.com> Sun, 28 March 2021 02:45 UTC
Return-Path: <linda.dunbar@futurewei.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 54F243A0FC3 for <ipv6@ietfa.amsl.com>; Sat, 27 Mar 2021 19:45:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.089
X-Spam-Level:
X-Spam-Status: No, score=-2.089 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=futurewei.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 jtQvUBO2m_9v for <ipv6@ietfa.amsl.com>; Sat, 27 Mar 2021 19:44:55 -0700 (PDT)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-eopbgr760099.outbound.protection.outlook.com [40.107.76.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D9D23A0FBF for <ipv6@ietf.org>; Sat, 27 Mar 2021 19:44:54 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hts3CeY6ClNVKNAWLT8hwkQG6abqaJS+9BpEOF2Kz3eT1kXPevJrYlOX9rVBXl5xmxZ8MB1CVdzTl6Chbj58NZZz8BzsBXDyhwZatCFfZqb4bWnmYP3FSWN8OBBBSiPIUG1Q102IqsAAYvFKCQ+1VkVTYAkVLntgcO0beaT9+o0riW+ukAIAHgxC9TgTP03448rbCm7VtSk1eGLR8zBjwyd3dtM5eGTfkHvaMsUBBIlsuJPC1SfGjMkmJnxLTvNSHwZbJuOZx1zeTjU8sgHhPpbNR66OnOp3HWs8jgiONj1OFH0kk1oycgvyfUjga3spLsRzAmdSQ0mn5j5N7w2jCg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KwdGi79dE3WozZ/h99pMjxfHlr38dVjenjIf+TIb4hM=; b=HRkxMYBRarW4x4Rmzgmz6Jcx0C0upHr46v+L0tmsmGKkJmgqOP40jlh3l8h8cfCkdSFzE/Qp61Rc2N3eN5VLdAHjRbflUfnjbJ/tkKV5enx7MosTeaBI2kWThd+FZelxU4PQculpwEyyHmKXcNGjawRw0MYJ8UY7GlX/qFMyYxqGi/JVra9mNOcikTr+NCBDQEX2mChjZm0zFQgeLVXkUllOfrCouoKaQcUAjWDZ6LfGDaBlThZgJQr6Z/nUOqcFmHYm34itnFm9RDMHGg5Ydy/xetc6+QUapf0xqgwrC+Ldr2YTI+Z9qSK5IcLego4GZCnIa2EuO0sLkrdroC3tVA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=futurewei.com; dmarc=pass action=none header.from=futurewei.com; dkim=pass header.d=futurewei.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Futurewei.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KwdGi79dE3WozZ/h99pMjxfHlr38dVjenjIf+TIb4hM=; b=MTkV3T/5+C/blD1rhY2npB78BfEChlSUGyAf4DOVjtDRVoB+MBw/yJy6xW0kHPLfb02KEp0dxyN8frXuowjPRYLtySj+ljxQAoyeCHxrV9PmNe2e6QflfeNfw8LcxdFPrpNS7R5ce7OozA8fy+Ntrq8Rfn0HPhB7cFHIs20b7ks=
Received: from SN6PR13MB2334.namprd13.prod.outlook.com (2603:10b6:805:55::16) by SN6PR13MB2429.namprd13.prod.outlook.com (2603:10b6:805:53::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.17; Sun, 28 Mar 2021 02:44:51 +0000
Received: from SN6PR13MB2334.namprd13.prod.outlook.com ([fe80::3050:546b:c47:a42a]) by SN6PR13MB2334.namprd13.prod.outlook.com ([fe80::3050:546b:c47:a42a%6]) with mapi id 15.20.3999.016; Sun, 28 Mar 2021 02:44:50 +0000
From: Linda Dunbar <linda.dunbar@futurewei.com>
To: "Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net>, Kaippallimalil John <john.kaippallimalil@futurewei.com>, 'IPv6 List' <ipv6@ietf.org>
Subject: RE: Questions/comments about draft-dunbar-6man-5g-edge-compute-sticky-service
Thread-Topic: Questions/comments about draft-dunbar-6man-5g-edge-compute-sticky-service
Thread-Index: AdciSsNyEeeG0fk2Tl2oPdOa//JdzQBK/mXg
Date: Sun, 28 Mar 2021 02:44:50 +0000
Message-ID: <SN6PR13MB2334D7BBB6DA0970FDFF03CA857F9@SN6PR13MB2334.namprd13.prod.outlook.com>
References: <MN2PR05MB598167E0FA4AB8C4DA1B1500D4619@MN2PR05MB5981.namprd05.prod.outlook.com>
In-Reply-To: <MN2PR05MB598167E0FA4AB8C4DA1B1500D4619@MN2PR05MB5981.namprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ActionId=6ff907fc-dbf6-4223-a695-8f05abb0ae6a; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=0; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=true; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Method=Standard; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=0633b888-ae0d-4341-a75f-06e04137d755; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2021-03-11T22:16:05Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4;
authentication-results: juniper.net; dkim=none (message not signed) header.d=none;juniper.net; dmarc=none action=none header.from=futurewei.com;
x-originating-ip: [72.180.73.64]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ddf4e6de-1926-4861-7c71-08d8f1937591
x-ms-traffictypediagnostic: SN6PR13MB2429:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <SN6PR13MB24299C4C647E6859F17FCE38857F9@SN6PR13MB2429.namprd13.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: IDJRUcLEDXL4tSlrorg4Rtwm0YUvJTDXbbPk7+cV7R4TxbvV6ScOJH07Y7BSorPNX9OszaVehvoqNXSQZ8FcwFj3TIk22eO4UxYIn4ml3H6sC8mNsuWDypEGUjmpxLcP25CkZVK2w8242KpqdYTi7F55WYm7/4EhjCBctPyaYst3TvfNFLiyGxsI8jCat2sRpXPl+7GveboGp7LUaNt5pil4usmWr9yEmaNyyEA1G9oVLWvbyyXcxwW3nqaBTBgEGfYgIECitiqLtW6RXYLcx8fK96Ftj3+XiZjNibzehgPNA9bMpg3cv88dFAnLZ2Z6MTVhAYCcvEhZ0Z/8byV8ad8E073pa2+tM63LhwuS1ZIkJ9mLW5Dh+V4EG9aGm5ZtNtdeT9x7zJ8u799y+6fY773fPGsIxeRWSrWdg1j/0ZO9AlLPxWyugsWdjxU3XunBEimYVJHsTlup8SRDd/pWFd0VU+JDkw1vF5vwMAj8V7NP9sDAIUTstFq3fUTjvRTxETPcbVfv6RbZZgw/HaJDQvGrTz2kl9dZKRYq8rEb8RrWJORHFXhY/ecn+g/9B09SS74xLXsblRbGfjY/Fe6zlGtOk32qySdyg6+mIJ1keCx3KhY4g/wN1887rQD452PcsEyeTdIOHmWfR6MajanJpPOMc7GCpyQ1rk3e+0jPWfk=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR13MB2334.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(346002)(376002)(136003)(39830400003)(30864003)(478600001)(33656002)(6506007)(66574015)(66476007)(64756008)(66556008)(76116006)(66446008)(316002)(66946007)(83380400001)(2906002)(86362001)(7696005)(5660300002)(44832011)(38100700001)(110136005)(55016002)(71200400001)(8676002)(8936002)(9686003)(186003)(52536014)(53546011)(26005); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: AqFO/ATapkd496ImFl7kUe+nFl+VESVefHcgDhjnZo8lMNOW44knjqXdKKUO01erQ07F8/JNd7Hdnih8mplUSZV9UndGdGluvGx4rsPmnTKKPsadSBsrayQVrRZNzEFKqVuSMcW/TYX6G9O6IK2XUu8S9p6EOeAHGX8rf6+wuqsR7HQ0tIBFUldt8Ws5jA6CEMyjt2WNzPNakGG6mqjxOR+IHShafl8GIN5Bo477JiJw9Q2G+eYdGuzZ9Si1qGV6qOWbaLAkbbfzMAIHO15mqwU0TLLg3dxW21UksdK4WFMjm4vaWHVmHRz6M5v9qjerxtLQCJjZpjXUUY1bvT3hg4MpWuj40OzQAXwdoIlcBBsfjoe5VX7uW6tq8sz4VcZYVHo3oAdH+TPqsPxj0pGA0ihMq1I5wdjC46/8etomTEqaFaFND/FDVM3Ze72x8gf07g1IRb9YSeLnWPvl5OqOOUjOeyLsTItwlJSAxMsHx3XtnZUfGtpe4av9YDdxPcZQMk8OTqY8F6lhE9TpyZ1sBaB8KD6k+b5EaCrQ9DsABZhvsR3HqPkFkEfIFhVTNKVVxL1zDd4/6ZfJf77894of/DkFgr7caasmkzrJVauaO+2M5QDrvf400lb/GphiroUS7uDunAoStqY4qrjwIYih4CxgXWSmMEqmm/Du0b3CP76Rhvs+BvHb+t5fQsVdJBcIGEfWcOSYGyzG/6ZwRTTY27LIlHNzGE0RBo8qoKHhGioGLdN/JtoOCl6fxA3rzR9zJHEZvHa4YAKrKdAsWhnF45UtFfnpj/DH5GOMgmZuhmF+347AoTOFLc4hwJDtvYALDW1v3POviyl6R/myavuD1Mogir0DcjAEVGYzo8GjXBMr8Fp0VvAIGY4P1IbSecu7cuKFxEEsjKjMTOf/C3Zmud0t+XIBfsKyKjcl4mwHVnpCSLs99ks/4mvyd15acOHVTXs6wNlYjJcG2yHOlEyY3/L0jBe7DIsR+caxy8Zo7QobT8IOwQwjYJAetB1oLbZlvC06JwSrZHDlYxsi1HfLk7Y0w3awXseGUzEQ71/AG1POeYyBlndbNXi7xDTE+cEvHRJm7+pu1xT8EWLWnpzjyGV+iyOgB//jpXP/UK10Pva87Nuq8jWo1N6Mug1TE2vTbbR64WEvcycG07no4J2U/6znvcBYiCKVWkb5UpaSiItv+x31kdNLRNgCPtEPtfdha7/hL48ieR0IoM5xXTl/FmEq9+iyQzyFbnOhEpn/4SCGrJ3tKxhksWsDGw5kRUqO1CaudcKsWZlPxAn7Un+wEUIDzBCill2Esy/+nZuiZXc=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SN6PR13MB2334.namprd13.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ddf4e6de-1926-4861-7c71-08d8f1937591
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2021 02:44:50.6901 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0fee8ff2-a3b2-4018-9c75-3a1d5591fedc
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Dm3Rg3R+aONieXbzPGwnOHV81o0BLYcygsriv0izClzgo0rX+QXOtMDNENRLUPzNMaqYrsj16IchFbwIcg1Rbw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR13MB2429
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/Dh_RJdnpQj9mtCnxDJVtWk3x7D0>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2021 02:45:00 -0000
Jeffrey,
Thank you very much for the constructive comments.
Replies are inserted below:
-----Original Message-----
From: Jeffrey (Zhaohui) Zhang <zzhang@juniper.net>
Sent: Friday, March 26, 2021 3:59 PM
To: Linda Dunbar <linda.dunbar@futurewei.com>; Kaippallimalil John <john.kaippallimalil@futurewei.com>; 'IPv6 List' <ipv6@ietf.org>
Subject: Questions/comments about draft-dunbar-6man-5g-edge-compute-sticky-service
Hi Linda, John,
When a UE (User Equipment) initiates application packets using the
destination address from a DNS reply or from its own cache, the
packets from the UE are carried in a PDU session through 5G Core
[5GC] to the 5G UPF-PSA (User Plan Function - PDU Session Anchor).
The UPF-PSA decapsulate the 5G GTP outer header and forwards the
packets from the UEs to the Ingress router of the Edge Computing (EC)
Local Data Network (LDN). The LDN for 5G EC, which is the IP Networks
from 5GC perspective, is responsible for forwarding the packets to
the intended destinations.
A nit comment about "5G Core" above. When I first started learning 4G/5G It took me a while to realize the 3GPP "core network" concept in vastly different from what IETF people are used to. It's not about topology and now the "core network" functions are being more and more distributed into edges. Therefore, in this context it may be better to simply strike the "through 5G Core [5GC]" wording to reduce the confusion to some readers.
[Linda] That is very true. Removed the term per your suggestion. 5G Core refers to all the functions from Radio to UPF.
1.3. Problem #1: ANYCAST in 5G EC Environment
Increasingly, ANYCAST is used extensively by various application
providers and CDNs because it is possible to dynamically load balance
across multiple locations of the same address based on network
conditions. BGP is an integral part in the way IP anycast usually
functions. Within BGP routing there are multiple routes for the same
IP address which are pointing to different locations.
Not only BGP - but all IP routing protocols should work well with anycast. My understanding is that BGP being integral part here is really that the data network here is likely realized by VPNs over the same transport network. Is that a correct understanding?
[Linda] ANYCAST has traditionally been used for servers or loader balancers that are placed in geographically diverse locations, so that BGP alone is enough for the traffic in one region to be forwarded to one server. But for the 5G Edge Computing where multiple Servers/load Balancers with the same ANYCAST addresses are placed close proximity, IGP is needed.
Of course, BGP does have flexibility in providing better/more control of route selection than IGP does in the context of the companion draft-dunbar-idr-5g-edge-compute-app-meta-data.
[Linda] Correct.
But, having multiple locations for the same ANYCAST address in 5G
Edge Computing environment can be problematic because all those edge
computing Data Centers can be close in proximity. There might not be
any difference in the routing cost to reach the Application Servers
in different Edge DCs. Same routing cost to multiple ANYCAST
locations can cause packets from one flow to be forwarded to
different locations, which can cause service glitches.
As pointed out later in this same document, modern routers support "Flow Affinity" and should not cause packets of a flow on a specific router to be forwarded to different locations. The real problem is when a UE moves to a different location, the new router at that location may send it to a different egress router. However, that is the "sticky service" problem described in 1.4.
[Linda] Correct.
From draft-dunbar-idr-5g-edge-compute-app-meta-data, I understand that on a specific router it needs to choose a location that can best serve an application based on some non-routing factors. If 1.3 is really for that purpose, it should be reworded accordingly. As I mentioned in an earlier email, the two documents should better align on the problem descriptions.
Here is the overview of the End-Node based Sticky Service solution:
- Each ANYCAST Edge Computing server either learns or is informed
of the unicast Sticky Egress address (Section 3). The goal of
the network is to deliver packets belonging to one flow to the
same Sticky Egress address for the ANYCAST address. Section 4.1
describes how Edge Computing Servers discover their
corresponding Sticky Egress unicast addresses.
- When an Edge Computing server sends data packets to a UE (or
client), it inserts the Sticky-Dst-SubTLV (described in Section
4.2) into the packets' Destination Option Header.
- UE (or client) needs to copy the Destination Option Header from
the received packet to the next packet's Destination Header if
the next packet belongs to the same flow as the previous packet.
I was really confused by "next packet". I finally realized you may be referring to response packets from the UE to the server, and the "same flow" should be "same service". Better wording is needed here.
- If the following conditions are true, the ingress router
encapsulates the packet from the UE in a tunnel whose outer
destination address is set to the Sticky Egress Address
extracted from the packet's Sticky-Dst-SubTLV:
o The destination of the packet from the UE side matches
with one of the Sticky Service ACLs configured on the
ingress router of the LDN,
o the packet header has the Destination Option present with
Sticky-Dst-SubTLV.
Wouldn't it be better for the UE to put in an SRH with one SID for the server address and set the DA to be the egress router address? That way you don't need the ACL or the DOH (the Sticky-Dst-SubTLV information in the DOH is not for consumption by the server anyway), and you don't even need tunneling or BGP (unless VPN is used - but that's orthogonal to this). Existing SRv6 function takes care of it.
[Linda] 3GPP has rejected using SRH in the 5G Core. We can think about using them in the N6 interface.
Also, the Sticky-Dst-SubTLV in DOH of the server->UE traffic would be better renamed as "return waypoint" for more generic purpose.
[Linda] that is interesting suggestion.
4.1. Sticky Egress Address Discovery
To an App server with ANYCAST address, the Sticky Egress address is
same as its default Gateway address.
To prevent malicious UEs (or clients) sending DDOS attacks to routers
within 5G EC LDN, e.g. the Sticky Egress address that is encoded in
the Destination option header in the packets sent back to the UEs (or
clients), a proxy Sticky Egress address can be encoded in the
Destination option header. The proxy Sticky Egress address is only
recognizable by the 5G EC LDN ingress nodes, i.e. the Ra and Rb in
the Figure 1, but not routable in other networks. The LDN ingress
routers can translate the proxy Sticky Egress to a routable address
for the Sticky Egress node after the source addresses of the packets
are authenticated.
Why is the 4.1 title called "... discovery"? Does not seem to be about "discovery".
[Linda] it is about remembering which Egress router was used for the flow. Should it be "Sticky Egress Memory"?
4.3. Expected behavior at the UE
...
Section 4 describes the network layer processing if UEs do not
perform the steps described here.
Should be "Section 5".
[Linda] Thank you.
5. Tunnel based Sticky Service Solutions 5.1. Ingress and Egress Routers Processing Behavior
The solution assumes that both ingress routers and egress routers
support at least one type of tunnel and are configured with ACLs to
filter out packets whose destination or source addresses match with
the Sticky Service Identifier. The solution also assumes there are
only limited number of Sticky Services to be supported.
An ingress router needs to build a Sticky-Service-Table, with the
minimum following attributes. The Sticky-Service-Table is initialized
to be empty.
- Sticky Service ID
- Flow Label
- Sticky Egress address
- Timer
Editor's Note:
When a UE moves from one 5G Site to another, the same UE will have
a new IP address. "Flow Label + Sticky Service ID" stays the same
when a UE is anchored to a new PSA. Therefore, this solution use
"Flow Label + Sticky Service ID" to identify a sticky flow. Since
the chance of different UEs sending packets to the same ANYCAST
address using the same Flow Label is very low, it is with high
probability that "Flow Label + Sticky Service ID" can uniquely
identify a flow. When multiple UEs using the same Flow Label
sending packets to the same ANYCAST address, the solution described
in this section will stick the flows to the same ANYCAST server
attached to the Sticky Egress router. This behavior doesn't cause
any harm.
It seems that the same flow label is used for traffic of the same service in both directions. So who will assign the flow label?
[Linda] The "flow label" from the IPv6 header should be managed by the hosts & servers.
If two UEs of the same service happen to use the same flow label, then sticky service is not guaranteed. For example, initially they're anchored at different UPFs, and UE1 traffic is sent to egress router 1 while UE2 traffic is sent to egress router 2. When UE 1 relocates to the same UPF as UE 2's, its traffic will be sent to egress node 2 because the same flow label is used.
Therefore, there should be a central controller to assign flow labels based on UE id, and the UE id is not based on IP address (since it could change).
[Linda] Since the "Flow Label" is randomly generated (by Host OS), the chance of two UEs reaching the same service having the same Flow Label is very small. We can explore the option of getting the Control Plane involved.
Note: since there are only small number of Sticky services, the
Sticky-Service-Table is not very large.
With the above understanding, the table could get large?
[Linda]?
When an ingress router receives a packet from a UE matching with one
of the Sticky Service ACLs and there is no entry in the Sticky-
Service-Table matching the Flow Label and the Sticky Service ID, the
ingress router considers the packet to be the first packet of the
flow. There is no need to sticking the packet to any location. The
ingress router uses its own algorithm to select the optimal egress
node as the Sticky Egress address for the ANYCAST address,
encapsulates the packet with a tunnel that is supported by the egress
node. The tunnel's destination address is set to the egress node
address.
If a UE was using egress router 1 and it relocates to a new UPF, the new ingress router will likely have no corresponding entry for it? What if the new ingress router pick egress router 2?
It seems that the ingress routers need to pre-exchange entries in the table?
I see it's discussed later that the routers do exchange the information. It should be mentioned up front when the table is introduced.
[Linda] Would Adding a reference be enough?
When an ingress router receives a packet in a tunnel from any egress
router and the packet's source address matches with a Sticky Service
ID, the egress router address is set as the Sticky Egress address for
the Sticky Service ID. The ingress router adds the entry of "Sticky-
Service-ID + Flow Label + the associated Sticky Egress address +
Timer" to the Sticky-Service-Table if the entry doesn't exist yet in
the table. If the entry exists, the ingress router refreshes the
Timer of the entry in the table.
When the ingress router receives the subsequent packets of a flow
from the 5G side matching with an Sticky Service ID and the Sticky-
Service ID exists in the Sticky-Service-Table, the ingress router
uses the Sticky Egress address found in the Sticky-Service-Table to
encapsulate the packet and refresh the Timer of the entry. If the
Sticky-Service ID doesn't exist in the table, the ingress router
considers the packet as the first packet of a flow.
The above is what leads me to believe that the flow label is the same in both directions.
[Linda] they don't have to be the same, do they?
5.3. Scenario 2: With communication with 5G system
...
The ingress and egress router processing are the same as described in
Section 5.1 except a flow is now uniquely identified by the "Sticky
Service ID" + "UE address" instead of "Sticky Service ID" + "Flow
Label".
This confirms my earlier understanding for scenario 1 that "there should be a central controller to assign flow labels based on UE id, and the UE id is not based on IP address (since it could change)" and that the table could get large.
Of course now for scenario 2, you're not using the flow label any more. While the table only contains entries that this ingress router actually need, the following are still true:
- The table could still get large (if the number of attached UEs for the sticky services is large)
- On demand fetching of the table entry may not be fast enough
Additionally, instead of "scenario", "option" or "solution" would be a better wording.
[Linda] Good suggestion!
More importantly, this stateful flow steering based on the additional table is just too heavy and complicated. Why not simply have the UEs support SRH so that traffic will be routed via the desired egress router using standard SRv6 mechanism?
[Linda] It is not realistic for UEs (your smart phone) to support SRH.
Jeffrey
-----Original Message-----
From: Jeffrey (Zhaohui) Zhang
Sent: Thursday, March 25, 2021 3:46 PM
To: Linda Dunbar <linda.dunbar@futurewei.com>; Kaippallimalil John <john.kaippallimalil@FUTUREWEI.COM>; IPv6 List <ipv6@ietf.org>; idr@ietf. org <idr@ietf.org>
Subject: questions about draft-dunbar-idr-5g-edge-compute-app-meta-data and draft-dunbar-6man-5g-edge-compute-sticky-service
Hi Linda, John,
I have the following questions.
The two related drafts listed the following three problems respectively:
1.3. Problem#1: ANYCAST in 5G EC Environment.............. 6
1.4. Problem #2: Unbalanced Anycast Distribution due to UE Mobility.................................................. 7
1.5. Problem 3: Application Server Relocation............. 7
1.2. Problem #1: ANYCAST in 5G EC Environment.............. 4
1.3. Problem #2: sticking to original App Server........... 5
1.4. Problem #3: Application Server Relocation............. 5
Why is problem #2 different in the two drafts? Is it true that none of the two drafts address problem #3?
The idr draft talk about "soft anchoring" problem and solution - how is that different from the "sticky service"?
Thanks.
Jeffrey
Juniper Business Use Only
- Questions/comments about draft-dunbar-6man-5g-edg… Jeffrey (Zhaohui) Zhang
- RE: Questions/comments about draft-dunbar-6man-5g… Linda Dunbar
- RE: Questions/comments about draft-dunbar-6man-5g… Jeffrey (Zhaohui) Zhang
- RE: Questions/comments about draft-dunbar-6man-5g… Linda Dunbar
- RE: Questions/comments about draft-dunbar-6man-5g… Vasilenko Eduard
- RE: Questions/comments about draft-dunbar-6man-5g… Linda Dunbar
- RE: Questions/comments about draft-dunbar-6man-5g… Jeffrey (Zhaohui) Zhang
- RE: Questions/comments about draft-dunbar-6man-5g… Jeffrey (Zhaohui) Zhang
- RE: Questions/comments about draft-dunbar-6man-5g… Linda Dunbar
- RE: Questions/comments about draft-dunbar-6man-5g… Jeffrey (Zhaohui) Zhang
- RE: Questions/comments about draft-dunbar-6man-5g… Linda Dunbar
- Re: Questions/comments about draft-dunbar-6man-5g… Joel M. Halpern
- RE: Questions/comments about draft-dunbar-6man-5g… Linda Dunbar
- Re: Questions/comments about draft-dunbar-6man-5g… Joel M. Halpern
- RE: Questions/comments about draft-dunbar-6man-5g… Linda Dunbar
- Re: Questions/comments about draft-dunbar-6man-5g… Joel Halpern Direct
- RE: Questions/comments about draft-dunbar-6man-5g… Jeffrey (Zhaohui) Zhang
- Re: Questions/comments about draft-dunbar-6man-5g… Mark Smith
- RE: Questions/comments about draft-dunbar-6man-5g… Jeffrey (Zhaohui) Zhang
- RE: Questions/comments about draft-dunbar-6man-5g… Linda Dunbar
- RE: Questions/comments about draft-dunbar-6man-5g… Linda Dunbar
- Re: Questions/comments about draft-dunbar-6man-5g… Joel M. Halpern
- RE: Questions/comments about draft-dunbar-6man-5g… Linda Dunbar
- RE: Questions/comments about draft-dunbar-6man-5g… Linda Dunbar