I am developing a code to validate that an IP and Subnet IP combination is a valid one. Say the IP address is 18.104.22.168 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 22.214.171.124 and 126.96.36.199 - is it correct or is there any other validation we can make?
Is there a way an IP and subnet combination be configured / setup Invalid? What IP and Subnet / masks configuration should we treat as invalid?
Edited by devprogrammer, 06 July 2018 - 10:54 PM.