Re: [RAM] How to avoid black-hole in LISP-CONS with aggregation mechanism?

Dino Farinacci <dino@cisco.com> Mon, 27 August 2007 17:46 UTC

Return-path: <ram-bounces@iab.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1IPifE-0003a7-Bf; Mon, 27 Aug 2007 13:46:12 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IPifD-0003ZQ-Ei for ram@iab.org; Mon, 27 Aug 2007 13:46:11 -0400
Received: from sj-iport-5.cisco.com ([171.68.10.87]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IPifC-000824-68 for ram@iab.org; Mon, 27 Aug 2007 13:46:11 -0400
Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-5.cisco.com with ESMTP; 27 Aug 2007 10:46:09 -0700
X-IronPort-AV: i="4.19,312,1183359600"; d="scan'208"; a="172995271:sNHT515845449"
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id l7RHk9CP022439; Mon, 27 Aug 2007 10:46:09 -0700
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id l7RHk9xl014641; Mon, 27 Aug 2007 17:46:09 GMT
Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 27 Aug 2007 10:46:09 -0700
Received: from [192.168.0.3] ([10.21.86.124]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 27 Aug 2007 10:46:08 -0700
In-Reply-To: <000501c7e887$43bd58e0$5e0c6f0a@china.huawei.com>
References: <000501c7e887$43bd58e0$5e0c6f0a@china.huawei.com>
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Type: text/plain; charset="US-ASCII"; delsp="yes"; format="flowed"
Message-Id: <C3B6C15D-A6FC-474A-A55A-FB808BFF43D4@cisco.com>
Content-Transfer-Encoding: 7bit
From: Dino Farinacci <dino@cisco.com>
Subject: Re: [RAM] How to avoid black-hole in LISP-CONS with aggregation mechanism?
Date: Mon, 27 Aug 2007 10:46:09 -0700
To: Xu Xiaohu <xuxh@huawei.com>
X-Mailer: Apple Mail (2.752.3)
X-OriginalArrivalTime: 27 Aug 2007 17:46:08.0748 (UTC) FILETIME=[2658D2C0:01C7E8D2]
DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=2768; t=1188236769; x=1189100769; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dino@cisco.com; z=From:=20Dino=20Farinacci=20<dino@cisco.com> |Subject:=20Re=3A=20[RAM]=20How=20to=20avoid=20black-hole=20in=20LISP-CON S=20with=20aggregation=20mechanism? |Sender:=20; bh=MkoKVfIccKomapF0UeIXLGfCWsxM8XCV3JpTX5+dJO4=; b=VkIuKdJ9Tr7eCnbBoKmBRynWwHFCI7RPoPEX8xD8Wza8vZocC6FgFwH0y2wITd9mEcZJMI/z k1cgbp9B9TP8xehZoE1J8irGBLorRXg2hwIjd0AnKgoErhB1i5UqTwfO;
Authentication-Results: sj-dkim-2; header.From=dino@cisco.com; dkim=pass (si g from cisco.com/sjdkim2002 verified; );
X-Spam-Score: -4.0 (----)
X-Scan-Signature: 244a2fd369eaf00ce6820a760a3de2e8
Cc: ram@iab.org, sbrim@cisco.com, rrg@psg.com
X-BeenThere: ram@iab.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Routing and Addressing Mailing List <ram.iab.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ram>, <mailto:ram-request@iab.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/ram>
List-Post: <mailto:ram@iab.org>
List-Help: <mailto:ram-request@iab.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ram>, <mailto:ram-request@iab.org?subject=subscribe>
Errors-To: ram-bounces@iab.org

> Hi all,
> I have a doubt about how to avoid black-hole in LISP-CONS with  
> aggregation
> mechanism? My doubt is explained as follows:
>                           +---------+   1.0.0.0/8  CDR-1
>                           |  CDR-3  |
>                           +----+---\+   1.1.0.0/16 CDR-2
>                          /          \\
>     Push 1.0.0.0/8  /                    \ Push 1.1.0.0/16
>                //                            \\
>        +----/---+ 1.1.0.0/16 CAR-1           +--\-----+
>        | CDR-1  | 1.2.0.0/16 CAR-2           | CDR-2  | 1.1.0.0/16  
> CAR-3
>        +---+--\-+                            +---+----+
>            |    \\                               |
>            |       \\ Push 1.2.0.0/16            |Push 1.1.0.0/16
>    Push 1.1.0.0/16   \\                          |
>            |            \\                       |
>        +---+----+      +---\------+         +----+----+
>        |  CAR-1 |      |  CAR-2   |         |  CAR-3  |
>        +--------+      +----------+         +---------+
>       1.1.0.0/24         1.2.0.0/24         1.1.2.0/24
>       1.1.1.0/24         1.2.1.0/24         1.1.3.0/24
>
> As shown in the above figure, CAR-1 has two EID-prefixes,  
> 1.1.0.0/24 and
> 1.1.1.0/24, and it sends an aggregated EID-prefix 1.1.0.0/16 to  
> CDR-1. CAR-2
> also sends an aggregated EID-prefix 1.2.0.0/16 to CDR-1. CDR-1  
> sends an
> aggregated EID-prefix 1.0.0.0/8 to its parent CDR, CDR-3.
> CAR-3 has two EID-prefixes, 1.1.2.0/24 and 1.1.3.0/24, and it sends an
> aggregated EID-prefix 1.1.0.0/16 to CDR-2. CDR-2 sends a EID-prefix
> 1.1.0.0/16 to its parent CDR, CDR-3.
> Now CDR-3 has two EID-prefixes, one is 1.0.0.0/8 with a nexthop of  
> CDR-1,
> the other is 1.1.0.0/16 with a nexthop of CDR-2. If CDR-3 receives  
> a mapping
> request for longest-matching entry for 1.1.1.1, it will result in a
> black-hole.
>
> How to avoid it? Use the same aggregation granularity within the  
> same level?
> Or aggregation will not be available until all the component EID- 
> prefixes
> exists in the EID-prefix database of the aggregation attempter?

The diagram has two problems:

1) You are aggregating to the same level (to CDR-3) with different  
mask-lengths.

2) CDR-1 and CDR-2 need to be part of the same CDR-mesh. That is all  
the CARs 1-3
    are authoritative for the same length prefix and hence need to  
advertise to
    the same mesh upstream.

Now having said that, you could have CAR-1 and CAR-3 advertise to the  
same CDR-1 mesh, but since CAR-2 has 1.2 as it's prefix, it could  
advertise into CAR-3 which is a different CDR-mesh. And then both  
CDR-1 and CDR-2 can advertise 1.0.0.0/8 upstream to CDR-3.

Dino

_______________________________________________
RAM mailing list
RAM@iab.org
https://www1.ietf.org/mailman/listinfo/ram