SlideShare ist ein Scribd-Unternehmen logo
1 von 35
Downloaden Sie, um offline zu lesen
11th TWNIC IP Open Policy Meeting
                   2008/11/12, Taipei




4-Byte AS Number Migration Suggestion
Agenda

•   Quickly Recap
•   Assumptions before implementation
•   Common BGP deployments
•   4-byte AS number implementation
•   Operational issues
•   Summary




2008/11/12, Taipei                      2
Quickly Recap

•   Changes in BGP 4-byte AS:
     – New BGP capability advertisement
           • Capability code: 65
           • Capability length: 4
     – Attribute update
           • AS_PATH attribute carry 4 byte AS
           • AGGREGATOR attribute carry 4 byte AS
     – New attribute
           • Add AS4_PATH attribute
                – optional, transitive
                – Construct from AS_PATH attribute by 4-byte AS enabled router when face to 2-
                  byte AS only router
           • Add AS4_AGGREGATOR attribute
                – optional, transitive
                – Construct from AGGREGATOR attribute by 4-byte AS enabled router when face
                  to 2-byte AS only router




2008/11/12, Taipei                                                                               3
Quickly Recap

•   Limitations:
     – NEW BGP speaker need a 2 byte AS to peer with the OLD BGP
       speaker.
           • No-mappable 4 byte AS can use “23456” as 2 byte AS
     – AS4_PATH is not compatible with:
           • AS_CONFED_SEQUENCE
           • AS_CONFED_SET
           • Must use mappable 4 byte member ASN during the migration
                – i.e. 0.64512 ~ 0.65535
•   Other considerations
     – BGP community handling
           • Current AS encoding method in BGP community should be updated
           • ref: draft-rekhter-as4octet-ext-community-03.txt
     – Netflow statistics
           • Netflow version 9 support 4-byte AS number




2008/11/12, Taipei                                                           4
Quickly Recap
                     » From “4-Byte AS Numbers, The view from the Old BGP world, p21” by Geoff
                       Huston, APNIC




2008/11/12, Taipei                                                                               5
Quickly Recap

•   AS4_PATH example
     – 193.5.68.0/23



     – Attribute Type/Length/Value
           • Attribute Type (2 octets)
                – 0xe0          => optional, transitive
                – 0x11          => AS4_PATH (TYPE CODE 17)
           • Attribute Length (Variable)
           • AS Path Segments (Variable), which includes
                – Segment Type (1 octet)
                     » 0x02     => AS Sequence
                – Segment Length (1 octet)
                     » 0x03     => AS numbers in the AS Sequence
                – Value (Variable)
                     » 0x00 00 1a ae         => 6830   (The AS who generated the AS4_PATH)
                     » 0x00 00 22 36         => 8758
                     » 0x00 03 00 0d         => 3.13




2008/11/12, Taipei                                                                           6
Quickly Recap

•   AS4_PATH example
     – 195.47.195.0/24

     – Attribute Type/Length/Value
           • Attribute Type (2 octets)
                – 0xe0          => optional, transitive
                – 0x11          => AS4_PATH (TYPE CODE 17)
           • Attribute Length (Variable)
           • AS Path Segments (Variable), which includes
                – Segment Type (1 octet)
                     » 0x02     => AS Sequence
                – Segment Length (1 octet)
                     » 0x01      => AS numbers in the AS Sequence
                – Value (Variable)
                     » 0x00 03 00 10         => 3.16    (The AS who generated the AS4_PATH)




2008/11/12, Taipei                                                                            7
Quickly Recap

•   AS4_PATH example
     – 2001:7fb:ff00::/48



     – Attribute Type/Length/Value
           • Attribute Type (2 octets)
                – 0xe0          => optional, transitive
                – 0x11          => AS4_PATH (TYPE CODE 17)
           • Attribute Length (Variable)
           • AS Path Segments (Variable), which includes
                – Segment Type (1 octet)
                     » 0x02     => AS Sequence
                – Segment Length (1 octet)
                     » 0x03      => AS numbers in the AS Sequence
                – Value (Variable)
                     » 0x00 00 04 65         => 1125    (The AS who generated the AS4_PATH)
                     » 0x00 03 00 05         => 3.5
                     » 0x00 00 31 6e         => 12654




2008/11/12, Taipei                                                                            8
Quickly Recap
                     » From “4-Byte AS Numbers, The view from the Old BGP world, p23” by Geoff
                       Huston, APNIC




2008/11/12, Taipei                                                                               9
Quickly Recap
                     » From “4-Byte AS Numbers, The view from the Old BGP world, p24” by Geoff
                       Huston, APNIC




2008/11/12, Taipei                                                                               10
Assumptions before implementation

•   Everyone (uplink ISP, peering ISP, transit customers and yourself)
     – enable BGP
     – has at least one 2 bytes ASN before 2 byte ASN exhausting
•   Following common BGP deployments are considered:
     –   Only border routers enable BGP
     –   All routers enable BGP and full-mesh with each other
     –   All routers enable BGP and implement Route-Reflector
     –   All routers enable BGP with BGP confederation
     –   There are more than one AS in the same ISP domain




2008/11/12, Taipei                                                       11
Common BGP deployment

•   Only border routers enable BGP
               eBGP session
               iBGP session                Your BGP domain
               eBGP session in conf. BGP




2008/11/12, Taipei                                           12
Common BGP deployment

•   All routers enable BGP and full-mesh with each other
               eBGP session
               iBGP session                       Your BGP domain
               eBGP session in conf. BGP




2008/11/12, Taipei                                                  13
Common BGP deployment

•   All routers enable BGP and implement Route-Reflector
               eBGP session
               iBGP session                     Your BGP domain
               eBGP session in conf. BGP




                                                                  RR




                                                                  RR




2008/11/12, Taipei                                                14
Common BGP deployment

•   All routers enable BGP with BGP confederation
               eBGP session
               iBGP session                         Your BGP domain
               eBGP session in conf. BGP




2008/11/12, Taipei                                                    15
Common BGP deployment

•   There are more than one AS in the same ISP domain
               eBGP session
               iBGP session                    Your BGP domain
               eBGP session in conf. BGP




2008/11/12, Taipei                                               16
4-byte AS number implementation

                                           border            Route-Reflector            iBGP client

                                   eBGP              iBGP                       iBGP

           2-byte                 2-byte            2-byte                     2-byte
                         2-byte            2-byte                2-byte                   2-byte



•      What we have to do?
        – Arrange a perfect plan first
        – Upgrade the router operating system (ROS) then
•      What is the safe implementation approach?
        – from border router?
        – from Route-Reflector?
              • Route-Reflector is so important, it seems not a good choice to upgrade
                Route-Reflector first
        – from iBGP client?



    2008/11/12, Taipei                                                                             17
4-byte AS number implementation

•   Example 1-1-1
     – Your partner is NOT 4-byte AS ready yet
           • 1st: You upgrade your border router ROS




                                       border            Route-Reflector            iBGP client

                               eBGP              iBGP                       iBGP

       2-byte                 2-byte            2-byte                     2-byte
                     2-byte            4-byte                2-byte                   2-byte




2008/11/12, Taipei                                                                             18
4-byte AS number implementation

•   Example 1-1-2
     – Your partner is NOT 4-byte AS ready yet
           • 1st: You upgrade your border router ROS
           • 2nd: You upgrade your iBGP client ROS




                                       border            Route-Reflector            iBGP client

                               eBGP              iBGP                       iBGP

       2-byte                 2-byte            2-byte                     2-byte
                     2-byte            4-byte                2-byte                   4-byte




2008/11/12, Taipei                                                                             19
4-byte AS number implementation

•   Example 1-1-3
     – Your partner is NOT 4-byte AS ready yet
           • 1st: You upgrade your border router ROS
           • 2nd: You upgrade your iBGP client ROS
           • 3rd: You upgrade your Route-Reflector ROS




                                       border            Route-Reflector            iBGP client

                               eBGP              iBGP                       iBGP

       2-byte                 2-byte            4-byte                     4-byte
                     2-byte            4-byte                4-byte                   4-byte




2008/11/12, Taipei                                                                             20
4-byte AS number implementation

•   Example 1-2-1
     – Your partner is NOT 4-byte AS ready yet
           • 1st: You upgrade your iBGP client ROS




                                       border            Route-Reflector            iBGP client

                               eBGP              iBGP                       iBGP

       2-byte                 2-byte            2-byte                     2-byte
                     2-byte            2-byte                2-byte                   4-byte




2008/11/12, Taipei                                                                             21
4-byte AS number implementation

•   Example 1-2-2
     – Your partner is NOT 4-byte AS ready yet
           • 1st: You upgrade your iBGP client ROS
           • 2nd: You upgrade your border router ROS




                                       border            Route-Reflector            iBGP client

                               eBGP              iBGP                       iBGP

       2-byte                 2-byte            2-byte                     2-byte
                     2-byte            4-byte                2-byte                   4-byte




2008/11/12, Taipei                                                                             22
4-byte AS number implementation

•   Example 1-2-3
     – Your partner is NOT 4-byte AS ready yet
           • 1st: You upgrade your iBGP client ROS
           • 2nd: You upgrade your border router ROS
           • 3rd: You upgrade your Route-Reflector ROS




                                       border            Route-Reflector            iBGP client

                               eBGP              iBGP                       iBGP

       2-byte                 2-byte            4-byte                     4-byte
                     2-byte            4-byte                4-byte                   4-byte




2008/11/12, Taipei                                                                             23
4-byte AS number implementation

•   Example 2-1-1
     – Your partner is 4-byte AS ready
           • 1st: You upgrade your border router ROS




                                       border            Route-Reflector            iBGP client

                               eBGP              iBGP                       iBGP

     4/2-byte                 4-byte            2-byte                     2-byte
                     4-byte            4-byte                2-byte                   2-byte




2008/11/12, Taipei                                                                             24
4-byte AS number implementation

•   Example 2-1-2
     – Your partner is 4-byte AS ready
           • 1st: You upgrade your border router ROS
           • 2nd: You upgrade your iBGP client ROS




                                       border            Route-Reflector            iBGP client

                               eBGP              iBGP                       iBGP

     4/2-byte                 4-byte            2-byte                     2-byte
                     4-byte            4-byte                2-byte                   4-byte




2008/11/12, Taipei                                                                             25
4-byte AS number implementation

•   Example 2-1-3
     – Your partner is 4-byte AS ready
           • 1st: You upgrade your border router ROS
           • 2nd: You upgrade your iBGP client ROS
           • 3rd: You upgrade your Route-Reflector ROS




                                       border            Route-Reflector            iBGP client

                               eBGP              iBGP                       iBGP

     4/2-byte                 4-byte            4-byte                     4-byte
                     4-byte            4-byte                4-byte                   4-byte




2008/11/12, Taipei                                                                             26
4-byte AS number implementation

•   Example 2-2-1
     – Your partner is 4-byte AS ready
           • 1st: You upgrade your iBGP client ROS




                                       border            Route-Reflector            iBGP client

                               eBGP              iBGP                       iBGP

     4/2-byte                 2-byte            2-byte                     2-byte
                     4-byte            2-byte                2-byte                   4-byte




2008/11/12, Taipei                                                                             27
4-byte AS number implementation

•   Example 2-2-2
     – Your partner is 4-byte AS ready
           • 1st: You upgrade your iBGP client ROS
           • 2nd: You upgrade your border router ROS




                                       border            Route-Reflector            iBGP client

                               eBGP              iBGP                       iBGP

     4/2-byte                 4-byte            2-byte                     2-byte
                     4-byte            4-byte                2-byte                   4-byte




2008/11/12, Taipei                                                                             28
4-byte AS number implementation

•   Example 2-2-3
     – Your partner is 4-byte AS ready
           • 1st: You upgrade your iBGP client ROS
           • 2nd: You upgrade your border router ROS
           • 3rd: You upgrade your Route-Reflector ROS




                                       border            Route-Reflector            iBGP client

                               eBGP              iBGP                       iBGP

     4/2-byte                 4-byte            4-byte                     4-byte
                     4-byte            4-byte                4-byte                   4-byte




2008/11/12, Taipei                                                                             29
Summary

•   It is fine to upgrade ROS no matter
     – from border router, iBGP client then Route-Reflector
     – from iBGP client, border router then Route-Reflector
•   Thank you
•   But…..



         Are they still good
      approaches when consider
         operational issues?

2008/11/12, Taipei                                            30
Operational issues

•   AS-PATH issues on border router
     – AS-PATH is a very important attribute for BGP policy design
           • Allow or deny BGP routes
           • Set local preference
           • Set BGP community
     – If the border router did not support 4-byte AS number, we can NOT
       handle 4-byte AS BGP routes by AS-PATH attribute
           • Can NOT permit/deny BGP routes by AS path information
                – Old ROS can not recognize AS4_PATH attribute either
           • Can NOT set BGP local preference on border router by AS path information
           • Can NOT set BGP community on border router by AS path information




2008/11/12, Taipei                                                                 31
Operational issues

•   Upgrade Router Operating System issues
     – It is not a easy work
           • Heavy loading in testing the new ROS
           • Much different from patch/upgrade personal computer OS
     – Upgrade ROS then reboot router impact the network and SLA
           • Especially in those network environments without appropriate redundant
             design
           • Higher SLA requirement is a challenge: 99.99% even 99.999%
     – With a serious, detail plan, upgrade all router ROS will spend many
       months even more than one year.
           • Upgrade processes are risky
           • Any un-conditional network event will postpone the scheduled upgrade
             process
     – Upgrade ROS guide in operation:
           • DON’T TOUCH YOUR ROS UNLESS YOU HAVE TO!!!!!




2008/11/12, Taipei                                                                    32
Summary

•   If we want to consider the operational issues, to upgrade border
    router ROS first is a better approach
     – The AS-PATH handling will not be a problem anymore
     – It is fine to upgrade border router only
           • Old BGP router will NOT be confused by duplicate AS23456
           • We can reboot the router for serious ROS bug-fix patch only rather than just
             4-byte AS upgrade
     – After the border router, the upgrade sequence could be considered by
           •   (option) other eBGP router in the same autonomous domain
           •   (option) CONFED border router
           •   (option) iBGP client
           •   (option) Route-Reflector




2008/11/12, Taipei                                                                     33
Reference

•   TWNIC OPM
     – 8th OPM
           • 4 byte ASN的現況
           • 4-byte ASNs Test Scenarios
     – 6th OPM
           • BGP Support for Four-octet AS Number Space
•   RFC
     – RFC4271 - “A Border Gateway Protocol 4 (BGP-4)”
     – RFC4893 - “BGP Support for Four-octet AS Number Space”
•   NANOG
     – NANOG 39; “4-Byte AS Numbers, The view from the Old BGP world” by
       Geoff Huston, APNIC
•   IETF draft
     – Four-octet AS Specific BGP Extended Community




2008/11/12, Taipei                                                    34
Thank you

•    Questions?




2008/11/12, Taipei   35

Weitere ähnliche Inhalte

Was ist angesagt?

12 link aggregation configuration
12 link aggregation configuration12 link aggregation configuration
12 link aggregation configuration
HARRY CHAN PUTRA
 
HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~
HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~
HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~
Ryousei Takano
 
Computer network (14)
Computer network (14)Computer network (14)
Computer network (14)
NYversity
 

Was ist angesagt? (20)

Equinix IP Address Renumbering in Singapore and Sydney
Equinix IP Address Renumbering in Singapore and SydneyEquinix IP Address Renumbering in Singapore and Sydney
Equinix IP Address Renumbering in Singapore and Sydney
 
12 link aggregation configuration
12 link aggregation configuration12 link aggregation configuration
12 link aggregation configuration
 
Troubleshooting BGP
Troubleshooting BGPTroubleshooting BGP
Troubleshooting BGP
 
Bgp attribute-case study
Bgp attribute-case studyBgp attribute-case study
Bgp attribute-case study
 
PLNOG 7: Rafał Szarecki - MPLS in an advanced version
PLNOG 7: Rafał Szarecki - MPLS in an advanced versionPLNOG 7: Rafał Szarecki - MPLS in an advanced version
PLNOG 7: Rafał Szarecki - MPLS in an advanced version
 
Per VRF tunnel Seclection IOS-XR
Per VRF tunnel Seclection IOS-XRPer VRF tunnel Seclection IOS-XR
Per VRF tunnel Seclection IOS-XR
 
Policy Based Routing (PBR)
Policy Based Routing (PBR)Policy Based Routing (PBR)
Policy Based Routing (PBR)
 
Bgpcep odl summit 2015
Bgpcep odl summit 2015Bgpcep odl summit 2015
Bgpcep odl summit 2015
 
OpenJDK Concurrent Collectors
OpenJDK Concurrent CollectorsOpenJDK Concurrent Collectors
OpenJDK Concurrent Collectors
 
Inter as vpn option c
Inter as vpn option c Inter as vpn option c
Inter as vpn option c
 
HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~
HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~
HPCユーザが知っておきたいTCP/IPの話 ~クラスタ・グリッド環境の落とし穴~
 
Ingest oct-9-update
Ingest oct-9-updateIngest oct-9-update
Ingest oct-9-update
 
CMAF Live Ingest Uplink Protocol
CMAF Live Ingest Uplink ProtocolCMAF Live Ingest Uplink Protocol
CMAF Live Ingest Uplink Protocol
 
Computer network (14)
Computer network (14)Computer network (14)
Computer network (14)
 
PLNOG 3: Ela Jasińska - From the Earth to the Moon From a Quagga-based Route...
PLNOG 3: Ela Jasińska -  From the Earth to the Moon From a Quagga-based Route...PLNOG 3: Ela Jasińska -  From the Earth to the Moon From a Quagga-based Route...
PLNOG 3: Ela Jasińska - From the Earth to the Moon From a Quagga-based Route...
 
SIP Tutorial/Workshop 3
SIP Tutorial/Workshop 3SIP Tutorial/Workshop 3
SIP Tutorial/Workshop 3
 
Interior Routing Protocols
Interior Routing ProtocolsInterior Routing Protocols
Interior Routing Protocols
 
Gemification plan of Standard Library on Ruby
Gemification plan of Standard Library on RubyGemification plan of Standard Library on Ruby
Gemification plan of Standard Library on Ruby
 
Flowspec @ Bay Area Juniper User Group (BAJUG)
Flowspec @ Bay Area Juniper User Group (BAJUG)Flowspec @ Bay Area Juniper User Group (BAJUG)
Flowspec @ Bay Area Juniper User Group (BAJUG)
 
Finagle Your Own Codec - Scala By The Bay 2016
Finagle Your Own Codec - Scala By The Bay 2016Finagle Your Own Codec - Scala By The Bay 2016
Finagle Your Own Codec - Scala By The Bay 2016
 

Andere mochten auch

4 Byte As Ns Test Scenarios
4 Byte As Ns Test Scenarios4 Byte As Ns Test Scenarios
4 Byte As Ns Test Scenarios
Kae Hsu
 
Botnets & DDoS Introduction
Botnets & DDoS IntroductionBotnets & DDoS Introduction
Botnets & DDoS Introduction
Kae Hsu
 
How To Process And Solve Network Security In ISP
How To Process And Solve Network Security In ISPHow To Process And Solve Network Security In ISP
How To Process And Solve Network Security In ISP
Kae Hsu
 
Toward The Semantic Deep Web
Toward The Semantic Deep WebToward The Semantic Deep Web
Toward The Semantic Deep Web
Samiul Hoque
 

Andere mochten auch (20)

Noisy information transmission through molecular interaction networks
Noisy information transmission through molecular interaction networksNoisy information transmission through molecular interaction networks
Noisy information transmission through molecular interaction networks
 
Web 101 by Jennifer Lill
Web 101 by Jennifer LillWeb 101 by Jennifer Lill
Web 101 by Jennifer Lill
 
4 byte AS number workshop material
4 byte AS number workshop material4 byte AS number workshop material
4 byte AS number workshop material
 
Rawnet Lightning talk - 'A Day in the Life of an Account Manager'
Rawnet Lightning talk - 'A Day in the Life of an Account Manager'Rawnet Lightning talk - 'A Day in the Life of an Account Manager'
Rawnet Lightning talk - 'A Day in the Life of an Account Manager'
 
Network and TCP performance relationship workshop
Network and TCP performance relationship workshopNetwork and TCP performance relationship workshop
Network and TCP performance relationship workshop
 
A review of Concrete 5 and what is new in version 5.7
A review of Concrete 5 and what is new in version 5.7A review of Concrete 5 and what is new in version 5.7
A review of Concrete 5 and what is new in version 5.7
 
4 Byte As Ns Test Scenarios
4 Byte As Ns Test Scenarios4 Byte As Ns Test Scenarios
4 Byte As Ns Test Scenarios
 
Rawnet Lightning Talk - 'What is an idea & how do you create them?'
Rawnet Lightning Talk - 'What is an idea & how do you create them?'Rawnet Lightning Talk - 'What is an idea & how do you create them?'
Rawnet Lightning Talk - 'What is an idea & how do you create them?'
 
How internet works and how messages are transferred in Internet
How internet works and how messages are transferred in InternetHow internet works and how messages are transferred in Internet
How internet works and how messages are transferred in Internet
 
Botnets & DDoS Introduction
Botnets & DDoS IntroductionBotnets & DDoS Introduction
Botnets & DDoS Introduction
 
FEGTS IP Training - Network Diagnostic Introduction
FEGTS IP Training - Network Diagnostic IntroductionFEGTS IP Training - Network Diagnostic Introduction
FEGTS IP Training - Network Diagnostic Introduction
 
How To Process And Solve Network Security In ISP
How To Process And Solve Network Security In ISPHow To Process And Solve Network Security In ISP
How To Process And Solve Network Security In ISP
 
Toward The Semantic Deep Web
Toward The Semantic Deep WebToward The Semantic Deep Web
Toward The Semantic Deep Web
 
Rawnet Lightning Talk - Elasticsearch
Rawnet Lightning Talk -  ElasticsearchRawnet Lightning Talk -  Elasticsearch
Rawnet Lightning Talk - Elasticsearch
 
Rawnet Lightning Talk - Design Inspiration
Rawnet Lightning Talk - Design InspirationRawnet Lightning Talk - Design Inspiration
Rawnet Lightning Talk - Design Inspiration
 
Rawnet Lightning Talk - Web Components
Rawnet Lightning Talk - Web ComponentsRawnet Lightning Talk - Web Components
Rawnet Lightning Talk - Web Components
 
20th TWNIC OPM IPv6 Support by SDN & NFV
20th TWNIC OPM IPv6 Support by SDN & NFV20th TWNIC OPM IPv6 Support by SDN & NFV
20th TWNIC OPM IPv6 Support by SDN & NFV
 
Rawnet Lightning Talk - Anyone Can Draw.
Rawnet Lightning Talk - Anyone Can Draw.Rawnet Lightning Talk - Anyone Can Draw.
Rawnet Lightning Talk - Anyone Can Draw.
 
Network Design in Cloud-ready IDC
Network Design in Cloud-ready IDCNetwork Design in Cloud-ready IDC
Network Design in Cloud-ready IDC
 
CDN and ISP Operation
CDN and ISP OperationCDN and ISP Operation
CDN and ISP Operation
 

Ähnlich wie 4byte As Number Migration Suggestion

Bgp 6 advanced transit as issues
Bgp 6   advanced transit as issuesBgp 6   advanced transit as issues
Bgp 6 advanced transit as issues
Auguste Behe
 
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
Jasim Alam
 
Bgp 1232073634451868-3
Bgp 1232073634451868-3Bgp 1232073634451868-3
Bgp 1232073634451868-3
afzel
 

Ähnlich wie 4byte As Number Migration Suggestion (20)

Stingray SG- solution for internet service providers
Stingray SG- solution for internet service providers  Stingray SG- solution for internet service providers
Stingray SG- solution for internet service providers
 
Bgp
BgpBgp
Bgp
 
BGP Bugs, Hiccups and weird stuff: Issues seen by RT-BGP Toolkit
BGP Bugs, Hiccups and weird stuff: Issues seen by RT-BGP ToolkitBGP Bugs, Hiccups and weird stuff: Issues seen by RT-BGP Toolkit
BGP Bugs, Hiccups and weird stuff: Issues seen by RT-BGP Toolkit
 
bgp features presentation routing protocle
bgp features presentation routing protoclebgp features presentation routing protocle
bgp features presentation routing protocle
 
Bgp Toc
Bgp TocBgp Toc
Bgp Toc
 
Bgp 6 advanced transit as issues
Bgp 6   advanced transit as issuesBgp 6   advanced transit as issues
Bgp 6 advanced transit as issues
 
DEVNET-1191 BGP Enabled Application Development
DEVNET-1191	BGP Enabled Application DevelopmentDEVNET-1191	BGP Enabled Application Development
DEVNET-1191 BGP Enabled Application Development
 
Part8-ibgp.pptx
Part8-ibgp.pptxPart8-ibgp.pptx
Part8-ibgp.pptx
 
BGP Scanner - Isolario BGP-MRT Data Reader C Library and Tool
BGP Scanner - Isolario BGP-MRT Data Reader C Library and ToolBGP Scanner - Isolario BGP-MRT Data Reader C Library and Tool
BGP Scanner - Isolario BGP-MRT Data Reader C Library and Tool
 
Bgp (1)
Bgp (1)Bgp (1)
Bgp (1)
 
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
 
PLNOG 6: Rafał Szarecki - Routing w Sieci - Praktyczne aspekty implementacji ...
PLNOG 6: Rafał Szarecki - Routing w Sieci - Praktyczne aspekty implementacji ...PLNOG 6: Rafał Szarecki - Routing w Sieci - Praktyczne aspekty implementacji ...
PLNOG 6: Rafał Szarecki - Routing w Sieci - Praktyczne aspekty implementacji ...
 
Bgp
BgpBgp
Bgp
 
EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)
 
PLNOG15: BGP New Advanced Features - Piotr Wojciechowski
PLNOG15: BGP New Advanced Features - Piotr WojciechowskiPLNOG15: BGP New Advanced Features - Piotr Wojciechowski
PLNOG15: BGP New Advanced Features - Piotr Wojciechowski
 
Bgp 1232073634451868-3
Bgp 1232073634451868-3Bgp 1232073634451868-3
Bgp 1232073634451868-3
 
Part 10 : Routing in IP networks and interdomain routing with BGP
Part 10 : Routing in IP networks and interdomain routing with BGPPart 10 : Routing in IP networks and interdomain routing with BGP
Part 10 : Routing in IP networks and interdomain routing with BGP
 
IP Routing.pptx
IP Routing.pptxIP Routing.pptx
IP Routing.pptx
 
IPv4aaS tutorial and hands-on
IPv4aaS tutorial and hands-onIPv4aaS tutorial and hands-on
IPv4aaS tutorial and hands-on
 
Lec7
Lec7Lec7
Lec7
 

Mehr von Kae Hsu (8)

FEGTS IP training - TCP/IP Introduction
FEGTS IP training - TCP/IP IntroductionFEGTS IP training - TCP/IP Introduction
FEGTS IP training - TCP/IP Introduction
 
TWNIC 13th OPM session
TWNIC 13th OPM sessionTWNIC 13th OPM session
TWNIC 13th OPM session
 
How Internet Works
How Internet WorksHow Internet Works
How Internet Works
 
Redundant Internet service provision - customer viewpoint
Redundant Internet service provision - customer viewpointRedundant Internet service provision - customer viewpoint
Redundant Internet service provision - customer viewpoint
 
Suggestions for end users to deploy multihoming, load-balance and load-sharing
Suggestions for end users to deploy multihoming, load-balance and load-sharingSuggestions for end users to deploy multihoming, load-balance and load-sharing
Suggestions for end users to deploy multihoming, load-balance and load-sharing
 
r2
r2r2
r2
 
Suggestions for end users to deploy multihoming, load-balance and load-sharing
Suggestions for end users to deploy multihoming, load-balance and load-sharingSuggestions for end users to deploy multihoming, load-balance and load-sharing
Suggestions for end users to deploy multihoming, load-balance and load-sharing
 
Suggestions for end users to deploy multihoming, load-balance and load-sharing
Suggestions for end users to deploy multihoming, load-balance and load-sharingSuggestions for end users to deploy multihoming, load-balance and load-sharing
Suggestions for end users to deploy multihoming, load-balance and load-sharing
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 

4byte As Number Migration Suggestion

  • 1. 11th TWNIC IP Open Policy Meeting 2008/11/12, Taipei 4-Byte AS Number Migration Suggestion
  • 2. Agenda • Quickly Recap • Assumptions before implementation • Common BGP deployments • 4-byte AS number implementation • Operational issues • Summary 2008/11/12, Taipei 2
  • 3. Quickly Recap • Changes in BGP 4-byte AS: – New BGP capability advertisement • Capability code: 65 • Capability length: 4 – Attribute update • AS_PATH attribute carry 4 byte AS • AGGREGATOR attribute carry 4 byte AS – New attribute • Add AS4_PATH attribute – optional, transitive – Construct from AS_PATH attribute by 4-byte AS enabled router when face to 2- byte AS only router • Add AS4_AGGREGATOR attribute – optional, transitive – Construct from AGGREGATOR attribute by 4-byte AS enabled router when face to 2-byte AS only router 2008/11/12, Taipei 3
  • 4. Quickly Recap • Limitations: – NEW BGP speaker need a 2 byte AS to peer with the OLD BGP speaker. • No-mappable 4 byte AS can use “23456” as 2 byte AS – AS4_PATH is not compatible with: • AS_CONFED_SEQUENCE • AS_CONFED_SET • Must use mappable 4 byte member ASN during the migration – i.e. 0.64512 ~ 0.65535 • Other considerations – BGP community handling • Current AS encoding method in BGP community should be updated • ref: draft-rekhter-as4octet-ext-community-03.txt – Netflow statistics • Netflow version 9 support 4-byte AS number 2008/11/12, Taipei 4
  • 5. Quickly Recap » From “4-Byte AS Numbers, The view from the Old BGP world, p21” by Geoff Huston, APNIC 2008/11/12, Taipei 5
  • 6. Quickly Recap • AS4_PATH example – 193.5.68.0/23 – Attribute Type/Length/Value • Attribute Type (2 octets) – 0xe0 => optional, transitive – 0x11 => AS4_PATH (TYPE CODE 17) • Attribute Length (Variable) • AS Path Segments (Variable), which includes – Segment Type (1 octet) » 0x02 => AS Sequence – Segment Length (1 octet) » 0x03 => AS numbers in the AS Sequence – Value (Variable) » 0x00 00 1a ae => 6830 (The AS who generated the AS4_PATH) » 0x00 00 22 36 => 8758 » 0x00 03 00 0d => 3.13 2008/11/12, Taipei 6
  • 7. Quickly Recap • AS4_PATH example – 195.47.195.0/24 – Attribute Type/Length/Value • Attribute Type (2 octets) – 0xe0 => optional, transitive – 0x11 => AS4_PATH (TYPE CODE 17) • Attribute Length (Variable) • AS Path Segments (Variable), which includes – Segment Type (1 octet) » 0x02 => AS Sequence – Segment Length (1 octet) » 0x01 => AS numbers in the AS Sequence – Value (Variable) » 0x00 03 00 10 => 3.16 (The AS who generated the AS4_PATH) 2008/11/12, Taipei 7
  • 8. Quickly Recap • AS4_PATH example – 2001:7fb:ff00::/48 – Attribute Type/Length/Value • Attribute Type (2 octets) – 0xe0 => optional, transitive – 0x11 => AS4_PATH (TYPE CODE 17) • Attribute Length (Variable) • AS Path Segments (Variable), which includes – Segment Type (1 octet) » 0x02 => AS Sequence – Segment Length (1 octet) » 0x03 => AS numbers in the AS Sequence – Value (Variable) » 0x00 00 04 65 => 1125 (The AS who generated the AS4_PATH) » 0x00 03 00 05 => 3.5 » 0x00 00 31 6e => 12654 2008/11/12, Taipei 8
  • 9. Quickly Recap » From “4-Byte AS Numbers, The view from the Old BGP world, p23” by Geoff Huston, APNIC 2008/11/12, Taipei 9
  • 10. Quickly Recap » From “4-Byte AS Numbers, The view from the Old BGP world, p24” by Geoff Huston, APNIC 2008/11/12, Taipei 10
  • 11. Assumptions before implementation • Everyone (uplink ISP, peering ISP, transit customers and yourself) – enable BGP – has at least one 2 bytes ASN before 2 byte ASN exhausting • Following common BGP deployments are considered: – Only border routers enable BGP – All routers enable BGP and full-mesh with each other – All routers enable BGP and implement Route-Reflector – All routers enable BGP with BGP confederation – There are more than one AS in the same ISP domain 2008/11/12, Taipei 11
  • 12. Common BGP deployment • Only border routers enable BGP eBGP session iBGP session Your BGP domain eBGP session in conf. BGP 2008/11/12, Taipei 12
  • 13. Common BGP deployment • All routers enable BGP and full-mesh with each other eBGP session iBGP session Your BGP domain eBGP session in conf. BGP 2008/11/12, Taipei 13
  • 14. Common BGP deployment • All routers enable BGP and implement Route-Reflector eBGP session iBGP session Your BGP domain eBGP session in conf. BGP RR RR 2008/11/12, Taipei 14
  • 15. Common BGP deployment • All routers enable BGP with BGP confederation eBGP session iBGP session Your BGP domain eBGP session in conf. BGP 2008/11/12, Taipei 15
  • 16. Common BGP deployment • There are more than one AS in the same ISP domain eBGP session iBGP session Your BGP domain eBGP session in conf. BGP 2008/11/12, Taipei 16
  • 17. 4-byte AS number implementation border Route-Reflector iBGP client eBGP iBGP iBGP 2-byte 2-byte 2-byte 2-byte 2-byte 2-byte 2-byte 2-byte • What we have to do? – Arrange a perfect plan first – Upgrade the router operating system (ROS) then • What is the safe implementation approach? – from border router? – from Route-Reflector? • Route-Reflector is so important, it seems not a good choice to upgrade Route-Reflector first – from iBGP client? 2008/11/12, Taipei 17
  • 18. 4-byte AS number implementation • Example 1-1-1 – Your partner is NOT 4-byte AS ready yet • 1st: You upgrade your border router ROS border Route-Reflector iBGP client eBGP iBGP iBGP 2-byte 2-byte 2-byte 2-byte 2-byte 4-byte 2-byte 2-byte 2008/11/12, Taipei 18
  • 19. 4-byte AS number implementation • Example 1-1-2 – Your partner is NOT 4-byte AS ready yet • 1st: You upgrade your border router ROS • 2nd: You upgrade your iBGP client ROS border Route-Reflector iBGP client eBGP iBGP iBGP 2-byte 2-byte 2-byte 2-byte 2-byte 4-byte 2-byte 4-byte 2008/11/12, Taipei 19
  • 20. 4-byte AS number implementation • Example 1-1-3 – Your partner is NOT 4-byte AS ready yet • 1st: You upgrade your border router ROS • 2nd: You upgrade your iBGP client ROS • 3rd: You upgrade your Route-Reflector ROS border Route-Reflector iBGP client eBGP iBGP iBGP 2-byte 2-byte 4-byte 4-byte 2-byte 4-byte 4-byte 4-byte 2008/11/12, Taipei 20
  • 21. 4-byte AS number implementation • Example 1-2-1 – Your partner is NOT 4-byte AS ready yet • 1st: You upgrade your iBGP client ROS border Route-Reflector iBGP client eBGP iBGP iBGP 2-byte 2-byte 2-byte 2-byte 2-byte 2-byte 2-byte 4-byte 2008/11/12, Taipei 21
  • 22. 4-byte AS number implementation • Example 1-2-2 – Your partner is NOT 4-byte AS ready yet • 1st: You upgrade your iBGP client ROS • 2nd: You upgrade your border router ROS border Route-Reflector iBGP client eBGP iBGP iBGP 2-byte 2-byte 2-byte 2-byte 2-byte 4-byte 2-byte 4-byte 2008/11/12, Taipei 22
  • 23. 4-byte AS number implementation • Example 1-2-3 – Your partner is NOT 4-byte AS ready yet • 1st: You upgrade your iBGP client ROS • 2nd: You upgrade your border router ROS • 3rd: You upgrade your Route-Reflector ROS border Route-Reflector iBGP client eBGP iBGP iBGP 2-byte 2-byte 4-byte 4-byte 2-byte 4-byte 4-byte 4-byte 2008/11/12, Taipei 23
  • 24. 4-byte AS number implementation • Example 2-1-1 – Your partner is 4-byte AS ready • 1st: You upgrade your border router ROS border Route-Reflector iBGP client eBGP iBGP iBGP 4/2-byte 4-byte 2-byte 2-byte 4-byte 4-byte 2-byte 2-byte 2008/11/12, Taipei 24
  • 25. 4-byte AS number implementation • Example 2-1-2 – Your partner is 4-byte AS ready • 1st: You upgrade your border router ROS • 2nd: You upgrade your iBGP client ROS border Route-Reflector iBGP client eBGP iBGP iBGP 4/2-byte 4-byte 2-byte 2-byte 4-byte 4-byte 2-byte 4-byte 2008/11/12, Taipei 25
  • 26. 4-byte AS number implementation • Example 2-1-3 – Your partner is 4-byte AS ready • 1st: You upgrade your border router ROS • 2nd: You upgrade your iBGP client ROS • 3rd: You upgrade your Route-Reflector ROS border Route-Reflector iBGP client eBGP iBGP iBGP 4/2-byte 4-byte 4-byte 4-byte 4-byte 4-byte 4-byte 4-byte 2008/11/12, Taipei 26
  • 27. 4-byte AS number implementation • Example 2-2-1 – Your partner is 4-byte AS ready • 1st: You upgrade your iBGP client ROS border Route-Reflector iBGP client eBGP iBGP iBGP 4/2-byte 2-byte 2-byte 2-byte 4-byte 2-byte 2-byte 4-byte 2008/11/12, Taipei 27
  • 28. 4-byte AS number implementation • Example 2-2-2 – Your partner is 4-byte AS ready • 1st: You upgrade your iBGP client ROS • 2nd: You upgrade your border router ROS border Route-Reflector iBGP client eBGP iBGP iBGP 4/2-byte 4-byte 2-byte 2-byte 4-byte 4-byte 2-byte 4-byte 2008/11/12, Taipei 28
  • 29. 4-byte AS number implementation • Example 2-2-3 – Your partner is 4-byte AS ready • 1st: You upgrade your iBGP client ROS • 2nd: You upgrade your border router ROS • 3rd: You upgrade your Route-Reflector ROS border Route-Reflector iBGP client eBGP iBGP iBGP 4/2-byte 4-byte 4-byte 4-byte 4-byte 4-byte 4-byte 4-byte 2008/11/12, Taipei 29
  • 30. Summary • It is fine to upgrade ROS no matter – from border router, iBGP client then Route-Reflector – from iBGP client, border router then Route-Reflector • Thank you • But….. Are they still good approaches when consider operational issues? 2008/11/12, Taipei 30
  • 31. Operational issues • AS-PATH issues on border router – AS-PATH is a very important attribute for BGP policy design • Allow or deny BGP routes • Set local preference • Set BGP community – If the border router did not support 4-byte AS number, we can NOT handle 4-byte AS BGP routes by AS-PATH attribute • Can NOT permit/deny BGP routes by AS path information – Old ROS can not recognize AS4_PATH attribute either • Can NOT set BGP local preference on border router by AS path information • Can NOT set BGP community on border router by AS path information 2008/11/12, Taipei 31
  • 32. Operational issues • Upgrade Router Operating System issues – It is not a easy work • Heavy loading in testing the new ROS • Much different from patch/upgrade personal computer OS – Upgrade ROS then reboot router impact the network and SLA • Especially in those network environments without appropriate redundant design • Higher SLA requirement is a challenge: 99.99% even 99.999% – With a serious, detail plan, upgrade all router ROS will spend many months even more than one year. • Upgrade processes are risky • Any un-conditional network event will postpone the scheduled upgrade process – Upgrade ROS guide in operation: • DON’T TOUCH YOUR ROS UNLESS YOU HAVE TO!!!!! 2008/11/12, Taipei 32
  • 33. Summary • If we want to consider the operational issues, to upgrade border router ROS first is a better approach – The AS-PATH handling will not be a problem anymore – It is fine to upgrade border router only • Old BGP router will NOT be confused by duplicate AS23456 • We can reboot the router for serious ROS bug-fix patch only rather than just 4-byte AS upgrade – After the border router, the upgrade sequence could be considered by • (option) other eBGP router in the same autonomous domain • (option) CONFED border router • (option) iBGP client • (option) Route-Reflector 2008/11/12, Taipei 33
  • 34. Reference • TWNIC OPM – 8th OPM • 4 byte ASN的現況 • 4-byte ASNs Test Scenarios – 6th OPM • BGP Support for Four-octet AS Number Space • RFC – RFC4271 - “A Border Gateway Protocol 4 (BGP-4)” – RFC4893 - “BGP Support for Four-octet AS Number Space” • NANOG – NANOG 39; “4-Byte AS Numbers, The view from the Old BGP world” by Geoff Huston, APNIC • IETF draft – Four-octet AS Specific BGP Extended Community 2008/11/12, Taipei 34
  • 35. Thank you • Questions? 2008/11/12, Taipei 35