pyKun
V2EX  ›  问与答

网络阻塞和交换机上的原因

  •  
  •   pyKun · Jun 13, 2014 · 4102 views
    This topic created in 4390 days ago, the information mentioned may be changed or developed.
    场景如下:

    有一个机架,上面所有的服务器(15台左右)都连在一个交换机上,该交换机只有一个物理出口,即一个超5类网线

    遇到一个现象,在访问交换机外数据时(外网,不在本机架的内网)网络连接不稳定,比如:

    curl baidu.com
    curl baidu.com
    curl baidu.com
    curl baidu.com cannot connect the host ...

    已经排除了,dns,gateway,和 proxy 的问题(我们内网一律用proxy),我现在怀疑是交换机上出现网络阻塞

    我应该怎么去验证这个问题?
    6 replies    2014-06-14 17:47:07 +08:00
    nodejx
        1
    nodejx  
       Jun 13, 2014
    可以直接查看交换机端口状态,比如是否有丢包神马。。。
    pyKun
        2
    pyKun  
    OP
       Jun 13, 2014
    @nodejx

    我出的那个现象是突然连不上了,不是关心速度问题
    slowman
        3
    slowman  
       Jun 13, 2014
    会不会是线有问题,又不贵,换一根试试吧
    pyKun
        4
    pyKun  
    OP
       Jun 13, 2014
    @1423

    有道理,去试下的
    Tinet
        5
    Tinet  
       Jun 13, 2014
    希望楼主找到原因后能和大家分享一下
    xiaolee
        6
    xiaolee  
       Jun 14, 2014
    交换机具体端口的话,可以查看GE/FE端口的循环冗余校验码是否出现增加的情况,还有就是可以从上行交换机PING该交换机,看丢不丢包
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2492 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 09:37 · PVG 17:37 · LAX 02:37 · JFK 05:37
    ♥ Do have faith in what you're doing.