Skip to content
Tech News
← Back to articles

Transfer files over an Ethernet patch cable

read original more articles
Why This Matters

Connecting two computers directly with an Ethernet patch cable offers a fast, cost-effective way to transfer large files over short distances, surpassing traditional methods like cloud storage or WiFi in speed and reliability. This technique is particularly useful for transferring files larger than 10 GB quickly without relying on internet bandwidth or cloud services.

Key Takeaways

Technical note: transfer files over an ethernet patch cable

2026-08-29

2026-08-30

It's possible to just connect two computers together with Ethernet and do a bit of IP configuration:

# On sender ... ip address add dev eth0 fd42:dead:beef::1/48 ip link set dev eth0 up # On receiver ... ip address add dev eth0 fd42:dead:beef::2/48 ip link set dev eth0 up

After a few seconds, pings should work:

# On receiver ... / # ping fd42:dead:beef::1 64 bytes from fd42:dead:beef::1: icmp_seq=1 ttl=64 time=0.649 ms 64 bytes from fd42:dead:beef::1: icmp_seq=2 ttl=64 time=0.376 ms 64 bytes from fd42:dead:beef::1: icmp_seq=3 ttl=64 time=0.414 ms 64 bytes from fd42:dead:beef::1: icmp_seq=4 ttl=64 time=0.340 ms

... and so should this:

# On receiver ... socat - TCP6-LISTEN: 1234 | dd status = progress > big_file.tar.gz # On sender ... socat - 'TCP6-CONNECT: [fd42:dead:beef::2] : 1234 ' < big_file.tar.gz

These commands assume you are using Linux, but this trick works everywhere.

... continue reading