分享:三网回程路由测试脚本

能测试本机IPV4和IPV6的三网回程路由(TCP)以及本机到指定IP的路由(TCP),功能挺多的。

  1. 服务器信息(优先显示IPv4,仅供参考):
  2. ————————————————————————————————————
  3. ISP      : HostHatch
  4. ASN      : AS63473 HostHatch, LLC
  5. 服务商   : HostHatch LLC
  6. 国家     : Sweden
  7. 地址     : Stockholm, Stockholm County (AB)
  8. IPv4地址 : 185.213.*.*
  9. IPv6地址 : 无 IPv6
  10. IP 性质  : 数据中心
  11. 测试项(TCP Mode,三网回程测试点均为 9 个):
  12. ————————————————————————————————————
  13. 1. 本机 IPv4 三网回程路由 中文 输出 BestTrace库(默认)
  14. 2. 本机 IPv4 三网回程路由 中文 输出 Nexttrace库
  15. 3. 本机 IPv4 三网回程路由 英文 输出 BestTrace库
  16. 4. 本机 IPv6 三网回程路由 中文 输出 Nexttrace库
  17. 5. 本机 IPv6 三网回程路由 英文 输出 Nexttrace库
  18. 6. 本机到指定 IPv4/IPv6 路由(BestTrace/Nexttrace)
  19. 7. 退出测试
  20. 请输入需要的测试项 [1-7] ( 默认:1 ):

复制代码

用法:

  1. wget -N --no-check-certificate https://raw.githubusercontent.com/Chennhaoo/Shell_Bash/master/AutoTrace.sh && chmod +x AutoTrace.sh && bash AutoTrace.sh

复制代码

效果:

  1. Num:9/9 Traceroute to 中国 北京 移动 (TCP Mode, Max 30 Hop, IPv4)
  2. ============================================================
  3. traceroute to 211.136.25.153 (211.136.25.153), 30 hops max, 32 byte packets
  4. 1  31.220.5.1  17.86 ms  AS63473  瑞典, 斯德哥尔摩省, 斯德哥尔摩, terratransit.de
  5. 2  80.67.1.130  0.85 ms  AS42708  瑞典, 斯德哥尔摩省, 斯德哥尔摩, glesys.se
  6. 3  80.67.4.136  0.81 ms  AS42708  瑞典, 斯德哥尔摩省, 斯德哥尔摩, glesys.se
  7. 4  80.67.4.247  8.37 ms  AS42708  GLESYS.SE 骨干网, glesys.se
  8. 5  80.67.4.238  19.78 ms  AS42708  荷兰, 北荷兰省, 阿姆斯特丹, glesys.se
  9. 6  80.67.4.224  25.13 ms  AS42708  英国, 伦敦, glesys.se
  10. 7  195.66.226.5  27.49 ms  AS34984  英国, 伦敦, linx.net
  11. 8  223.120.10.189  26.73 ms  AS58453  英国, 伦敦, chinamobile.com, 移动
  12. 9  223.120.10.1  26.59 ms  AS58453  英国, 伦敦, chinamobile.com, 移动
  13. 10  223.120.15.2  268.19 ms  AS58453  中国, 北京, chinamobile.com, 移动
  14. 11  223.120.22.18  269.10 ms  AS58453  中国, 北京, chinamobile.com, 移动
  15. 12  221.183.55.110  269.16 ms  AS9808  中国, 北京, chinamobile.com, 移动
  16. 13  221.183.46.250  269.94 ms  AS9808  中国, 北京, chinamobile.com, 移动
  17. 14  221.183.89.102  283.23 ms  AS9808  中国, 北京, chinamobile.com, 移动
  18. 15  *
  19. 16  *
  20. 17  *
  21. 18  211.136.67.166  271.95 ms  AS56048  中国, 北京, chinamobile.com, 移动
  22. 19  *
  23. 20  *
  24. 21  *
  25. 22  211.136.25.153  274.88 ms  AS56048  中国, 北京, chinamobile.com, 移动
主机差评君首发于zhuji188.com,转发请标明来源https://zhuji188.com/1070.html
THE END
分享
二维码
< <上一篇
下一篇>>