V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
tywtyw2002
V2EX  ›  宽带症候群

这年头bgp都是在赤裸裸的乱搞呀。

  •  
  •   tywtyw2002 · 2013-08-09 14:08:34 +08:00 · 3676 次点击
    这是一个创建于 3950 天前的主题,其中的信息可能已经有所发展或是发生改变。
    冲加拿大去美国,居然走china telcom,这让我何等的难看呀。。。。。

    上图

    route-views.ab>show ip bgp 199.245.56.1
    BGP routing table entry for 199.245.56.0/24, version 29718309
    Bestpath Modifiers: deterministic-med
    Paths: (1 available, best #1)
    Not advertised to any peer
    852 174 37958 37958 37958
    154.11.98.17 from 154.11.98.17 (154.11.0.71)
    Origin IGP, localpref 100, valid, external, best

    route-views.ab>show ip bgp 199.245.57.1
    BGP routing table entry for 199.245.57.0/24, version 30021420
    Bestpath Modifiers: deterministic-med
    Paths: (1 available, best #1)
    Not advertised to any peer
    852 4134 37958 37958 37958
    154.11.98.17 from 154.11.98.17 (154.11.0.71)
    Origin IGP, localpref 100, valid, external, best
    route-views.ab>Connection closed by foreign host.

    我能骂人了?
    L:不能
    我没啥好说的啦。


    分析下原因,大家可以看下这2个bgp的版本。
    相差的版本很多,大概是几个月的版本,正好我的ip 199.245.57.1是比 199.245.56.1 晚广播了3个月。如果机房没有在3个月内改变策略,这个应该是造成这个结果的原因吧。
    2 条回复    2014-11-25 08:43:47 +08:00
    adfsadfssfd
        1
    adfsadfssfd  
       2013-09-02 01:19:45 +08:00
    chinacache......
    为什么都prepend 3次 这是SB traffic engineering
    tywtyw2002
        2
    tywtyw2002  
    OP
       2014-11-25 08:43:47 +08:00
    @adfsadfssfd prepend 3次是为了,劣化这条线路。
    你如果看过bgp的选路原则就明白了,aspath越少越优。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1033 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 18:31 · PVG 02:31 · LAX 11:31 · JFK 14:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.