Re: [Lsvr] Adoption of draft-ymbk-lsvr-l3dl-(signing|ulpc)

Randy Bush <> Thu, 07 May 2020 21:29 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id B12653A0B68 for <>; Thu, 7 May 2020 14:29:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id ppbhsOeGp8xZ for <>; Thu, 7 May 2020 14:29:26 -0700 (PDT)
Received: from ( [IPv6:2001:418:8006::18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 7BAF83A0B49 for <>; Thu, 7 May 2020 14:29:25 -0700 (PDT)
Received: from localhost ([] by with esmtp (Exim 4.90_1) (envelope-from <>) id 1jWo56-0005Jm-80; Thu, 07 May 2020 21:29:24 +0000
Date: Thu, 07 May 2020 14:29:23 -0700
Message-ID: <>
From: Randy Bush <>
To: Warren Kumari <>
In-Reply-To: <>
References: <> <> <>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/26.3 Mule/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset=US-ASCII
Archived-At: <>
Subject: Re: [Lsvr] Adoption of draft-ymbk-lsvr-l3dl-(signing|ulpc)
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Vector Routing <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 07 May 2020 21:29:29 -0000

>>> C: It feels like more text is needed around "If a peering address has
>>> been announced as a loopback, a two or three (one or both ends could
>>> be loopbacks) hop
>>>    BGP session will be established. " -- how do I know it is announced
>>> as a loopback? How do I know what route to install to reach the
>>> loopback? etc.
>> l3dl 13.2 tells you it is a loopback
> Doh, I missed that...
>> 13.2.  Encapsulaion Flags
>>    The Encapsulation Flags are a sequence of bit fields as follows:
>>     0           1            2            3            4  ...       7
>>    +------------+------------+------------+------------+------------+
>>    |  Ann/With  |   Primary  | Under/Over |  Loopback  | Reserved ..|
>>    +------------+------------+------------+------------+------------+
>> so how about
>>    For each BGP peering on a link here MUST be one agreed encapsulation,
>>    and the addresses used MUST be in the corresponding L3DP IPv4/IPv6
>>    Announcement PDUs.  If a peering address has been announced as a
>>    loopback, i.e. MUST BE flagged as such in the L3DL Encapsulation PDU,
>>    a two or three hop BGP session will be established.  Otherwise a
>>    direct one hop session is used.
> Close but no cigar -- I suspect I didn't fully explain my (second) question
> If router A says that I should peer with the loopback address
>, I need to know how to route *to* that address

you will likely want to forward, <pedantry> not route </pedantry>, to
the peer's address which was marked as Primary, iff it is in a subnet
which you also share.  if not, pick a forwarding next hop that is in a
subnet you share.  if there are multiple choices, you could have
signaled which subnet in an Upper Layer Protocol Configuration PDU

if you share no subnets, then you do not have a valid underlying l3dl
session see l3dl

   13.  The Encapsulations
   Further, to consider a logical link of a type to formally be
   established so that it may be pushed up to upper layer protocols, the
   addressing for the type must be compatible, e.g. on the same IP

yes, you have to hold a lot of gorp in your head.  sorry.

but some clarifying text might keep others from falling down this rabbit
hole.  thanks.