Re: [Idr] draft-walton-bgp-hostname-capability-00

Daniel Walton <dwalton@cumulusnetworks.com> Sat, 16 May 2015 12:04 UTC

Return-Path: <dwalton@cumulusnetworks.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02B9A1A877C for <idr@ietfa.amsl.com>; Sat, 16 May 2015 05:04:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level:
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=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 118s2IS5fKe1 for <idr@ietfa.amsl.com>; Sat, 16 May 2015 05:04:32 -0700 (PDT)
Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5D8D51A039B for <idr@ietf.org>; Sat, 16 May 2015 05:04:32 -0700 (PDT)
Received: by igbsb11 with SMTP id sb11so17386977igb.0 for <idr@ietf.org>; Sat, 16 May 2015 05:04:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cumulusnetworks.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Or4C+3EjR8qXJ4sW3qzt/25f/snlbLuHP/2nUcbwSV4=; b=Yga2fo6IEh0ATssEaEZV1rqW7tx8m3PlXYdFazZZ7shzxzSCrMmrxo87suSDvr05Ul pN8Xb4c1PnyBHoF/HG/dWxMtqawmyuB5JfqRexZNQzHO8AOELKRd9jz81C9phWpQrXqC /Fx0VLBwp9ACDeaTltRChifidkh2m9mHaydUE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Or4C+3EjR8qXJ4sW3qzt/25f/snlbLuHP/2nUcbwSV4=; b=T5gPsZq0u/qXM7vfzyaSPbyWlRKnyoPxIQP0LkavXwKpZyVEP0aKOgWNgoUOToB4u+ LeYYyooJ2qvsuKFpzeQzKZDp8/zAf3ksiFSPOEMVTpTtoCowPTxVv/oJsmmbyfPEsI43 gjN2zEAqQWqTIozglJhZX55r5H4Z5fR/Gd/+nJQqrSTsMeQ3S/+2RSnVKCFRQIerfwCZ UY5s9pthfe3OMJ3GSp3HiQIllMUb6J/o7EC1Z9yDFy0h6h+JlZjzjINGFGKDNOEJADdR nT/OBcTz2Z8dL9Pfir5YI4lgsUy2EhpZho0RWSihao1DV/w0dzJKaO3X72O6WrZd9NIM Gzwg==
X-Gm-Message-State: ALoCoQnbyCtM1NyX9y8SLgEg3M1gY2DMllyoyVYceFS1YRHzTjr+WoohXmXoF5fvC74Th+qM8LhC
MIME-Version: 1.0
X-Received: by 10.50.30.197 with SMTP id u5mr3807944igh.9.1431777871780; Sat, 16 May 2015 05:04:31 -0700 (PDT)
Received: by 10.107.129.88 with HTTP; Sat, 16 May 2015 05:04:31 -0700 (PDT)
In-Reply-To: <CA+b+ER=m_LttyMumi+JLd1cfTLqk16RAQgfbX4qmxGAh1k5Wxw@mail.gmail.com>
References: <CANL=f0h9ZV+SPr+2vcx2dEk4O9MxBAZJEU7xgHZDC=ep2g2r-g@mail.gmail.com> <m2bnhlwaov.wl%randy@psg.com> <20150516015819.5849234.74476.67011@gmail.com> <CANL=f0gAfs9f-Jt7r3bxMfB7f3Ta+funv8nvmkiCmFsQfGHTcg@mail.gmail.com> <CA+b+ERmY46GHLJUhi5PzwyVJ4Wcns_R11QXC=oLMzAXrYi-v2g@mail.gmail.com> <CABg5FUV5Z+S_m6V7=dB_cuOZpDV-MS_cV+mhwERtjaNCiNfT2w@mail.gmail.com> <CA+b+ERmCpjbBmNAeFyNm6_KTWtOB41Zge559O4jbtEjwKG+yXg@mail.gmail.com> <CABg5FUVSq4Xunivo3tBNh0=x+W=ZOD9pUYGWs18EcuXiFG-4MQ@mail.gmail.com> <CA+b+ER=m_LttyMumi+JLd1cfTLqk16RAQgfbX4qmxGAh1k5Wxw@mail.gmail.com>
Date: Sat, 16 May 2015 08:04:31 -0400
Message-ID: <CANL=f0iPLinA6Qr8-r6mev4474UZT9g5Bjng_6+f7xPZ2zdfVg@mail.gmail.com>
From: Daniel Walton <dwalton@cumulusnetworks.com>
To: Robert Raszuk <robert@raszuk.net>
Content-Type: multipart/alternative; boundary="047d7bdc11be71f443051631c3f4"
Archived-At: <http://mailarchive.ietf.org/arch/msg/idr/pAPr_w4dUVCgOAt6laoL5LEf2Bw>
Cc: idr wg <idr@ietf.org>
Subject: Re: [Idr] draft-walton-bgp-hostname-capability-00
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 16 May 2015 12:04:34 -0000

On Sat, May 16, 2015 at 6:27 AM, Robert Raszuk <robert@raszuk.net> wrote:

> Dinesh,
>
> Q1 - how do you ping physical interface not a loopback
>>
>>
>> In the DC, common practice I've seen is pinging node, not physical
>> interface. The physical interface addresses aren't even advertised to be
>> able to be reachable more than one hop away.
>>
>
> ​Ping is just an example. Think about tool like BGP path trace ... do you
> want to know the interface names packets are coming on from leaf to leaf or
> not ? I was hoping with your extension you will be providing node name of
> the form spine44_g10 (where eth10 is the interface ​name).
>

No, we just want to know the hostname of our peer so that the user has more
context to work with other than an interface name. It is as simple as
displaying/using that hostname in show commands, debug output, clear
commands, etc.  Using a simple capability allows this to work if DNS is
down or not configured (lab environment...granted this scenario is low
priority) or if you have the scenario that Rajiv pointed out.



> Q2 - how about lookup on bgp rtr id instead LL address to get the name ?
>>>
>>
>> I don't lookup LL address. Router ID is typically the loopback IP address
>> in DC,
>>
>
> Perhaps you missed my point. If router id is loopback as you correctly
> point out you already have it during BGP OPEN msg on any peering session so
> just reverse DNS lookup on router_id will provide you with the name of the
> node. Done with no bgp extensions needed.
>
> If DNS is down as Thomas points out your names are useless for
> troubleshooting anyway so you fall back to using old fashined IP addresses
> in the show command :)
>

If DNS is down how does that make knowing the hostname of a LL BGP peer
useless?



>
> - - -
>
> Now since we are on this topic we had an idea long long time back to carry
> the name of the next hop in BGP (learned from ISIS extension which Henk
> did) so not only peering will be known locally, but you can also see next
> hops by node names rather then IPv6 like strings.
>
> Originally it was added to IGP extensions for BGP discovery.
>
> later the proposal was to carry this as new next hop descriptor attribute
> so everynode in the AS can use it.
>
> Now we are working on BGP remote next hop draft which could be used for
> that as well. It will apply both to EBGP DC cases as well as for the normal
> IBGP AS. In DC normally nh = peering address so naturally your case would
> also be solved.
>
> Using capability you only know the name of your immediate peer and that
> sounds like a bit of limitation to me.
>
> Propagating the name in the update as an attribute or new wide bgp
> community (which I am happy to add new type for) seems to like a much
> better option especially if other proposals already call for introduction
> of beacon prefixes.
>
>
This sounds far more heavy handed and would be solving a problem that we
are not attempting to solve :) I just need to know the hostnames of my
peers.

Daniel