Industrial Subnet Clash Detector

For the moment a telemetry gateway and the site router refuse to talk and IT is a text message away: enter both devices' IP and mask, and find out whether they're even on the same network. Runs entirely offline; inputs persist in this browser via localStorage.

Device 1 (e.g. the eWON / PLC / HMI)
Device 2 (e.g. the site router / laptop)

How the Answer Is Derived

What a subnet mask actually does

An IP address is 32 bits. The mask splits it into a network part and a host part: wherever the mask has a 1-bit, that bit belongs to the network number. Two devices can talk directly only if their network numbers match — otherwise each one sends the traffic to its gateway and hopes. The math is one bitwise AND per device:

network = IP & mask

Example: 192.168.17.1 & 255.255.255.0 = 192.168.17.0, while 10.215.113.50 & 255.255.255.0 = 10.215.113.0. Different network numbers — the devices are invisible to each other without a router that knows both networks.

The usual field fix
Reading the numbers you were handed

References

  1. RFC 1918 — Address Allocation for Private Internets. https://www.rfc-editor.org/rfc/rfc1918
  2. The site's IT/OT network administrator — the governing authority for anything beyond reading addresses.