Re: [Idr] 4byte ASN support in RFC4273

"Thomas E. Spanjaard" <tgen@netphreax.net> Tue, 22 August 2006 10:23 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1GFTPz-0001Hm-BA; Tue, 22 Aug 2006 06:23:35 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1GFTPx-0001Gx-Cc for idr@ietf.org; Tue, 22 Aug 2006 06:23:33 -0400
Received: from smtp-vbr12.xs4all.nl ([194.109.24.32]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GFTPw-0005Um-0C for idr@ietf.org; Tue, 22 Aug 2006 06:23:33 -0400
Received: from spa.averei.net (at3a.xs4all.nl [82.92.172.5]) by smtp-vbr12.xs4all.nl (8.13.6/8.13.6) with ESMTP id k7MANQwe051282; Tue, 22 Aug 2006 12:23:27 +0200 (CEST) (envelope-from tgen@netphreax.net)
Received: by spa.averei.net (Postfix, from userid 1009) id 4FEBDEC864; Tue, 22 Aug 2006 12:23:26 +0200 (CEST)
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on spa.averei.net
X-Spam-Level:
X-Spam-Status: No, score=-2.2 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0
Received: from [10.64.2.8] (ns0.netphreax.net [84.83.37.40]) by spa.averei.net (Postfix) with ESMTP id 492EAEC860; Tue, 22 Aug 2006 12:23:24 +0200 (CEST)
Message-ID: <44EADB17.8070601@netphreax.net>
Date: Tue, 22 Aug 2006 10:23:19 +0000
From: "Thomas E. Spanjaard" <tgen@netphreax.net>
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051118)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Henk Uijterwaal <henk@ripe.net>
Subject: Re: [Idr] 4byte ASN support in RFC4273
References: <7.0.1.0.2.20060822105158.03521e78@ripe.net>
In-Reply-To: <7.0.1.0.2.20060822105158.03521e78@ripe.net>
X-Enigmail-Version: 0.93.0.0
X-Virus-Scanned: by XS4ALL Virus Scanner
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 8b431ad66d60be2d47c7bfeb879db82c
Cc: idr@ietf.org, asn32@ripe.net
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: tgen@netphreax.net
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>
Content-Type: multipart/mixed; boundary="===============1472431013=="
Errors-To: idr-bounces@ietf.org

Henk Uijterwaal wrote:
> RFC4273 says:
>    EAch AS is represented as a pair of octets according to the following
>    algorithm:
>      first-byte-of-pair = ASNumber / 256
>      second-byte-of-pair = ASNumber & 255;
> And similar for bgp4PathAttrASPathSegment.
> Question: what will happen when 4byte ASN are deployed?  Can I just
> replace the Octet string by 4 octets (ASN/(265^3), ASN/(256^2), ASN/256,
> ASN%255) (and assume that things will continue to work)?   Or does this
> need an update of the RFC?

I think draft-ietf-idr-as4bytes-12.txt states that the ASPath should 
only be interpreted as 4-octet AS numbers when your peer advertises the 
4byte AS capability and the other peer does so as well. Otherwise, it 
should interpret the AS_PATH as 2-octet AS numbers.

> The same RFC says:
>   bgpPeerRemoteAs OBJECT-TYPE
>     SYNTAX  Integer32 (0...65535)

The 4-octet AS number of the NEW BGP peer is 'advertised' as the 
Capability Value of the Capability Optional Parameter of the Four-octet 
AS Number Capability, sized 4 octets (or if you will, an unsigned 32bits 
integer). The 2-octet AS to use by 4-octet AS peers is AS_TRANS, which 
is defined by IANA.

Cheers,
-- 
         Thomas E. Spanjaard
         tgen@netphreax.net
_______________________________________________
Idr mailing list
Idr@ietf.org
https://www1.ietf.org/mailman/listinfo/idr