Context: all my devices at home are connected through WiFi, and everything works as expected. At times, though, I'd like to transfer files from one PC to another. WiFi proves really slow for that. I can link the source and destination PCs with an Ethernet cable. But how do I tell/force rsync to use the eth interface?
I'm aware that some network-aware programs respect the proxy settings via environment variables. Does something similar exist for network interfaces?
I heard that one can potentially utilize namespaces/containers to do this. I'd appreciate suitable a docker command.
rsyncfrom 172.16.0.1 to 172.16.0.2 without touching WiFi.