Portál AbcLinuxu, 4. listopadu 2025 22:38
Díky.
Řešení dotazu:
/sys/class/net/$INTERFACE/statistics. Podle mne v dnešní době chyby a dropy může vytvářet buď nekvalitně provedená kabeláž nebo problematické hw zařízení (switch). Chyby i dropy jsou na přijímací straně. (Nemáte náhodou vedenu UTP kabeláž společně s 240V? Tam by mohly být nabuzené rušivé vlivy.)
Aby se dalo něco usuzovat, chtělo by to místo nic neříkajícího grafu spíš skutečné statistiky rozhraní, tj. výstupy "ip -s -s link show dev eth0" a "ethtool -S eth0".
vypnutí funkce autonegation u síťovky
autonegotiation (to negotiate - vyjednávat)
srv:~# ip -s -s link show dev eth0
2: eth0: mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT qlen 1000
link/ether mac brd ff:ff:ff:ff:ff:ff
RX: bytes packets errors dropped overrun mcast
2613124690 2401924 129405 0 0 0
RX errors: length crc frame fifo missed
0 0 0 0 0
TX: bytes packets errors dropped carrier collsns
219691767 1457602 0 0 0 0
TX errors: aborted fifo window heartbeat
0 0 0 0
ethtool eth0 a ethtool -S eth0.
srv:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: off
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
srv:~# ethtool -S eth0
NIC statistics:
early_rx: 0
tx_buf_mapped: 0
tx_timeouts: 0
rx_lost_in_ring: 0
ethtool -S eth0"?
ethtool -i eth0".
srv:~# ifconfig eth0
eth0 Link encap:Ethernet HWadr XX:XX:XX:XX:XX:XX
inet adr:XXX.XXX.XXX.XXX Všesměr:213.195.215.255 Maska:255.255.255.128
inet6-adr: XXXX::XXX:XXXX:XXXX:XXXX/64 Rozsah:Linka
AKTIVOVÁNO VŠESMĚROVÉ_VYSÍLÁNÍ BĚŽÍ MULTICAST MTU:1500 Metrika:1
RX packets:3197947 errors:149624 dropped:0 overruns:0 frame:0
TX packets:2117075 errors:0 dropped:0 overruns:0 carrier:0
kolizí:0 délka odchozí fronty:1000
RX bytes:3013156378 (2.8 GiB) TX bytes:876935541 (836.3 MiB)
Přerušení:22 Vstupně/Výstupní port:0xa000
a ty errors stále narůstají...
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.