Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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 implementa...
Quickly Recap

•   Changes in BGP 4-byte AS:
     – New BGP capability advertisement
           • Capability code: 65
    ...
Quickly Recap

•   Limitations:
     – NEW BGP speaker need a 2 byte AS to peer with the OLD BGP
       speaker.
         ...
Quickly Recap
                     » From “4-Byte AS Numbers, The view from the Old BGP world, p21” by Geoff
             ...
Quickly Recap

•   AS4_PATH example
     – 193.5.68.0/23



     – Attribute Type/Length/Value
           • Attribute Type...
Quickly Recap

•   AS4_PATH example
     – 195.47.195.0/24

     – Attribute Type/Length/Value
           • Attribute Type...
Quickly Recap

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



     – Attribute Type/Length/Value
           • Attribute...
Quickly Recap
                     » From “4-Byte AS Numbers, The view from the Old BGP world, p23” by Geoff
             ...
Quickly Recap
                     » From “4-Byte AS Numbers, The view from the Old BGP world, p24” by Geoff
             ...
Assumptions before implementation

•   Everyone (uplink ISP, peering ISP, transit customers and yourself)
     – enable BG...
Common BGP deployment

•   Only border routers enable BGP
               eBGP session
               iBGP session         ...
Common BGP deployment

•   All routers enable BGP and full-mesh with each other
               eBGP session
              ...
Common BGP deployment

•   All routers enable BGP and implement Route-Reflector
               eBGP session
              ...
Common BGP deployment

•   All routers enable BGP with BGP confederation
               eBGP session
               iBGP s...
Common BGP deployment

•   There are more than one AS in the same ISP domain
               eBGP session
               iB...
4-byte AS number implementation

                                           border            Route-Reflector            i...
4-byte AS number implementation

•   Example 1-1-1
     – Your partner is NOT 4-byte AS ready yet
           • 1st: You up...
4-byte AS number implementation

•   Example 1-1-2
     – Your partner is NOT 4-byte AS ready yet
           • 1st: You up...
4-byte AS number implementation

•   Example 1-1-3
     – Your partner is NOT 4-byte AS ready yet
           • 1st: You up...
4-byte AS number implementation

•   Example 1-2-1
     – Your partner is NOT 4-byte AS ready yet
           • 1st: You up...
4-byte AS number implementation

•   Example 1-2-2
     – Your partner is NOT 4-byte AS ready yet
           • 1st: You up...
4-byte AS number implementation

•   Example 1-2-3
     – Your partner is NOT 4-byte AS ready yet
           • 1st: You up...
4-byte AS number implementation

•   Example 2-1-1
     – Your partner is 4-byte AS ready
           • 1st: You upgrade yo...
4-byte AS number implementation

•   Example 2-1-2
     – Your partner is 4-byte AS ready
           • 1st: You upgrade yo...
4-byte AS number implementation

•   Example 2-1-3
     – Your partner is 4-byte AS ready
           • 1st: You upgrade yo...
4-byte AS number implementation

•   Example 2-2-1
     – Your partner is 4-byte AS ready
           • 1st: You upgrade yo...
4-byte AS number implementation

•   Example 2-2-2
     – Your partner is 4-byte AS ready
           • 1st: You upgrade yo...
4-byte AS number implementation

•   Example 2-2-3
     – Your partner is 4-byte AS ready
           • 1st: You upgrade yo...
Summary

•   It is fine to upgrade ROS no matter
     – from border router, iBGP client then Route-Reflector
     – from i...
Operational issues

•   AS-PATH issues on border router
     – AS-PATH is a very important attribute for BGP policy design...
Operational issues

•   Upgrade Router Operating System issues
     – It is not a easy work
           • Heavy loading in ...
Summary

•   If we want to consider the operational issues, to upgrade border
    router ROS first is a better approach
  ...
Reference

•   TWNIC OPM
     – 8th OPM
           • 4 byte ASN的現況
           • 4-byte ASNs Test Scenarios
     – 6th OPM
...
Thank you

•    Questions?




2008/11/12, Taipei   35
Upcoming SlideShare
Loading in …5
×

of

4byte As Number Migration Suggestion Slide 1 4byte As Number Migration Suggestion Slide 2 4byte As Number Migration Suggestion Slide 3 4byte As Number Migration Suggestion Slide 4 4byte As Number Migration Suggestion Slide 5 4byte As Number Migration Suggestion Slide 6 4byte As Number Migration Suggestion Slide 7 4byte As Number Migration Suggestion Slide 8 4byte As Number Migration Suggestion Slide 9 4byte As Number Migration Suggestion Slide 10 4byte As Number Migration Suggestion Slide 11 4byte As Number Migration Suggestion Slide 12 4byte As Number Migration Suggestion Slide 13 4byte As Number Migration Suggestion Slide 14 4byte As Number Migration Suggestion Slide 15 4byte As Number Migration Suggestion Slide 16 4byte As Number Migration Suggestion Slide 17 4byte As Number Migration Suggestion Slide 18 4byte As Number Migration Suggestion Slide 19 4byte As Number Migration Suggestion Slide 20 4byte As Number Migration Suggestion Slide 21 4byte As Number Migration Suggestion Slide 22 4byte As Number Migration Suggestion Slide 23 4byte As Number Migration Suggestion Slide 24 4byte As Number Migration Suggestion Slide 25 4byte As Number Migration Suggestion Slide 26 4byte As Number Migration Suggestion Slide 27 4byte As Number Migration Suggestion Slide 28 4byte As Number Migration Suggestion Slide 29 4byte As Number Migration Suggestion Slide 30 4byte As Number Migration Suggestion Slide 31 4byte As Number Migration Suggestion Slide 32 4byte As Number Migration Suggestion Slide 33 4byte As Number Migration Suggestion Slide 34 4byte As Number Migration Suggestion Slide 35
Upcoming SlideShare
Rawnet Lightning Talk - Design Inspiration
Next
Download to read offline and view in fullscreen.

0 Likes

Share

Download to read offline

4byte As Number Migration Suggestion

Download to read offline

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all
  • Be the first to like this

4byte As Number Migration Suggestion

  1. 1. 11th TWNIC IP Open Policy Meeting 2008/11/12, Taipei 4-Byte AS Number Migration Suggestion
  2. 2. Agenda • Quickly Recap • Assumptions before implementation • Common BGP deployments • 4-byte AS number implementation • Operational issues • Summary 2008/11/12, Taipei 2
  3. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 35. Thank you • Questions? 2008/11/12, Taipei 35

Views

Total views

1,817

On Slideshare

0

From embeds

0

Number of embeds

5

Actions

Downloads

40

Shares

0

Comments

0

Likes

0

×