using IPAddr library for IP/CIDR validations