Connecting Networks with Different IPs and Identical Subnets

gatewayipv4Networkroutingsubnet

How can we establish communication between two networks with different IPs but same Subnets?

Network Connection 1: (Factory Network for machinery)
I.P = 192.168.19.X
S.N = 255.255.255.0
G.W = 0.0.0.0

Network Connection 2: (Connected to Internet)
I.P = 10.32.24.X
S.N = 255.255.255.0
G.W = 10.32.21.1

So how does a user access devices in the Connection 1 network from Connection 2 network?

Any help appreciated.

Best Answer

Connection between two networks with different IPs and identical subnets?

That does not match the information in your question. Your two networks have completely separate subnets, but they use the same IP (IPv4).

Routers route packets between networks.

One problem you have is that the devices in Network 1 need to have a gateway configured, otherwise they cannot communicate outside the network. The gateway is a router and the host on the network that knows how to reach other networks. A host will determine if the destination of a packet is on a different network, and it will frame the packet with the LAN address of the gateway for a packet destined to a different network.

It looks like you just need to connect Network 1 to your router and configure that router interface to be in the same network, then configure the hosts on that network to use the address of the router interface as their gateway. The router should automatically route packets between the networks.