BGP(Border Gateway Protocol)是一种在自治系统之间动态交换路由信息的路由协议。
BGP数据中心,就是具备BGP线路的机房。
BGP双线优点:
目前市面上模拟单IP多线效果的机房很多,他们都冒充自己是BGP机房,下面分享一下鉴别方法
参考文档
主要分三步:
使用traceroute命令查询网站IP/域名对应的AS号
Tip: traceroute 是通过 traceroute-2.0.14-2.el6.x86_64 提供的
[root@h101 ~]# which traceroute
/bin/traceroute
[root@h101 ~]# rpm -qf /bin/traceroute
traceroute-2.0.14-2.el6.x86_64
[root@h101 ~]# 使用 -A 参数可以跟踪AS号
-A --as-path-lookups Perform AS path lookups in routing registries and
print results directly after the corresponding
addresses在此以51IDC 提供的安畅云BGP ip 为例

[root@h101 ~]# traceroute -A 103.21.118.104
traceroute to 103.21.118.104 (103.21.118.104), 30 hops max, 60 byte packets
1 192.168.2.254 (192.168.2.254) [*] 1.143 ms 192.168.2.75 (192.168.2.75) [*] 2.110 ms 0.634 ms
2 58.246.136.1 (58.246.136.1) [AS17621] 2.788 ms 3.335 ms 2.156 ms
3 112.64.252.85 (112.64.252.85) [AS17621] 3.550 ms 3.351 ms 3.257 ms
4 139.226.204.37 (139.226.204.37) [*] 5.140 ms 4.882 ms 8.076 ms
5 219.158.99.186 (219.158.99.186) [AS4837] 35.485 ms 35.481 ms 35.051 ms
6 58.241.0.230 (58.241.0.230) [AS4837] 11.218 ms 13.538 ms 13.192 ms
7 58.241.1.66 (58.241.1.66) [AS4837] 28.338 ms 28.574 ms 28.291 ms
8 58.241.33.198 (58.241.33.198) [AS4837] 14.777 ms 436.646 ms 437.189 ms
9 * * *
10 * * *
11 103.21.118.104 (103.21.118.104) [AS58879] 32.317 ms 32.508 ms 32.312 ms
12 * * *
13 103.21.118.104 (103.21.118.104) [AS58879] 32.252 ms 32.214 ms 32.592 ms
14 * * *
...
...
29 * * *
30 * * *
[root@h101 ~]# 本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。