add validation of ip address range