Hi all,
I’ve been struggling with the following problem for days:
- 2 Win10 PCs (one of them is intended to collect all data)
- 1 RasPi4
are connected together (using unmanaged ethernet switch) in a wired, isolated LAN with all static IPs, no DHCP, no DNS, absolutely no connection to the internet.
Win10’s network configuration is a nightmare in itself! It looks like MS can’t imagine that a PC is connected to a LAN, which does not lead to the Internet and where this PC only knows a static IP and the appropriate subnet mask. But this is perhaps only part of the story.
With great effort I am now so far that the network connections of the Win10 PCs are considered private and just for this category “Private Networks” the firewall is switched off.
Under these conditions I can now communicate between the computers (e.g. RDP VNC and Teamviewer in LAN mode to the Win10 PCs, VNC and SSH to the RasPi).
However, Syncthing usually sees the other devices as “disconnected”. It tries hard to find relay servers and a way to the other devices, which is of course mostly impossible due to lack of internet connection. Only the “direct way” is possible of course!
Only once I managed that both ways (Win10-1 to Win10-2 and Win10-1 to RasPi) were active (green) at the same time and also data was synchronized successfully. What conditions existed at that time, I can hardly remember.
I always thought connecting between devices on the same LAN would be the easiest thing to do, but that doesn’t seem to be the case. My experience with Syncthing across different, distant networks, on the other hand, has been extremely positive so far.
So my question: what do I need to consider in such an environment and can I somehow “tell” Syncthing which routes to the remote target system make sense to try and which not?
Does anyone know a well understandable source of information on the correct configuration of Win10 in a LAN without internet connection with static addresses and without gateway and DNS?
Any helpful information or your own experience report on this topic will be highly appreciated.
Thanks in advance, Thomas
PS: Is Syncthing also able to synchronize between local directories? It would be desirable to additionally store a copy on a USB memory on the PC which merges all data. Otherwise you would have to use e.g. https://rclone.org/.