Re: [bess] comment on draft-ietf-bess-ir
Lucy yong <lucy.yong@huawei.com> Wed, 23 September 2015 19:16 UTC
Return-Path: <lucy.yong@huawei.com>
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 078861AC3AB; Wed, 23 Sep 2015 12:16:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fAELYFYLPEeD; Wed, 23 Sep 2015 12:16:09 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 943D71AC39F; Wed, 23 Sep 2015 12:16:08 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml404-hub.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CBQ60381; Wed, 23 Sep 2015 19:16:06 +0000 (GMT)
Received: from DFWEML704-CHM.china.huawei.com (10.193.5.141) by lhreml404-hub.china.huawei.com (10.201.5.218) with Microsoft SMTP Server (TLS) id 14.3.235.1; Wed, 23 Sep 2015 20:16:05 +0100
Received: from DFWEML701-CHM.china.huawei.com ([10.193.5.50]) by dfweml704-chm ([10.193.5.141]) with mapi id 14.03.0235.001; Wed, 23 Sep 2015 12:16:00 -0700
From: Lucy yong <lucy.yong@huawei.com>
To: "Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net>, 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: AQHQ5PL2CCp0RPOPn0WfbtWHCw0C/J4roSwwgB1KyFSAAVaRQIAAfdWA//+LziCAAHdoAP//ivtQgAB3GAD//42BUAAO3wgAAA5/66D//69+AIAAYKJQ///DWwCAAHTeEA==
Date: Wed, 23 Sep 2015 19:15:59 +0000
Message-ID: <2691CE0099834E4A9C5044EEC662BB9D571F71BF@dfweml701-chm>
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> <BLUPR0501MB1715BC1F748922363B412264D4440@BLUPR0501MB1715.namprd05.prod.outlook.com> <2691CE0099834E4A9C5044EEC662BB9D571F5F58@dfweml701-chm> <BLUPR0501MB17151868836B4859ABF776C2D4440@BLUPR0501MB1715.namprd05.prod.outlook.com> <2691CE0099834E4A9C5044EEC662BB9D571F5F8B@dfweml701-chm> <BLUPR0501MB1715A39448879355B5AB52F5D4440@BLUPR0501MB1715.namprd05.prod.outlook.com> <2691CE0099834E4A9C5044EEC662BB9D571F713A@dfweml701-chm> <BLUPR0501MB17159907DBDF231B4F4D32B6D4440@BLUPR0501MB1715.namprd05.prod.outlook.com>
In-Reply-To: <BLUPR0501MB17159907DBDF231B4F4D32B6D4440@BLUPR0501MB1715.namprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.47.153.248]
Content-Type: multipart/alternative; boundary="_000_2691CE0099834E4A9C5044EEC662BB9D571F71BFdfweml701chm_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <http://mailarchive.ietf.org/arch/msg/bess/RZJa02SRUyTwlORwIrTWAHCDJb0>
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 19:16:15 -0000
> [Lucy] In my proposed solution, N3 will send two updates, the first > one with new parent address in RT, the second one is withdraw and have > old patent address in RT. That violates BGP rules. The withdraw will reach N2 as well and be treated as withdraw. [Lucy1] If a node takes an action for a withdraw Leaf A-D route without checking the RT for parenting; the withdraw mechanism does not work. Different PEs may have different parents, one PE sends out a withdraw, MUST NOT result all PEs withdrawing. Lucy Jeffrey > -----Original Message----- > From: Lucy yong [mailto:lucy.yong@huawei.com] > Sent: Wednesday, September 23, 2015 2:25 PM > To: Jeffrey (Zhaohui) Zhang <zzhang@juniper.net<mailto:zzhang@juniper.net>>; Eric Rosen > <erosen@juniper.net<mailto:erosen@juniper.net>>; draft-ietf-bess-ir@ietf.org<mailto:draft-ietf-bess-ir@ietf.org> > Cc: bess@ietf.org<mailto:bess@ietf.org> > Subject: RE: [bess] comment on draft-ietf-bess-ir > > Hi Jeff, > > Please see inline below. > > > > Hi Jeff, > > > > To suppress unnecessary redistribution, a P-tunnel BGP node tracks > > P- tunnel neighbor state. A BGP next hop is one of P-tunnel > > downstream neighbor, upstream neighbor, and N/A. The policy is, if > > the BGP next hop of the UPDATE of Leaf A-D route is the downstream > > neighbor, redistribution the route; if not, no redistribution. > > (there may be other polices) > > Let me skip this for now. Maybe it'll become a moot point, but we can > come back. > > > > > To change the parent, a child sends out the UPDATE of Leaf A-D route > > with new patent address in RT, a BGP node receives the update, check > > the RT on the UPDATE, if RT points to the BGP node, > > updates mcast state; > > end if > > This is the current behavior. > [Lucy] No, it is not. This is only half of the current behavior. > Current solution also requires a node to update mcast state even the > RT does not point to the BGP node (as long as the sender node is the > child of the node). > > > > > > after child timer expires, the child sends out the UPDATE of > > withdraw Leaf A-D route with old patent address in RT, the old > > patent will update the mcast state once receiving the UPDATE. > > My example explains that, N3 can only send one update, with the new RT. > How does the above proposal work in my example setup? > [Lucy] In my proposed solution, N3 will send two updates, the first > one with new parent address in RT, the second one is withdraw and have > old patent address in RT. RR distributes both two N1 and N2. N2 acts > on the first update and become the parent; N1 acts on the second > update and remove this child from mcast state. > > Thanks, > Lucy > > Thanks. > Jeffrey > > > > > > > Lucy > > > > > > > > > > > > -----Original Message----- > > From: Jeffrey (Zhaohui) Zhang [mailto:zzhang@juniper.net] > > Sent: Wednesday, September 23, 2015 9:52 AM > > To: Lucy yong; Eric Rosen; draft-ietf-bess-ir@ietf.org<mailto:draft-ietf-bess-ir@ietf.org> > > Cc: bess@ietf.org<mailto:bess@ietf.org> > > Subject: RE: [bess] comment on draft-ietf-bess-ir > > > > So it's not "BGP session keeps track"; and what's your policy like? > > > > Back to your proposals: > > > > >Two potential optimizations I proposed: > > > 1) suppress unnecessary redistribution; 2) method for child to > > >change > > its patent. > > > > Using the simple example, what's exactly the proposal for 1) and 2)? > > > > Jeffrey > > > > > -----Original Message----- > > > From: Lucy yong [mailto:lucy.yong@huawei.com] > > > Sent: Wednesday, September 23, 2015 10:48 AM > > > To: Jeffrey (Zhaohui) Zhang <zzhang@juniper.net<mailto:zzhang@juniper.net>>; Eric Rosen > > > <erosen@juniper.net<mailto:erosen@juniper.net>>; draft-ietf-bess-ir@ietf.org<mailto:draft-ietf-bess-ir@ietf.org> > > > Cc: bess@ietf.org<mailto:bess@ietf.org> > > > Subject: RE: [bess] comment on draft-ietf-bess-ir > > > > > > Jeff, > > > > > > RR does not change BGP next hop on the update. N1 and N2 can > > > determine > > > P- tunnel neighbor based on BGP next hop. > > > > > > Lucy > > > > > > -----Original Message----- > > > From: Jeffrey (Zhaohui) Zhang [mailto:zzhang@juniper.net] > > > Sent: Wednesday, September 23, 2015 9:36 AM > > > To: Lucy yong; Eric Rosen; draft-ietf-bess-ir@ietf.org<mailto:draft-ietf-bess-ir@ietf.org> > > > Cc: bess@ietf.org<mailto:bess@ietf.org> > > > Subject: RE: [bess] comment on draft-ietf-bess-ir > > > > > > 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<mailto:zzhang@juniper.net>>; Eric Rosen > > > > <erosen@juniper.net<mailto:erosen@juniper.net>>; draft-ietf-bess-ir@ietf.org<mailto:draft-ietf-bess-ir@ietf.org> > > > > Cc: bess@ietf.org<mailto: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<mailto:draft-ietf-bess-ir@ietf.org> > > > > Cc: bess@ietf.org<mailto: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<mailto:zzhang@juniper.net>>; Eric Rosen > > > > > <erosen@juniper.net<mailto:erosen@juniper.net>>; draft-ietf-bess-ir@ietf.org<mailto:draft-ietf-bess-ir@ietf.org> > > > > > Cc: bess@ietf.org<mailto: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<mailto:draft-ietf-bess-ir@ietf.org> > > > > > Cc: bess@ietf.org<mailto: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<mailto:erosen@juniper.net>>; Jeffrey (Zhaohui) Zhang > > > > > > <zzhang@juniper.net<mailto:zzhang@juniper.net>>; draft-ietf-bess-ir@ietf.org<mailto:draft-ietf-bess-ir@ietf.org> > > > > > > Cc: bess@ietf.org<mailto: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 > > > > > > > > > > > >
- [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Jeffrey (Zhaohui) Zhang
- Re: [bess] comment on draft-ietf-bess-ir Jeffrey (Zhaohui) Zhang
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Jeffrey (Zhaohui) Zhang
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Eric C Rosen
- Re: [bess] comment on draft-ietf-bess-ir Jeffrey (Zhaohui) Zhang
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Jeffrey (Zhaohui) Zhang
- Re: [bess] comment on draft-ietf-bess-ir Eric C Rosen
- Re: [bess] comment on draft-ietf-bess-ir Eric C Rosen
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Eric C Rosen
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Jeffrey (Zhaohui) Zhang
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Eric C Rosen
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Jeffrey (Zhaohui) Zhang
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Jeffrey (Zhaohui) Zhang
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Jeffrey (Zhaohui) Zhang
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Jeffrey (Zhaohui) Zhang
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Jeffrey (Zhaohui) Zhang
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Jeffrey (Zhaohui) Zhang
- Re: [bess] comment on draft-ietf-bess-ir Lucy yong
- Re: [bess] comment on draft-ietf-bess-ir Eric C Rosen