Re: [Bgp-autoconf] Discussion about BGP autoconf requirements in DC

Randy Bush <randy@psg.com> Fri, 07 February 2020 23:31 UTC

Return-Path: <randy@psg.com>
X-Original-To: bgp-autoconf@ietfa.amsl.com
Delivered-To: bgp-autoconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C50A3120106 for <bgp-autoconf@ietfa.amsl.com>; Fri, 7 Feb 2020 15:31:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 G5aWPlIkVL0V for <bgp-autoconf@ietfa.amsl.com>; Fri, 7 Feb 2020 15:31:39 -0800 (PST)
Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:8006::18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 63A601200E6 for <bgp-autoconf@ietf.org>; Fri, 7 Feb 2020 15:31:39 -0800 (PST)
Received: from localhost ([127.0.0.1] helo=ryuu.rg.net) by ran.psg.com with esmtp (Exim 4.90_1) (envelope-from <randy@psg.com>) id 1j0D61-0006Nh-L9; Fri, 07 Feb 2020 23:31:37 +0000
Date: Fri, 07 Feb 2020 15:31:37 -0800
Message-ID: <m27e0y3rfq.wl-randy@psg.com>
From: Randy Bush <randy@psg.com>
To: Robert Raszuk <robert@raszuk.net>
Cc: bgp-autoconf@ietf.org
In-Reply-To: <CAOj+MMH7ERDbHt6jy1guLUg-ncqbVhv5GaYTd2Hb4a6R82sd7w@mail.gmail.com>
References: <89bb996682564b99af57133a76b8dc6b@huawei.com> <m2a75u3tcx.wl-randy@psg.com> <CAOj+MMH7ERDbHt6jy1guLUg-ncqbVhv5GaYTd2Hb4a6R82sd7w@mail.gmail.com>
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: <https://mailarchive.ietf.org/arch/msg/bgp-autoconf/osY8gyT4Qvq6lQySy_89X3crd_E>
Subject: Re: [Bgp-autoconf] Discussion about BGP autoconf requirements in DC
X-BeenThere: bgp-autoconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BGP autoconfiguration design team discussion list <bgp-autoconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bgp-autoconf>, <mailto:bgp-autoconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bgp-autoconf/>
List-Post: <mailto:bgp-autoconf@ietf.org>
List-Help: <mailto:bgp-autoconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bgp-autoconf>, <mailto:bgp-autoconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Feb 2020 23:31:41 -0000

> Before we dive into bits and pieces is the assumption that auto
> discovered stuff is ephemeral and disappears upon reboot or is to stay
> for a while in the box ?

do we care?  this is discovery, not colonisation :)

> How about marking peers as upstream vs downstream?

or which flavor of routes i am supposed to give them.  maybe which
community sets i should use?  perhaps we should see how simple we
can make this, not how complex?

>>  - signal your ip address (which will tell me v4 or v6) and, as
>>   it is the 21st century, assump MPBGP
> Do you want to try all possible AFI/SAFIs in capabilities ?

doesn't bgp open negotiate this

>> - signal your asn.  if it is the same as mine, it's iBGP so
>>   no need to think about multi-hop etc
> if it is not the same then you guess if this is multihop, disable
> connected-check or p2p ?

don't you know if it is single hop by the peer ip address?

>> - signal how many hops i need to get to your listener
> How would I ever know that apriori ?

if you don't, signal 42 or 255

>> - signal the authentication
> You mean type ? 

i am inclined to type and credential.

> Well I would put those into pre-cfg template instead.

threat model analysis needed here.  historically, tcp-md5 was to stop
the nasty tcp resets of established sessions; authenticity was not the
issue.  is that still true?  if so, i can trust you to tell me what
hash, or whatever, to use.  if not, some external authority, such as
pre-config, is needed.

randy