Re: [Idr] Advertising Multiple Next Hop Routes in BGP

Yakov Rekhter <yakov@juniper.net> Tue, 15 August 2006 22:14 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1GD7Ao-00067A-RQ; Tue, 15 Aug 2006 18:14:10 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1GD7An-000675-EB for idr@ietf.org; Tue, 15 Aug 2006 18:14:09 -0400
Received: from colo-dns-ext2.juniper.net ([207.17.137.64]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GD7Am-0006Ye-0O for idr@ietf.org; Tue, 15 Aug 2006 18:14:09 -0400
Received: from merlot.juniper.net (merlot.juniper.net [172.17.27.10]) by colo-dns-ext2.juniper.net (8.12.3/8.12.3) with ESMTP id k7FME51Z039077; Tue, 15 Aug 2006 15:14:05 -0700 (PDT) (envelope-from yakov@juniper.net)
Received: from juniper.net (sapphire.juniper.net [172.17.28.108]) by merlot.juniper.net (8.11.3/8.11.3) with ESMTP id k7FME5g88821; Tue, 15 Aug 2006 15:14:05 -0700 (PDT) (envelope-from yakov@juniper.net)
Message-Id: <200608152214.k7FME5g88821@merlot.juniper.net>
To: raszuk@cisco.com
Subject: Re: [Idr] Advertising Multiple Next Hop Routes in BGP
In-Reply-To: Your message of "Tue, 15 Aug 2006 15:11:50 PDT." <44E246A6.5080604@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <58779.1155680045.1@juniper.net>
Date: Tue, 15 Aug 2006 15:14:05 -0700
From: Yakov Rekhter <yakov@juniper.net>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2857c5c041d6c02d7181d602c22822c8
Cc: idr@ietf.org
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/idr>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
Errors-To: idr-bounces@ietf.org

Robert,

> Hi Yakov,
> 
> > You could use a different <AFI, SAFI>. But you can also use the
> > same <AFI, SAFI>, and distinguish between IPv6 and IPv4 PE by using
> > the nexthop length.
> 
> One could also observe that what you indicated is exactly the approach
> we took when defining new AFI/SAFI NLRI & NH for RT-Constrain.
> 
> http://www.ietf.org/internet-drafts/draft-ietf-l3vpn-rt-constrain-02.txt

You are absolutely correct. Thanks for pointing this out.

Yakov.

> 
> Cheers,
> R.
> 
> 
> 
> > Glen,
> > 
> >> Yakov,
> >>
> >> Certainly one can do this by creating new AFI and SAFI types.
> >>
> >> But then that tuple <AFI, SAFI> can only be used for that particular
> >> nexthop and NLRI set. So each time we require a new permutation we
> >> need to request IANA for getting more code points.
> > 
> > Using a distinct <AFI, SAFI> for a particular nexthop and NLRI set
> > is one possible way, but *not* the only one possible (more on this
> > below).
> >   
> >> Taking your own example, if the PE uses IPv6 then i would need a
> >> different AFI, SAFI to convey the information.
> > 
> > You could use a different <AFI, SAFI>. But you can also use the
> > same <AFI, SAFI>, and distinguish between IPv6 and IPv4 PE by using
> > the nexthop length.
> > 
> > Yakov.
> > 
> >> But Yes, it will work with the existing mechanisms.
> >>
> >> Affably,
> >> Glen
> >>
> >> On 8/15/06, Yakov Rekhter <yakov@juniper.net> wrote:
> >>> Glen,
> >>>
> >>> [clipped...]
> >>>
> >>>> All right, this would work. Thanks for the explanation.
> >>>>
> >>>> Looking at this in another light leads me to think that its now kinda
> >>>> possible to disassociate the AFI-SAFI (or simply the network layer
> >>>> protocol) of the next-hop with that of the NLRI in a more elegant and
> >>>> a scalable way.
> >>>>
> >>>> I have in the past expressed my displeasure at how we pad NULL RDs in
> >>>> 2547 when filling the next-hop information in the mp-reach-nlri path
> >>>> attribute. To me mp-reach-nlri/2547 is a big kludge and i dont see a
> >>>> reason why we need to restrict the network layer address family of the
> >>>> next-hop to be the same as that of the NLRI.
> >>> draft-ietf-idr-rfc2858bis-10.txt does *not* restrict the network
> >>> layer address family of the next hop to be the same as that of the NLRI.
> >>> Quoting from the spec (draft-ietf-idr-rfc2858bis-10.txt):
> >>>
> >>>  Address Family Identifier:
> >>>
> >>>     This field in combination with the Subsequent Address Family
> >>>     Identifier field identifies the Network Layer protocol associated
> >>>     with the Network Address of Next Hop and the semantics of
> >>>     the Network Layer Reachability Information that follows.
> >>>
> >>> In other words, the same (afi, safi) tuple defines two things: (1)
> >>> the network layer protocol associated with the Network Address of
> >>> Next Hop, and (2) the encoding/semantics of NLRI.
> >>>
> >>> Nowhere in the spec there is a requirement that the encoding/semantics
> >>> of Next Hop be the same as NLRI. For example let's look at
> >>> VPLS auto-discovery with BGP (draft-ietf-l2vpn-signaling-08.txt).
> >>> Quoting from the spec:
> >>>
> >>>   In summary, the BGP advertisement for a particular VSI at a given PE
> >>>   will contain:
> >>>
> >>>   o  an NLRI of AFI = L2VPN, SAFI = TBA, encoded as RD:PE_addr
> >>>
> >>>   o  a BGP next hop equal to the loopback address of the PE
> >>>
> >>> Here you have AFI = L2VPN, yet the next hop contains a plain IPv4
> >>> address.
> >>>
> >>> So, clearly for a given (afi,safi) one could place a plain IPv4
> >>> address in the Next Hop, yet carry some non IPv4 NLRI, and use AFI
> >>> that is not the IPv4 AFI.
> >>>
> >>> Yakov.
> >>>
> >> _______________________________________________
> >> Idr mailing list
> >> Idr@ietf.org
> >> https://www1.ietf.org/mailman/listinfo/idr
> > 
> > _______________________________________________
> > Idr mailing list
> > Idr@ietf.org
> > https://www1.ietf.org/mailman/listinfo/idr
> > 

_______________________________________________
Idr mailing list
Idr@ietf.org
https://www1.ietf.org/mailman/listinfo/idr