Validation for the entered IP is done