SlideShare a Scribd company logo
1 of 17
Download to read offline
4byte ASNs Test Scenarios

      - 8th TWNIC OPM
       2007/7/5, Taipei




                           許至凱
                 支援群 工程處 通訊網路部
                          kae@du.net.tw
Agenda
    http://www.seed.net.tw



                              4 bytes AS number overview
                              BGP capability in 4 bytes AS number
                              BGP attribute update
                              New BGP attribute
                              Testing scenarios
                              Reference




2
4 bytes AS number overview
    http://www.seed.net.tw



                              Original ASN encoded
                                2 bytes
                                ASN pool: 0 ~ 65535
                              ASN expansion
                                4 bytes
                                ASN pool: 0 ~ 4294967295
                                  M:N
                                     M: 0 ~ 65535
                                     N: 0 ~ 65535

                              2 bytes map to 4 bytes
                                0.0 ~ 0.65535
3
BGP capability in 4 bytes AS number
    http://www.seed.net.tw



                              BGP Capability Advertisements
                                 RFC2842
                                 Capabilities Optional Parameter




                                 BGP router supported 4 bytes ASN
                                   Capability code: 65
                                   Capability Length: 4

4
BGP attribute update
    http://www.seed.net.tw



                              AS_PATH attribute update
                                Original:
                                   AS carried in this attribute is encoded as a 2
                                   byte ASN
                                New:
                                   AS carried in this attribute is encoded as a 4
                                   byte ASN




5
BGP attribute update
    http://www.seed.net.tw



                              AS_AGGREGATOR attribute update
                                Original:
                                   AS carried in this attribute is encoded as a 2
                                   byte ASN
                                New:
                                   AS carried in this attribute is encoded as a 4
                                   byte ASN




6
New BGP attribute
    http://www.seed.net.tw



                              AS4_PATH
                                Optional transitive attribute
                                  AS_PATH is “well-known mandatory” attribute
                                AS4_PATH semantics:




                                AS carried in this attribute is encoded as a 4
                                bytes entity

7
New BGP attribute
    http://www.seed.net.tw



                              AS4_AGGREGATOR
                                Optional transitive attribute
                                  AS_AGGREGATOR is “optional transitive”
                                  attribute
                                AS4_AGGREGATOR semantics:




                                AS carried in this attribute is encoded as a 4
                                bytes entity
8
Testing scenarios
    http://www.seed.net.tw



                              NEW AS_PATH testing
                                 Peering with 4 bytes ASN is mappable to 2
                                 bytes ASN



                                      0.65000             0.65001

                                 Peering with 4 bytes ASN is NOT mappable to
                                 2 bytes ASN



                                      0.65000             2.65001
9
Testing scenarios
     http://www.seed.net.tw



                               AS4_PATH testing
                                  Peering with 4 bytes ASN is mappable to 2
                                  bytes ASN



                                       65000               0.65001

                                  Peering with 4 bytes ASN is NOT mappable to
                                  2 bytes ASN



                                       65000               2.65001
10
Testing scenarios
     http://www.seed.net.tw



                               AS4_PATH testing
                                  2 bytes ASN travel through 4 bytes ASN




                               65000              0.65001             65002




                               65000              2.65001             65002



11
Testing scenarios
     http://www.seed.net.tw



                               AS4_PATH testing
                                   4 bytes ASN travel through 2 bytes ASN




                               0.65000             65001              0.65002




                               2.65000             65001              2.65002



12
Testing scenarios
     http://www.seed.net.tw



                               NEW AS_AGGREGATOR testing



                                                    0.65002


                                0.65000   0.65001

                                                    0.65003




13
Testing scenarios
     http://www.seed.net.tw



                               AS4_AGGREGATOR testing
                                  2 bytes ASN is aggregated via 4 bytes ASN



                                                      65002


                                 65000      2.65001

                                                      65003




14
Testing scenarios
     http://www.seed.net.tw



                               AS4_AGGREGATOR testing
                                  4 bytes ASN is aggregated via 2 bytes ASN



                                                     2.65002


                                0.65000      65001

                                                     2.65003




15
Reference
     http://www.seed.net.tw



                               RFC1771
                                 Y. Rekhter, T. Li, “A Border Gateway Protocol
                                 4 (BGP-4)”, March 1995.
                               RFC4893
                                 Q. Vohra, E. Chen, quot;BGP Support for Four-
                                 octet AS Number Spacequot;, May 2007.
                               BGP support for 4-Byte AS Numbers -
                               Implementation Survey Report
                                 Geoff Huston, Asia Pacific Network
                                 Information Centre

16
Questions & Comments?




    sees your needs

More Related Content

Viewers also liked

Botnets & DDoS Introduction
Botnets & DDoS IntroductionBotnets & DDoS Introduction
Botnets & DDoS Introduction
Kae Hsu
 
How Internet Works
How Internet WorksHow Internet Works
How Internet Works
Kae Hsu
 
Redundant Internet service provision - customer viewpoint
Redundant Internet service provision - customer viewpointRedundant Internet service provision - customer viewpoint
Redundant Internet service provision - customer viewpoint
Kae Hsu
 

Viewers also liked (17)

Rawnet Lightning Talk - Web Components
Rawnet Lightning Talk - Web ComponentsRawnet Lightning Talk - Web Components
Rawnet Lightning Talk - Web Components
 
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
 
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
 
FEGTS IP Training - Network Diagnostic Introduction
FEGTS IP Training - Network Diagnostic IntroductionFEGTS IP Training - Network Diagnostic Introduction
FEGTS IP Training - Network Diagnostic Introduction
 
Botnets & DDoS Introduction
Botnets & DDoS IntroductionBotnets & DDoS Introduction
Botnets & DDoS Introduction
 
4 byte AS number workshop material
4 byte AS number workshop material4 byte AS number workshop material
4 byte AS number workshop material
 
Web 101 by Jennifer Lill
Web 101 by Jennifer LillWeb 101 by Jennifer Lill
Web 101 by Jennifer Lill
 
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
 
Rawnet Lightning Talk - Anyone Can Draw.
Rawnet Lightning Talk - Anyone Can Draw.Rawnet Lightning Talk - Anyone Can Draw.
Rawnet Lightning Talk - Anyone Can Draw.
 
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
 
CDN and ISP Operation
CDN and ISP OperationCDN and ISP Operation
CDN and ISP Operation
 
Network Design in Cloud-ready IDC
Network Design in Cloud-ready IDCNetwork Design in Cloud-ready IDC
Network Design in Cloud-ready IDC
 
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
 
Rawnet Lightning talk - 'Thinking, Fast and Slow' review
Rawnet Lightning talk - 'Thinking, Fast and Slow' reviewRawnet Lightning talk - 'Thinking, Fast and Slow' review
Rawnet Lightning talk - 'Thinking, Fast and Slow' review
 
Multimedia- How Internet Works
Multimedia- How Internet WorksMultimedia- How Internet Works
Multimedia- How Internet Works
 
1 introduction-to-computer-networking
1 introduction-to-computer-networking1 introduction-to-computer-networking
1 introduction-to-computer-networking
 

More from Kae Hsu (6)

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
 
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
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (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
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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 Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
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, ...
 

4 Byte As Ns Test Scenarios

  • 1. 4byte ASNs Test Scenarios - 8th TWNIC OPM 2007/7/5, Taipei 許至凱 支援群 工程處 通訊網路部 kae@du.net.tw
  • 2. Agenda http://www.seed.net.tw 4 bytes AS number overview BGP capability in 4 bytes AS number BGP attribute update New BGP attribute Testing scenarios Reference 2
  • 3. 4 bytes AS number overview http://www.seed.net.tw Original ASN encoded 2 bytes ASN pool: 0 ~ 65535 ASN expansion 4 bytes ASN pool: 0 ~ 4294967295 M:N M: 0 ~ 65535 N: 0 ~ 65535 2 bytes map to 4 bytes 0.0 ~ 0.65535 3
  • 4. BGP capability in 4 bytes AS number http://www.seed.net.tw BGP Capability Advertisements RFC2842 Capabilities Optional Parameter BGP router supported 4 bytes ASN Capability code: 65 Capability Length: 4 4
  • 5. BGP attribute update http://www.seed.net.tw AS_PATH attribute update Original: AS carried in this attribute is encoded as a 2 byte ASN New: AS carried in this attribute is encoded as a 4 byte ASN 5
  • 6. BGP attribute update http://www.seed.net.tw AS_AGGREGATOR attribute update Original: AS carried in this attribute is encoded as a 2 byte ASN New: AS carried in this attribute is encoded as a 4 byte ASN 6
  • 7. New BGP attribute http://www.seed.net.tw AS4_PATH Optional transitive attribute AS_PATH is “well-known mandatory” attribute AS4_PATH semantics: AS carried in this attribute is encoded as a 4 bytes entity 7
  • 8. New BGP attribute http://www.seed.net.tw AS4_AGGREGATOR Optional transitive attribute AS_AGGREGATOR is “optional transitive” attribute AS4_AGGREGATOR semantics: AS carried in this attribute is encoded as a 4 bytes entity 8
  • 9. Testing scenarios http://www.seed.net.tw NEW AS_PATH testing Peering with 4 bytes ASN is mappable to 2 bytes ASN 0.65000 0.65001 Peering with 4 bytes ASN is NOT mappable to 2 bytes ASN 0.65000 2.65001 9
  • 10. Testing scenarios http://www.seed.net.tw AS4_PATH testing Peering with 4 bytes ASN is mappable to 2 bytes ASN 65000 0.65001 Peering with 4 bytes ASN is NOT mappable to 2 bytes ASN 65000 2.65001 10
  • 11. Testing scenarios http://www.seed.net.tw AS4_PATH testing 2 bytes ASN travel through 4 bytes ASN 65000 0.65001 65002 65000 2.65001 65002 11
  • 12. Testing scenarios http://www.seed.net.tw AS4_PATH testing 4 bytes ASN travel through 2 bytes ASN 0.65000 65001 0.65002 2.65000 65001 2.65002 12
  • 13. Testing scenarios http://www.seed.net.tw NEW AS_AGGREGATOR testing 0.65002 0.65000 0.65001 0.65003 13
  • 14. Testing scenarios http://www.seed.net.tw AS4_AGGREGATOR testing 2 bytes ASN is aggregated via 4 bytes ASN 65002 65000 2.65001 65003 14
  • 15. Testing scenarios http://www.seed.net.tw AS4_AGGREGATOR testing 4 bytes ASN is aggregated via 2 bytes ASN 2.65002 0.65000 65001 2.65003 15
  • 16. Reference http://www.seed.net.tw RFC1771 Y. Rekhter, T. Li, “A Border Gateway Protocol 4 (BGP-4)”, March 1995. RFC4893 Q. Vohra, E. Chen, quot;BGP Support for Four- octet AS Number Spacequot;, May 2007. BGP support for 4-Byte AS Numbers - Implementation Survey Report Geoff Huston, Asia Pacific Network Information Centre 16
  • 17. Questions & Comments? sees your needs