[lisp] looking for clarifications on rfc 6830

Richard Li <renwei.li@huawei.com> Mon, 19 October 2015 18:43 UTC

Return-Path: <renwei.li@huawei.com>
X-Original-To: lisp@ietfa.amsl.com
Delivered-To: lisp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 70ED11B2B65 for <lisp@ietfa.amsl.com>; Mon, 19 Oct 2015 11:43:59 -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 GliU_4YmX3am for <lisp@ietfa.amsl.com>; Mon, 19 Oct 2015 11:43:57 -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 699BF1B2B52 for <lisp@ietf.org>; Mon, 19 Oct 2015 11:43:56 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml404-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BYZ77617; Mon, 19 Oct 2015 18:43:54 +0000 (GMT)
Received: from SJCEML702-CHM.china.huawei.com (10.218.25.35) by lhreml404-hub.china.huawei.com (10.201.5.218) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 19 Oct 2015 19:43:54 +0100
Received: from SJCEML701-CHM.china.huawei.com ([169.254.3.220]) by SJCEML702-CHM.china.huawei.com ([169.254.4.95]) with mapi id 14.03.0235.001; Mon, 19 Oct 2015 11:43:50 -0700
From: Richard Li <renwei.li@huawei.com>
To: LISP mailing list list <lisp@ietf.org>
Thread-Topic: looking for clarifications on rfc 6830
Thread-Index: AdEKnhay+P+VUKtLQsuYBYLz3YP9mw==
Date: Mon, 19 Oct 2015 18:43:49 +0000
Message-ID: <F061CEB6876F904F8EA6D6B92877731C3900A80A@SJCEML701-CHM.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.213.48.32]
Content-Type: multipart/alternative; boundary="_000_F061CEB6876F904F8EA6D6B92877731C3900A80ASJCEML701CHMchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <http://mailarchive.ietf.org/arch/msg/lisp/8606qM3SraV8C9KPpFLCqkaSpBs>
Subject: [lisp] looking for clarifications on rfc 6830
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.15
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 19 Oct 2015 18:43:59 -0000

Hi Folks,

I have read RFC 6830. I have a few points I could not figure them out by myself. Appreciated if you could clarify them.



1.       TTL

Page 20, Section 5.3:

The inner-header 'Time to Live' field (or 'Hop Limit' field, in the case of IPv6) SHOULD be copied from the outer-header 'Time to Live' field, when the Time to Live value of the outer header is less than the Time to Live value of the inner header.



Isn't it always true that the TTL in outer header is less than or equal to TTL in the inner header. Since the ITR copies TTL from the inner header to the outer header, the ETR should find that TTL in the outer header can't be bigger than TTL in the inner header.



2.       Fragment size:

Page 21, Section 5.4.1

The size of the encapsulated fragments is then (S/2 + H), which is less than the ITR's estimate of the path MTU between the ITR and its correspondent ETR.



Is this right?

Look! H is a fixed number (= UDP header length + LISP header length), and S is also a fixed size (= L - H, where L is the path MTU).

It looks to me that the fragment size should be less than (S/2+H).

In order to achieve (S/2+H), does the spec actually suggest any padding so as to meet (S/2+H)?



3.       Best-Match Prefixes

Page 35, Section 6.1.5:

A Map-Request for EID 10.1.5.5 would cause a Map-Reply with a record count of 3 to be returned with mapping records for EID-Prefixes 10.1.0.0/16, 10.1.1.0/24, and 10.1.2.0/24.



Take a look at the EID prefixes in binary:

00001010.00000000.00000000.00000000 (10.0.0.0/8)

00001010.00000001.00000000.00000000 (10.1.0.0/16)

00001010.00000001.00000001.00000000 (10.1.1.0/24)

00001010.00000001.00000010.00000000 (10.1.2.0/24)



00001010.00000001.00000101.00000101 (10.1.5.5/32)



Performing the best match of 10.1.5.5/32 against the EID prefix database, we will have only 10.1.0.0/16.



Thanks,



Richard