Checking whether two IPv4 addresses are in the same network
IP address 1:
.
.
.
IP address 2:
.
.
.
Subnet mask:
Note: Network address = IP address AND netmask