add gateway and ping to prevent silent host