Return 404 in ip_alloc if there is no defined subnet