Re: [lisp] LISP EID Block Size

Luigi Iannone <ggx@gigix.net> Sun, 03 November 2013 22:43 UTC

Return-Path: <ggx@gigix.net>
X-Original-To: lisp@ietfa.amsl.com
Delivered-To: lisp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE68B21E80F9 for <lisp@ietfa.amsl.com>; Sun, 3 Nov 2013 14:43:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 6vBGSd4+U3Hi for <lisp@ietfa.amsl.com>; Sun, 3 Nov 2013 14:43:49 -0800 (PST)
Received: from mail-bk0-f42.google.com (mail-bk0-f42.google.com [209.85.214.42]) by ietfa.amsl.com (Postfix) with ESMTP id 9D42411E8199 for <lisp@ietf.org>; Sun, 3 Nov 2013 14:43:49 -0800 (PST)
Received: by mail-bk0-f42.google.com with SMTP id w16so292552bkz.29 for <lisp@ietf.org>; Sun, 03 Nov 2013 14:43:48 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=hdlUaCumb2UH7Vg6eAu+czFq+o1b/rAIzi7I9KYY9Tk=; b=QuNWMUfeyvSVHzFS27PDqnIucixlTzEhKrHe2RQesH0dn7O7+fX+oAnpC7EB0E0cRM e6CkHXhbHzb3KuESloIjIWyb4xccLot9r0PrOHmbnpdF557ppBI1XDHStNPNyD3aLBkw DigZflywmF9lQkyV0Qcb4bdxYSLHsUdPVh4+3SuFQHSnTstp9Xj9dBWyOmhhW9XBIGQR MfqjMaTxpScj7YyyCVazWLXk7NXXsa2HeYLTxkf0kxH+kYyNPiFu3WY/I9pqR9fqmizK H9cFxWrGQBFJL5AGAAzqMzgfm0w4B1Vk1EhU7dwmTCanPdmWev0fdZvhcoR4u5oo9yOH L0nQ==
X-Gm-Message-State: ALoCoQnicPERfPpAfWs7Udi0Ya5gZ3qsHGInQT1o0MOjnvqOLuNkVX3SaH32BMPj3n8nh3BMGwIQ
X-Received: by 10.205.15.72 with SMTP id pt8mr7417624bkb.17.1383518628570; Sun, 03 Nov 2013 14:43:48 -0800 (PST)
Received: from dhcp-ac50.meeting.ietf.org (dhcp-ac50.meeting.ietf.org. [31.133.172.80]) by mx.google.com with ESMTPSA id l5sm12724294bko.7.2013.11.03.14.43.46 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 03 Nov 2013 14:43:47 -0800 (PST)
Content-Type: multipart/alternative; boundary="Apple-Mail=_BC0D8A57-127A-4233-B643-A36C4B4245AD"
Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1816\))
From: Luigi Iannone <ggx@gigix.net>
In-Reply-To: <FC03B84E-350E-4A52-84A9-44518862B5D7@gmail.com>
Date: Sun, 3 Nov 2013 14:43:43 -0800
Message-Id: <532212FF-F504-4AD2-B23D-244E90071448@gigix.net>
References: <20131031151830.55F9618C168@mercury.lcs.mit.edu> <EA0CEAB9-BD0F-4278-BE30-6D6DB7E7B624@steffann.nl> <FC33A2A0-45EA-424B-8F37-D479131AEDD4@gmail.com> <52728FCF.2060603@joelhalpern.com> <A3459787-CCEB-4037-9005-81F51C6ABFCC@gmail.com> <52734FA6.4040003@joelhalpern.com> <FC03B84E-350E-4A52-84A9-44518862B5D7@gmail.com>
To: Dino Farinacci <farinacci@gmail.com>
X-Mailer: Apple Mail (2.1816)
Cc: LISP mailing list list <lisp@ietf.org>
Subject: Re: [lisp] LISP EID Block Size
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: List for the discussion of the Locator/ID Separation Protocol <lisp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lisp>, <mailto:lisp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lisp>
List-Post: <mailto:lisp@ietf.org>
List-Help: <mailto:lisp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lisp>, <mailto:lisp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Nov 2013 22:43:55 -0000

On 1 Nov. 2013, at 07:33 , Dino Farinacci <farinacci@gmail.com> wrote:
>> And the ITR code path if there is a block:
>> Receive packet
>> check cache for destiantion
>> failing cache match, check for destination in EID block
>> If in EID block, query
>> If not in EID block, query
> 
> You are correct, but this box could be configured in way where the logic could change:
> 
> Receive packet
> If EID-block strict configured
>    If destination in EID-block, send query
>    Else forward natively
> Else
>    <do what Joel said above with no EID-block check>
> Endif

You  can also do more complex thing. During the resolution delay (the time a map-reply comes back) you can have different policies depending on the destination. 

For instance, if it is an EID block you can send toward a PITR or drop if you think that PITR adds too much path stretch. 
Or during the resolution delay of a non-EID block destination you forward toward a PETR or just natively.

Luigi