0

I have a PC with 192.168.1.10. Which must read data from a PLC device with 192.168.1.20. But they are not directly connected.

The PC is connected to a 100.100.100.x LAN network which is connected to 100.100.101.x LAN network.

I have three routers to make this work. 2 edge router lite and one hirschman firewall router.

So far I can route 192.168.1.x > 100.100.100.x >100.100.101.x >192.168.2.x

But If I change my 192.168.2.x to 192.168.1.x , I can't ping the second 192.168.1.x network

I have used a PC to act as a PLC at second 192.168.1.x end

What I'm doing wrong here? Is it even possible to do this?

1
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer.
    – Ron Maupin
    Aug 14, 2017 at 18:27

1 Answer 1

3

You can't have the same IP range within another portion of your network unless you use Network Address Translation (NAT) to mask the addresses of both sides. This is a less than ideal solution however. Within your sphere of administrative control, at all costs keep addressing unique. That way you don't have to use NAT except at your internet edge.

You could potentially solve this with a VPN between the endpoints as well. Basically, I could solutioneer workarounds all day long, but the bottom line is this:

Without some other mechanism, and relying solely on routing, how would the routers in the middle (or the hosts on either end really) know WHICH 192.168.1.0/24 you were wanting to reach.

1
  • The issue is that both the PC and the PLC can't be changed to another IP..i Guess I will have to NAT both ends to a different IP segments and use VPN to achieve this..
    – mahone_
    Jul 2, 2016 at 16:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.