Re: [bess] comment on draft-ietf-bess-ir

"Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net> Wed, 23 September 2015 14:35 UTC

Return-Path: <zzhang@juniper.net>
X-Original-To: bess@ietfa.amsl.com
Delivered-To: bess@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D5CBD1A21C0; Wed, 23 Sep 2015 07:35:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 zmxdeMf-PQSJ; Wed, 23 Sep 2015 07:35:35 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0111.outbound.protection.outlook.com [207.46.100.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0ADF21A1BF4; Wed, 23 Sep 2015 07:35:35 -0700 (PDT)
Received: from CY1PR0501MB1100.namprd05.prod.outlook.com (10.160.144.142) by CY1PR0501MB1482.namprd05.prod.outlook.com (10.160.149.143) with Microsoft SMTP Server (TLS) id 15.1.268.17; Wed, 23 Sep 2015 14:35:34 +0000
Received: from BLUPR0501MB1715.namprd05.prod.outlook.com (10.163.120.18) by CY1PR0501MB1100.namprd05.prod.outlook.com (10.160.144.142) with Microsoft SMTP Server (TLS) id 15.1.280.20; Wed, 23 Sep 2015 14:35:32 +0000
Received: from BLUPR0501MB1715.namprd05.prod.outlook.com ([10.163.120.18]) by BLUPR0501MB1715.namprd05.prod.outlook.com ([10.163.120.18]) with mapi id 15.01.0274.009; Wed, 23 Sep 2015 14:35:31 +0000
From: "Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net>
To: Lucy yong <lucy.yong@huawei.com>, Eric Rosen <erosen@juniper.net>, "draft-ietf-bess-ir@ietf.org" <draft-ietf-bess-ir@ietf.org>
Thread-Topic: [bess] comment on draft-ietf-bess-ir
Thread-Index: AdDk3ISJn9nFD8+oSbSr4N7sHOM6gAAAX5GwAAPTMWAAAIGpwAAA5cyAAHISG4ADbdG7gAAKRU8AAC/USQAAK0HyAAAAHtxQAADVq4AAAAVRoAAAK5CAAAAI74A=
Date: Wed, 23 Sep 2015 14:35:30 +0000
Message-ID: <BLUPR0501MB1715BC1F748922363B412264D4440@BLUPR0501MB1715.namprd05.prod.outlook.com>
References: <2691CE0099834E4A9C5044EEC662BB9D571D7792@dfweml701-chm> <BLUPR0501MB1715C4449A20759976E757F5D46A0@BLUPR0501MB1715.namprd05.prod.outlook.com> <2691CE0099834E4A9C5044EEC662BB9D571D78FA@dfweml701-chm> <55E60759.3090502@juniper.net> <2691CE0099834E4A9C5044EEC662BB9D571D85E5@dfweml701-chm> <560007CF.6010206@juniper.net> <2691CE0099834E4A9C5044EEC662BB9D571F4F1E@dfweml701-chm> <56018DB6.2000202@juniper.net> <2691CE0099834E4A9C5044EEC662BB9D571F5EC2@dfweml701-chm> <BLUPR0501MB1715038ECC4C03238112F800D4440@BLUPR0501MB1715.namprd05.prod.outlook.com> <2691CE0099834E4A9C5044EEC662BB9D571F5F19@dfweml701-chm> <BLUPR0501MB1715A058BB9C62D159A23021D4440@BLUPR0501MB1715.namprd05.prod.outlook.com> <2691CE0099834E4A9C5044EEC662BB9D571F5F35@dfweml701-chm>
In-Reply-To: <2691CE0099834E4A9C5044EEC662BB9D571F5F35@dfweml701-chm>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=zzhang@juniper.net;
x-originating-ip: [66.129.241.10]
x-microsoft-exchange-diagnostics: 1; CY1PR0501MB1100; 5:wxTAcglYmTxAlmAmXC6ZrjIW19GBji+G8ZlwbtfEMfaBF09yXhHUjPkaiBc4UFR/smuU4V6Djx9SiIWWtRemC4t+HsQBSrHwFhCVYhEFuItMcnKfasVL7pRR+NwCDPVl5c0MXvFuXbwD6OHX7+XqcQ==; 24:dHjgsS+bOD/eXJ8U573zUXh4CC/lOGyM3lpUSdPCIU2wNq/d9x1Br5lDzfQ/omRCs5jiNbGSq/TiBuMwV0rS1u4tjydTdrBOzFp52eLBt34=; 20:pwD20K2puZScdh4d6aJ42+fQ3638ScMdBBk6NOqh1Ddoy2GJse2bFOGXoxisHRFiCyIwNmPOlvYGYngnCPnZgg==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0501MB1100;
x-microsoft-antispam-prvs: <CY1PR0501MB110095415A377B93F7C1218BD4440@CY1PR0501MB1100.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001); SRVR:CY1PR0501MB1100; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0501MB1100;
x-forefront-prvs: 07083FF734
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(164054003)(199003)(189002)(377454003)(13464003)(54356999)(1941001)(74316001)(33656002)(86362001)(19580405001)(93886004)(230783001)(19580395003)(66066001)(64706001)(2501003)(87936001)(46102003)(50986999)(101416001)(105586002)(99286002)(106356001)(5001960100002)(92566002)(5001920100001)(189998001)(5002640100001)(2950100001)(122556002)(2900100001)(40100003)(10400500002)(5003600100002)(5007970100001)(4001540100001)(81156007)(102836002)(77096005)(68736005)(62966003)(77156002)(5001770100001)(97736004)(76576001)(5001860100001)(5004730100002)(5001830100001)(76176999); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0501MB1100; H:BLUPR0501MB1715.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2015 14:35:30.8903 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0501MB1100
X-Microsoft-Exchange-Diagnostics: 1; CY1PR0501MB1482; 2:HGo/rpvHlxR+if3x5YTsm0vI5WDsnPEhduwRWPYleoxiE7wY+PZvUCTo2t/aP+tm3NuJzt11ZDS5/JjiaEEfdhyh956HtOj7Nu2Nrm5VNjBxRVzusYoM+vRC9tkpQKZqO6ELApR4v+GlH4PvhilgTfu4BTY4UKCPLNtg0Wz/KZ8=; 23:FOL5kxKoZ9Vnz7R0AHxst16bBGJwuXEWhbFvHp4qyI74Pf8fxhE5Dz+N1RW9Dn+0Gcf+0GUc/LQiI8kDoEz+xE0NNvSh4cX3dy3Kp0lfIFbY7mufolaYFkIPMiMhsqD2hpE7NWKDlWanduUJRsq27/t/IlPGjqLCzWO8lI4zuPv0BhBhofPBueegqC1b6P43
X-OriginatorOrg: juniper.net
Archived-At: <http://mailarchive.ietf.org/arch/msg/bess/2IgaXwoHNnKKwq1QO97rufYrfTA>
Cc: "bess@ietf.org" <bess@ietf.org>
Subject: Re: [bess] comment on draft-ietf-bess-ir
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: BGP-Enabled ServiceS working group discussion list <bess.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bess>, <mailto:bess-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bess/>
List-Post: <mailto:bess@ietf.org>
List-Help: <mailto:bess-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bess>, <mailto:bess-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2015 14:35:37 -0000

Lucy, 

Perhaps you can elaborate the following then?

There is no BGP session between N1/N2 and N3. RR does not understand "upstream/downstream" neighbor.
Even on N1/N2/N3, upstream/downstream are wrt different flows. How do you configure such policies?

> > [Lucy] If each BGP session keeps track of P-tunnel neighbor state: 
> > 1) the downstream neighbor, 2) the upstream neighbor, or 3) N/A. A 
> > simple policy can suppress a lot distribution: redistribute a Leaf 
> > A-D route if and only if it is sent by a downstream neighbor. This 
> > ensures that ingress PE receives all the Leaf A-D routes from all the egress PEs.

Jeffrey

> -----Original Message-----
> From: Lucy yong [mailto:lucy.yong@huawei.com]
> Sent: Wednesday, September 23, 2015 10:31 AM
> To: Jeffrey (Zhaohui) Zhang <zzhang@juniper.net>; Eric Rosen
> <erosen@juniper.net>; draft-ietf-bess-ir@ietf.org
> Cc: bess@ietf.org
> Subject: RE: [bess] comment on draft-ietf-bess-ir
> 
> Hi Jeff,
> 
> As I said before, RR always need to distribute Leaf A-D routes.
> 
> Lucy
> 
> -----Original Message-----
> From: Jeffrey (Zhaohui) Zhang [mailto:zzhang@juniper.net]
> Sent: Wednesday, September 23, 2015 9:28 AM
> To: Lucy yong; Eric Rosen; draft-ietf-bess-ir@ietf.org
> Cc: bess@ietf.org
> Subject: RE: [bess] comment on draft-ietf-bess-ir
> 
> Lucy,
> 
> The point is that we rely on BGP distribution mechanism, and we cannot
> expect RRs to do more than basic route distribution.
> 
> Jeffrey
> 
> > -----Original Message-----
> > From: Lucy yong [mailto:lucy.yong@huawei.com]
> > Sent: Wednesday, September 23, 2015 10:26 AM
> > To: Jeffrey (Zhaohui) Zhang <zzhang@juniper.net>; Eric Rosen
> > <erosen@juniper.net>; draft-ietf-bess-ir@ietf.org
> > Cc: bess@ietf.org
> > Subject: RE: [bess] comment on draft-ietf-bess-ir
> >
> > Hi Jeff,
> >
> > We seem across each other. Two potential optimizations I proposed: 1)
> > suppress unnecessary redistribution; 2) method for child to change its
> > patent. I am not clear which one example illustrates. Both need to
> > work with and without RR.
> >
> > -----Original Message-----
> > From: Jeffrey (Zhaohui) Zhang [mailto:zzhang@juniper.net]
> > Sent: Wednesday, September 23, 2015 9:17 AM
> > To: Lucy yong; Eric Rosen; draft-ietf-bess-ir@ietf.org
> > Cc: bess@ietf.org
> > Subject: RE: [bess] comment on draft-ietf-bess-ir
> >
> > Lucy,
> >
> > Let's use this example to illustrate the points we tried to get through:
> >
> >         N1        N2
> >           \      /
> >            \    /
> >              RR
> >               |
> >               |
> >              N3
> >
> >
> > N3 originates a Leaf AD route. Originally the parent is N1 so the Leaf
> > AD route has RT(N1). Then the parent changes to N2 so N3 sends an
> > update with new RT(N2). There is no withdraw from N3 at all.
> >
> > The route and its update is sent by N3 to only the RR.
> >
> > If Constraint Route Distribution (RFC 4684) is used, only N1 will get
> > the initial route, and when N3 sends the update, RR will withdraw it
> > from N1 and send the route to N2.
> >
> > If that is not used, then both N1 and N2 will get the original route
> > and the update. Because the RT(N2) in the update does not match N1, N1
> > will treat the update as an implicit withdraw.
> >
> > So, in the first case, N1 will get the withdraw that is controlled by
> > the RR, which only follows BGP route distribution process and does not
> > understand MVPN/IR rules at all. In the second case, there is no
> > explicit withdraw at all. In both cases, N3 only sends an update.
> >
> > Jeffrey
> >
> >
> > > -----Original Message-----
> > > From: Lucy yong [mailto:lucy.yong@huawei.com]
> > > Sent: Wednesday, September 23, 2015 9:58 AM
> > > To: Eric Rosen <erosen@juniper.net>; Jeffrey (Zhaohui) Zhang
> > > <zzhang@juniper.net>; draft-ietf-bess-ir@ietf.org
> > > Cc: bess@ietf.org
> > > Subject: RE: [bess] comment on draft-ietf-bess-ir
> > >
> > > Hi Eric,
> > >
> > > When non-segmented ingress replication is used, the ingress PE needs
> > > to see the Leaf A-D routes from all the egress PEs.  (The ingress PE
> > > is the upstream parent in this case, even if the ingress PE is not a
> > > BGP peer of the egress PEs.)  This means that the RT on the Leaf A-D
> > > routes needs to identify the ingress PE.  However, the Leaf A-D
> > > routes may need to travel over multiple BGP sessions before they
> > > reach the
> > ingress PE.
> > > Some of these BGP sessions may be IBGP sessions, some may be EBGP
> > sessions.
> > > It's rather important that the route not get discarded before it
> > > reaches the ingress PE, even though it passes through multiple BGP
> > > speakers.  If one wants to constrain the distribution of the routes,
> > > one still has to guarantee that the routes will reach their targets.
> > >
> > >
> > > [Lucy] If each BGP session keeps track of P-tunnel neighbor state:
> > > 1) the downstream neighbor, 2) the upstream neighbor, or 3) N/A. A
> > > simple policy can suppress a lot distribution: redistribute a Leaf
> > > A-D route if and only if it is sent by a downstream neighbor. This
> > > ensures that ingress PE receives all the Leaf A-D routes from all the
> egress PEs.
> > >
> > > Thanks,
> > > Lucy
> > >
> > >