support ip range and CIDR range parsing