When a connection feels flaky, the first thing I want to know is whether the network card itself is unhappy. Linux keeps counters for that on every interface, and ip prints them as soon as you ask for statistics.
The flag is -s (long form -stats). It adds the counters to the normal ip link output. Give it twice and you get more detail, and -h turns the byte counts into readable sizes:
ip -s -h link show eth0
ip -s -s link show eth0
Under the usual interface line you get an RX block for received traffic and a TX block for sent traffic. Bytes and packets are the boring part. I’d look at the errors and dropped columns. On a wired home network, errors should sit at zero or very close to it. The second -s splits the error count into its types, such as CRC and frame errors on the receive side, and those tend to point at hardware (a cable, a switch port) more than at software.
Say the web UI of my Unraid server stutters over the LAN. I’d run ip -s link show eth0, copy a big file to the server, and run it again. If the RX errors climb along with the transfer, my advice is to swap the cable before touching a single setting. Drops without errors are a different story: the packets arrived fine, and something on the host threw them away, like a full queue or a busy CPU.
The catch is that these counters add up from the moment the driver came up, usually since boot. A scary number may be weeks old and long fixed. Compare two readings a few minutes apart and only worry about the difference. On Unraid, also check the right interface: with bridging on, your IP lives on br0, while the physical errors show up on the real port such as eth0.
Further reading: ip(8) man page, ip-link(8) man page