主题 : NanoPC-M2 千兆网络问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 129351
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
综合积分: 2 分
注册时间: 2016-11-18
最后登录: 2017-04-12
楼主  发表于: 2016-12-05 16:31

 NanoPC-M2 千兆网络问题

请问,M2刷了FA的debian系统后,在千兆网络上,网络不稳定。是什么原因? 比如我ssh到M2上,过个几十秒,ssh就卡主了。同时,我能看到我cisco 3560G千兆交换机上对应的端口,在橙绿色交替闪烁。
我把交换机端口强制为100M -FULL 就没这问题了。

出现故障时,我通过串口看到的网卡信息如下:
NanoPi2:sbin# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 7
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: ug
        Wake-on: d
        Current message level: 0x0000003f (63)
                               drv probe link timer ifdown ifup
        Link detected: yes  

NanoPi2:sbin# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 06:2f:e6:2a:bd:b1  
          inet addr:10.117.0.12  Bcast:10.117.0.255  Mask:255.255.255.0
          inet6 addr: fd74:b3ee:e431:0:42f:e6ff:fe2a:bdb1/64 Scope:Global
          inet6 addr: fe80::42f:e6ff:fe2a:bdb1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2609 errors:0 dropped:495 overruns:0 frame:0
          TX packets:512 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:314446 (307.0 KiB)  TX bytes:85087 (83.0 KiB)
          Interrupt:48

从上面的网卡信息来看,有在DROP报文,请告知如何解决。

ps: 以上问题不可能是我的网线问题。