I am developing a code to validate that an IP and Subnet IP combination is a valid one. Say the IP address is 192.179.10.105 and its subnet mask is 255.255.0.0 - so what are the validations we can make to check that IP and Subnet combinations is valid.
I am assuming that the we can only check that IP address should not be 192.179.0.0 and 192.179.255.255 - is it correct or is there any other validation we can make?