4-Byte AS Numbers The view from the old BGP world Geoff Huston October 2006 APNIC.

Slides:



Advertisements
Similar presentations
Introduction to IP Routing Geoff Huston. Routing How do packets get from A to B in the Internet? A B Internet.
Advertisements

BGP01 An Examination of the Internets BGP Table Behaviour in 2001 Geoff Huston Telstra.
32-bit AS Numbers The view from the 16-bit ASN BGP world
RPKI Standards Activity Geoff Huston APNIC February 2010.
AS Numbers - Again Geoff Huston APNIC August 2009
Geoff Huston, APNIC March 2006 APRICOT 2006 IPv4 Numerology.
Measuring IPv6 Deployment Geoff Huston George Michaelson
Deprecating ip6.int DNS Operations SIG Feb APNIC19, Kyoto, Japan Geoff Huston.
BGP AS Number Exhaustion Geoff Huston Research activity supported by APNIC March 2003.
4-Byte AS number registry Policy Proposal [LACNIC Proposal ] Geoff Huston APNIC 25 May.
Routing Items from IAB Utrecht Workshop Geoff Huston IAB.
Where are we with IPv6? Geoff Huston APNIC. The minister for communications and information technology does not believe that regulatory intervention is.
BGP Status Update Geoff Huston September What Happening (AS4637) Date.
Comparing IPv4 and IPv6 from the perspective of BGP dynamic activity Geoff Huston APNIC February 2012.
1 Copyright  1999, Cisco Systems, Inc. Module10.ppt10/7/1999 8:27 AM BGP — Border Gateway Protocol Routing Protocol used between AS’s Currently Version.
CS Summer 2003 CS672: MPLS Architecture, Applications and Fault-Tolerance.
© J. Liebeherr, All rights reserved 1 Border Gateway Protocol This lecture is largely based on a BGP tutorial by T. Griffin from AT&T Research.
2006 – (Almost another) BGP Year in Review A BRIEF update to the 2005 report 18 October 2006 IAB Routing Workshop Geoff Huston APNIC.
1 Interdomain Routing Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
BGP in 2009 Geoff Huston APNIC May Conventional BGP Wisdom IAB Workshop on Inter-Domain routing in October 2006 – RFC 4984: “routing scalability.
Unicast Routing Protocols: RIP, OSPF, and BGP
Feb 12, 2008CS573: Network Protocols and Standards1 Border Gateway Protocol (BGP) Network Protocols and Standards Winter
Allocations vs Announcements A comparison of RIR IPv4 Allocation Records with Global Routing Announcements Geoff Huston May 2004 (Activity supported by.
1 CMPT 471 Networking II BGP. © Janice Regan, External Gateway Protocol  An EGP is designed to control the passage of information between autonomous.
Computer Networks Layering and Routing Dina Katabi
Introduction to BGP 1. Border Gateway Protocol A Routing Protocol used to exchange routing information between different networks – Exterior gateway protocol.
IPv6 Home Networking Architecture - update IETF homenet WG Interim meeting Philadelphia, 6 th Oct 2011 draft-chown-homenet-arch-00.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking BGP, Flooding, Multicast routing.
1 Interdomain Routing (BGP) By Behzad Akbari Fall 2008 These slides are based on the slides of Ion Stoica (UCB) and Shivkumar (RPI)
Lecture 4: BGP Presentations Lab information H/W update.
BGP in 2011 Geoff Huston APNIC. Conventional (Historical) BGP Wisdom IAB Workshop on Inter-Domain routing in October 2006 – RFC 4984: “routing scalability.
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Public Presentation_ID 1 Accelerated Routing Convergence for BGP Graceful Restart draft-keyur-idr-enhanced-gr-00.
David Wetherall Professor of Computer Science & Engineering Introduction to Computer Networks Hierarchical Routing (§5.2.6)
Inter-Domain Routing Trends Geoff Huston APNIC March 2007.
Border Gateway Protocol (BGP) W.lilakiatsakun. BGP Basics (1) BGP is the protocol which is used to make core routing decisions on the Internet It involves.
More on Internet Routing A large portion of this lecture material comes from BGP tutorial given by Philip Smith from Cisco (ftp://ftp- eng.cisco.com/pfs/seminars/APRICOT2004.
SHIM6 Protocol Drafts Overview Geoff Huston, Marcelo Bagnulo, Erik Nordmark.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Inter-domain routing Some slides used with.
New World BGP Geoff Huston January2010 APNIC. 16-bit AS Number Map.
Architecting the Network Part 2 Geoff Huston Chief Scientist, Internet Telstra ISOC Workshop.
CSCI-1680 Network Layer: Inter-domain Routing Based partly on lecture notes by Rob Sherwood, David Mazières, Phil Levis, Rodrigo Fonseca John Jannotti.
AS Numbers NANOG 35 Geoff Huston APNIC. Current AS Number Status.
4 Byte AS Number Update Geoff Huston August 2008.
INTER-DOMAIN ROUTING AND BORDER GATEWAY PROTOCOL Dr. Rocky K. C. Chang 22 November
1 Auto-Detecting Hijacked Prefixes? Routing SIG 7 Sep 2005 APNIC20, Hanoi, Vietnam Geoff Huston.
Text BGP Basics. Document Name CONFIDENTIAL Border Gateway Protocol (BGP) Introduction to BGP BGP Neighbor Establishment Process BGP Message Types BGP.
BGP Validation Russ White Rule11.us.
AS Numbers - Again Geoff Huston APNIC October 2009
Boarder Gateway Protocol (BGP)
Auto-Detecting Hijacked Prefixes?
Auto-Detecting Hijacked Prefixes?
Border Gateway Protocol
BGP supplement Abhigyan Sharma.
Geoff Huston APNIC August 2009
CSCI-1680 Network Layer: Inter-domain Routing
John Scudder October 24, 2000 BGP Update John Scudder October 24, 2000.
COS 561: Advanced Computer Networks
Geoff Huston September 2002
An Update on BGP Support for 4-byte ASN
COS 561: Advanced Computer Networks
RIPE October 2005 Geoff Huston APNIC
COMP/ELEC 429/556 Introduction to Computer Networks
CSCI-1680 Network Layer: Inter-domain Routing
2005 – A BGP Year in Review February 2006 Geoff Huston
Nurani Nimpuno On behalf of Geoff Huston APNIC 25 May 2006
4-Byte AS number registry Policy Proposal [LACNIC Proposal ]
Computer Networks Protocols
Design Expectations vs. Deployment Reality in Protocol Development
4-Byte AS Numbers The view from the old BGP world
Presentation transcript:

4-Byte AS Numbers The view from the old BGP world Geoff Huston October 2006 APNIC

4 Byte AS Numbers We are running into the exhaustion of the 2 Byte AS Number pool Current estimate: 2200 UTC 14 October 2010 See From 1 January 2007 some / all of the RIRs will be allocating 4 Byte AS numbers upon specific request From 1 January 2009 some/ all of the RIRs will be allocating 4 Byte AS numbers by default

The 4-Byte ASN Approach Objectives Change as little as possible in the BGP spec Be backward compatible with 2-Byte BGP implementations Preserve AS semantics Preserve loop detection capability Preserve AS Path length metric No flag day Allow 2-Byte implementations to continue to operate indefinitely in a mixed 2 / 4-Byte AS world

What does this imply? If you are a 2 Byte AS as all of you are today and you dont want to upgrade all your instances of BGP something you probably want to avoid then you dont have to do anything at all!

Well, almost nothing

AS Path Semantics Its a path metric where the LENGTH is used as in path selection Its a loop detector where the presence of your own AS in a PATH is an indicator of a distance-vector-Im-counting-to-infinity- unless-you-stop-me-loop You dont have to have an entirely accurate AS path – but at a minimum you do have to have a path-metric and loop-detecting properties

4-Byte AS Transition Think about this space as a set of NEW / OLD boundaries Define the NEW / OLD and the OLD / NEW transitions Preserve all BGP information at the transition interfaces Translate 4-Byte AS Path information into a 2-Byte representation Tunnel 4-Byte AS Path information through 2-Byte AS domain as an update attribute NEW_AS_PATH attribute = Preserved 4-byte AS Path Translate all 4-Byte-only AS numbers to AS23456 Attach front part of AS Path to the preserved 4Byte path

AS Path approach In the 2-byte world we lie about the 4-byte path 4-Byte ASs appear as AS in the 2-Byte world As long as you preserve the integrity of Path length and dont change 2-byte values in the 2 byte world, then BGP works in terms of path metric and loop detection In the 4-byte world we preserve 4-byte values of the entire AS Path Length integrity is preserved in all cases Loops entirely in the 2-Byte world are detected Loops entirely in the 4-Byte world are detected In a mixed 2-byte 4-byte potential loop then make sure that at least one party in the loop can see its own AS

Implications for 2-Byte BGP BGP speakers in 2-Byte AS domains should support NEW_AS_PATH as a transitive opaque community attribute because thats where the 4-byte path is hiding Thats a SHOULD not a MUST, by the way Its better if you do, but nothing fatally breaks if you dont Mixed 2 / 4 Byte loops will get detected in the 2-Byte world as a fallback

Implications for 2-Byte BGP AS is going to appear in 2-Byte AS paths – both origin and transit This implies that whats in the route registries and what your customers tell you about their AS and whats in your OSS and your routing system will differ: E.g.: AS 1.2 gets translated into AS in a number of places, including in your OSS You may need to peer with AS 23456, transit across AS 23456, and have multiple customers on AS Your OSS might get terminally confused

Implications If you want to explicitly signal to a 4- Byte AS using communities you will need to explicitly signal the 4-Byte AS using BGP Extended Communities See: RFC4630 draft-rekhter-as4octet-ext-community-01.txt

Implications BGP memory requirements will increase 4-Byte BGP speakers will need twice the memory used to hold AS paths 1 2-Byte BGP speakers will need up to three times the memory used to hold AS paths plus NEW_AS_PATH extended community attribute Not twice the memory but twice the memory used for AS Path storage 2 – Not three times the memory, but three times the memory used for AS Path Storage

Implications BGP bandwidth requirements will increase 4-Byte BGP speakers will need twice the size used to carry AS paths 2-Byte BGP speakers will need up to three times the size used to carry AS paths (factoring in the NEW_AS_PATH extended community attribute)

Implications BGP convergence times may increase in some cases As any instance of 2-Byte BGP world destruction of the tunnelled NEW_AS_PATH attribute implies extended times on loop detection in order to fully complete prefix withdrawal Its not that the withdrawal will loop forever, its that the loop will take some additional AS hops before it is detected

Implications If you proxy aggregate in the 2-Byte world then make sure that the aggregate is strictly larger than the components Or loop detection may be harder than otherwise As the AS Set object generated in the 2-Byte word as a result of this proxy aggregation is not cleanly translatable into the 4-Byte world

Implications No dynamic capability for 2/4-Byte ASN support You cannot flick from 2-Byte OLD to 4-Byte NEW mode within an active BGP session on the fly A single BGP speaker could, in theory, simultaneously be a NEW and an OLD speaker in different sessions, but this is not required in the specification

Implications In a complex iBGP AS that wants to transition to using a 4-Byte home AS then you are going to have to think about the transition VERY carefully

The AS Number Report: Paper: