Tested allocate_ip_address with no subnets.