Re: [Idr] RFC 4893 - Question regarding AS-TRANS

Geoff Huston <gih@apnic.net> Tue, 25 September 2007 22:23 UTC

Return-path: <idr-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1IaIoY-0000Ai-0Y; Tue, 25 Sep 2007 18:23:34 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IaIoW-00009J-Di for idr@ietf.org; Tue, 25 Sep 2007 18:23:32 -0400
Received: from mint.apnic.net ([202.12.29.58]) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IaIoV-00080Q-Hu for idr@ietf.org; Tue, 25 Sep 2007 18:23:32 -0400
Received: from [203.10.60.7] (dhcp7.potaroo.net [203.10.60.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mint.apnic.net (Postfix) with ESMTP id 3A130D5F33; Wed, 26 Sep 2007 08:23:30 +1000 (EST)
Message-ID: <46F98AE8.8050404@apnic.net>
Date: Wed, 26 Sep 2007 08:25:44 +1000
From: Geoff Huston <gih@apnic.net>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Paul Jakma <paul@clubi.ie>
Subject: Re: [Idr] RFC 4893 - Question regarding AS-TRANS
References: <44ED058B21DF294ABE394CABE5C1B52101303890@EXCH-CLUSTER-03.force 10networks.com> <alpine.LFD.0.999.0709252004190.4699@localhost.localdomain>
In-Reply-To: <alpine.LFD.0.999.0709252004190.4699@localhost.localdomain>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 41c17b4b16d1eedaa8395c26e9a251c4
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


Paul Jakma wrote:
> On Thu, 13 Sep 2007, Kalpesh Zinjuwadia wrote:
> 
>> I had a question regarding AS-TRANS as defined in RFC 4893. It clearly 
>> states that AS-TRANS is reserved by the IANA and an OLD BGP Speaker 
>> MUST NOT use it as its AS number.
> 
> Not really a requirement that OLD speakers can enforce - by definition 
> they don't implement the draft (operators of OLD speakers can try avoid 
> using AS_TRANS..).
> 
>> However, the RFC doesn't specific whether a NEW BGP Speaker can or can 
>> not use AS-TRANS as its AS number.
> 
> 4.2.1 seems to clearly state that NEW speakers may use AS_TRANS as their 
> local ASN to peer with OLD ones.

This is performed by the NEW speaker when peering with an OLD speaker as 
a substitute value for the 32 bit value.

> 
> Other than that, AS_TRANS isn't specified for use (as AS for a speaker 
> anyway).
> 
>> I ask this question because if a NEW BGP Speaker CAN use it, there can 
>> be scenarios where re-constructing the as-path information from 
>> AS-PATH and AS4-PATH attributes received in update from OLD BGP 
>> Speaker can be ambiguous.
> 
> The whole section on reconstruction is pretty ambigious, but hey. Also, 
> in hindsight, this (from 4.2.3):
> 
>       If the number of AS numbers in the AS_PATH attribute is less than the
>       number of AS numbers in the AS4_PATH attribute, then the AS4_PATH
>       attribute SHALL be ignored, and the AS_PATH attribute SHALL be taken
>       as the AS path information.
> 
> is just bogus. By throwing away AS4_PATH, you're opening up to loops. 

My analysis of this situation is that this is not the case and that such 
an action does _not_ lead to persistent loops.

I would be interested to understand your reasoning and the specific 
case(s) you have in mind here where you believe that discarding the 
AS4_PATH leads to the formation of a loop (as distinct from the delayed 
detection of a loop).



In
> the above case, either:
> 
> - The loop-detection property should be preserved as much as
>      possible, i.e. construct a path containing /all/ the ASes in
>      both paths at least once.
> 
> or
> 
> - Discard the UPDATE as invalid
> 

I believe that this advice is inappropriate and that it is valid to 
retain the 16 bit path  and discard the AS4_PATH, with the side effect 
that loop detection takes longer, but the essential attribute of loop 
prevention is retained in this case.

Geoff

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