Route PC - PC - PLC

Hello, I would need to connect a PLC to a PC-A(windows), and be able to ping the PLC and PC-A from a PC-B(windows) located in another network. PC-A and PLC are connected via ethernet cable. I created a VPN between PC-A and PC-B, so I can ping PC-A from PC-B, but I can’t ping PLC from PC-B… I also tried to create a route but probably i do something wrong. These are the addresses:
PC-A: 192.168.193.230
PLC: 192.168.0.90 ; PLC network card: 192.168.0.91
PC-B: 192.168.193.232

Routes :
192.168.0.0/24 via 192.168.193.230

There is probably something you need to turn on in Windows so that it forwards the traffic back and forth. The zerotier configuration you have looks reasonable.
It might be called Internet Connection Sharing

Check the route in the PLC. Problably the PLC interface does not have a route to respond to the ping. In the PLC there shoud be a route to the 192.168.193.0/24 network.
Also PC-A might reject the traffic, that is initiated from the PLC, since the PLC is a different network.

Another idea is to expand the network mask like so:
192.168.0.0/16 via 192.168.193.230

But it will probaly not work. I also struggle with routing tables. :fist: :fist: :fist:

I tried to enable internet connection sharing but it doesn’t works. And i also tried to do the same thing with Tailscale and it works without setting something on windows.

I tried also the route 192.168.0.0/16 via 192.168.193.230 but doesn’t works.

And i can’t set any route on the PLC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.