The simple explanation goes like:
Display IP and Subnet mask as bits
Wherever there is a 1 in the Subnet mask, the corresponding bit in both source and destination IP must be identical.
The /xx that operaghost used is a representation of the amount of bits that are 1, starting from the most significant (most left). Example above is /24, as you can see 24 bits are 1.
Technically, there's no problem with using different Subnet ranges, as long as the IP's used all fit within the most restricting subnet.
There are potential issues with broadcasts though. And quite a few software packages rely on broadcasts to "see who's alive".
Display IP and Subnet mask as bits
Code:
192.168.001.000 -> 1100 0000 . 1010 1000 . 0000 0001 . 0000 0000
255.255.255.000 -> 1111 1111 . 1111 1111 . 1111 1111 . 0000 0000
The /xx that operaghost used is a representation of the amount of bits that are 1, starting from the most significant (most left). Example above is /24, as you can see 24 bits are 1.
Technically, there's no problem with using different Subnet ranges, as long as the IP's used all fit within the most restricting subnet.
There are potential issues with broadcasts though. And quite a few software packages rely on broadcasts to "see who's alive".