How long the EBGP peer convergence time












3















We are using Anycast, and I plan to implement the "nearest access" by appending myself AS path to impact my peer BGP routers.



For example I have two POPs(they are same ip), Pop1 in London and POP2 in Japan. If I found all of the worlds' traffic go to London but rare traffic go to Japan, then I will append myself AS path longer to London ISP than Japan ISP.



But my question is that when I append my AS path length, how long the London ISP can get to know it and take effect. I know BGP convergence time may take a few minutes, but for my case it just peer to peer convergence, so I guess it should be shorter, right?










share|improve this question


















  • 1





    Rather than append your own AS to make a path longer (less preferred), you prepend your AS to the path.

    – Ron Maupin
    4 hours ago













  • what's the difference between append and prepend? for example my as# is: 4402, I'd like to add two more for London ISP router, it would be 4402,4402,4402, so no difference between append or prepend. right?

    – Jack
    2 hours ago






  • 1





    Append means you add it to the end, but prepend means you add it to the beginning. ASes are added to the beginning of the list. The correct BGP terminology is prepend.

    – Ron Maupin
    1 hour ago
















3















We are using Anycast, and I plan to implement the "nearest access" by appending myself AS path to impact my peer BGP routers.



For example I have two POPs(they are same ip), Pop1 in London and POP2 in Japan. If I found all of the worlds' traffic go to London but rare traffic go to Japan, then I will append myself AS path longer to London ISP than Japan ISP.



But my question is that when I append my AS path length, how long the London ISP can get to know it and take effect. I know BGP convergence time may take a few minutes, but for my case it just peer to peer convergence, so I guess it should be shorter, right?










share|improve this question


















  • 1





    Rather than append your own AS to make a path longer (less preferred), you prepend your AS to the path.

    – Ron Maupin
    4 hours ago













  • what's the difference between append and prepend? for example my as# is: 4402, I'd like to add two more for London ISP router, it would be 4402,4402,4402, so no difference between append or prepend. right?

    – Jack
    2 hours ago






  • 1





    Append means you add it to the end, but prepend means you add it to the beginning. ASes are added to the beginning of the list. The correct BGP terminology is prepend.

    – Ron Maupin
    1 hour ago














3












3








3








We are using Anycast, and I plan to implement the "nearest access" by appending myself AS path to impact my peer BGP routers.



For example I have two POPs(they are same ip), Pop1 in London and POP2 in Japan. If I found all of the worlds' traffic go to London but rare traffic go to Japan, then I will append myself AS path longer to London ISP than Japan ISP.



But my question is that when I append my AS path length, how long the London ISP can get to know it and take effect. I know BGP convergence time may take a few minutes, but for my case it just peer to peer convergence, so I guess it should be shorter, right?










share|improve this question














We are using Anycast, and I plan to implement the "nearest access" by appending myself AS path to impact my peer BGP routers.



For example I have two POPs(they are same ip), Pop1 in London and POP2 in Japan. If I found all of the worlds' traffic go to London but rare traffic go to Japan, then I will append myself AS path longer to London ISP than Japan ISP.



But my question is that when I append my AS path length, how long the London ISP can get to know it and take effect. I know BGP convergence time may take a few minutes, but for my case it just peer to peer convergence, so I guess it should be shorter, right?







bgp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 5 hours ago









JackJack

1374




1374








  • 1





    Rather than append your own AS to make a path longer (less preferred), you prepend your AS to the path.

    – Ron Maupin
    4 hours ago













  • what's the difference between append and prepend? for example my as# is: 4402, I'd like to add two more for London ISP router, it would be 4402,4402,4402, so no difference between append or prepend. right?

    – Jack
    2 hours ago






  • 1





    Append means you add it to the end, but prepend means you add it to the beginning. ASes are added to the beginning of the list. The correct BGP terminology is prepend.

    – Ron Maupin
    1 hour ago














  • 1





    Rather than append your own AS to make a path longer (less preferred), you prepend your AS to the path.

    – Ron Maupin
    4 hours ago













  • what's the difference between append and prepend? for example my as# is: 4402, I'd like to add two more for London ISP router, it would be 4402,4402,4402, so no difference between append or prepend. right?

    – Jack
    2 hours ago






  • 1





    Append means you add it to the end, but prepend means you add it to the beginning. ASes are added to the beginning of the list. The correct BGP terminology is prepend.

    – Ron Maupin
    1 hour ago








1




1





Rather than append your own AS to make a path longer (less preferred), you prepend your AS to the path.

– Ron Maupin
4 hours ago







Rather than append your own AS to make a path longer (less preferred), you prepend your AS to the path.

– Ron Maupin
4 hours ago















what's the difference between append and prepend? for example my as# is: 4402, I'd like to add two more for London ISP router, it would be 4402,4402,4402, so no difference between append or prepend. right?

– Jack
2 hours ago





what's the difference between append and prepend? for example my as# is: 4402, I'd like to add two more for London ISP router, it would be 4402,4402,4402, so no difference between append or prepend. right?

– Jack
2 hours ago




1




1





Append means you add it to the end, but prepend means you add it to the beginning. ASes are added to the beginning of the list. The correct BGP terminology is prepend.

– Ron Maupin
1 hour ago





Append means you add it to the end, but prepend means you add it to the beginning. ASes are added to the beginning of the list. The correct BGP terminology is prepend.

– Ron Maupin
1 hour ago










1 Answer
1






active

oldest

votes


















5














The answer, unfortunately, isn't really quantifiable without knowing a lot more about how one constituent route fails, where you're measuring from and how that given remote is connected.



First off - your question isn't really a function of being located in a particular country as much as the specific providers in use, their connections to one another and where you're testing from.



As an example - if both London and Japan have connections to the same carrier then there likely isn't a whole lot of reconvergence required beyond the AS boundary of that carrier and any delay is going to be due to the mechanism of the route disappearing (e.g. explicit retraction vs dead peer) and the subsequent propagation within the carrier's network (usually fairly quick).



If London and Japan are connected to two different carriers then convergence is going to be a function of the above (means of route removal) plus the particulars of how a given point sees the routes in question. This is going to vary quite a bit. Changes to the routing table may need to propagate through a single AS or through a half-dozen. Each AS could consist of two or three routers or a dozen.



TL;DR - It's hard to quantify this, as it will vary tremendously by how you're connected and from where you're measuring. Best-case is convergence in a few seconds, worst-case several minutes.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "496"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f56692%2fhow-long-the-ebgp-peer-convergence-time%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    5














    The answer, unfortunately, isn't really quantifiable without knowing a lot more about how one constituent route fails, where you're measuring from and how that given remote is connected.



    First off - your question isn't really a function of being located in a particular country as much as the specific providers in use, their connections to one another and where you're testing from.



    As an example - if both London and Japan have connections to the same carrier then there likely isn't a whole lot of reconvergence required beyond the AS boundary of that carrier and any delay is going to be due to the mechanism of the route disappearing (e.g. explicit retraction vs dead peer) and the subsequent propagation within the carrier's network (usually fairly quick).



    If London and Japan are connected to two different carriers then convergence is going to be a function of the above (means of route removal) plus the particulars of how a given point sees the routes in question. This is going to vary quite a bit. Changes to the routing table may need to propagate through a single AS or through a half-dozen. Each AS could consist of two or three routers or a dozen.



    TL;DR - It's hard to quantify this, as it will vary tremendously by how you're connected and from where you're measuring. Best-case is convergence in a few seconds, worst-case several minutes.






    share|improve this answer




























      5














      The answer, unfortunately, isn't really quantifiable without knowing a lot more about how one constituent route fails, where you're measuring from and how that given remote is connected.



      First off - your question isn't really a function of being located in a particular country as much as the specific providers in use, their connections to one another and where you're testing from.



      As an example - if both London and Japan have connections to the same carrier then there likely isn't a whole lot of reconvergence required beyond the AS boundary of that carrier and any delay is going to be due to the mechanism of the route disappearing (e.g. explicit retraction vs dead peer) and the subsequent propagation within the carrier's network (usually fairly quick).



      If London and Japan are connected to two different carriers then convergence is going to be a function of the above (means of route removal) plus the particulars of how a given point sees the routes in question. This is going to vary quite a bit. Changes to the routing table may need to propagate through a single AS or through a half-dozen. Each AS could consist of two or three routers or a dozen.



      TL;DR - It's hard to quantify this, as it will vary tremendously by how you're connected and from where you're measuring. Best-case is convergence in a few seconds, worst-case several minutes.






      share|improve this answer


























        5












        5








        5







        The answer, unfortunately, isn't really quantifiable without knowing a lot more about how one constituent route fails, where you're measuring from and how that given remote is connected.



        First off - your question isn't really a function of being located in a particular country as much as the specific providers in use, their connections to one another and where you're testing from.



        As an example - if both London and Japan have connections to the same carrier then there likely isn't a whole lot of reconvergence required beyond the AS boundary of that carrier and any delay is going to be due to the mechanism of the route disappearing (e.g. explicit retraction vs dead peer) and the subsequent propagation within the carrier's network (usually fairly quick).



        If London and Japan are connected to two different carriers then convergence is going to be a function of the above (means of route removal) plus the particulars of how a given point sees the routes in question. This is going to vary quite a bit. Changes to the routing table may need to propagate through a single AS or through a half-dozen. Each AS could consist of two or three routers or a dozen.



        TL;DR - It's hard to quantify this, as it will vary tremendously by how you're connected and from where you're measuring. Best-case is convergence in a few seconds, worst-case several minutes.






        share|improve this answer













        The answer, unfortunately, isn't really quantifiable without knowing a lot more about how one constituent route fails, where you're measuring from and how that given remote is connected.



        First off - your question isn't really a function of being located in a particular country as much as the specific providers in use, their connections to one another and where you're testing from.



        As an example - if both London and Japan have connections to the same carrier then there likely isn't a whole lot of reconvergence required beyond the AS boundary of that carrier and any delay is going to be due to the mechanism of the route disappearing (e.g. explicit retraction vs dead peer) and the subsequent propagation within the carrier's network (usually fairly quick).



        If London and Japan are connected to two different carriers then convergence is going to be a function of the above (means of route removal) plus the particulars of how a given point sees the routes in question. This is going to vary quite a bit. Changes to the routing table may need to propagate through a single AS or through a half-dozen. Each AS could consist of two or three routers or a dozen.



        TL;DR - It's hard to quantify this, as it will vary tremendously by how you're connected and from where you're measuring. Best-case is convergence in a few seconds, worst-case several minutes.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 4 hours ago









        rnxrxrnxrx

        5,01611118




        5,01611118






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Network Engineering Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f56692%2fhow-long-the-ebgp-peer-convergence-time%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido