ip in distance file