And*_*ner 11 networking linux ifconfig
我看到 (RHEL) 节点出现网络问题(数据包丢失),这似乎也通过 ifconfig 输出中“错误”和“帧”字段的非零计数来体现:
eth2 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
...
RX packets:277593775 errors:1049 dropped:0 overruns:0 frame:536
Run Code Online (Sandbox Code Playgroud)
“错误”和“框架”的确切含义是什么?
编辑:输出ethtool eth2
:
Settings for eth2:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: umbg
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: yes
Run Code Online (Sandbox Code Playgroud)
RX 错误意味着您的 NIC 从传输交换机端口接收格式错误的帧。
帧错误是指收到帧时 CRC 失败。其根本原因可能是电缆不良,或者机器或交换机上的接口不良。尝试更换电缆,然后移至交换机上的另一个端口。