It takes approximately 6-7 hours to travel from Bangalore to Pondicherry by outstation cab, depending on the traffic and the route taken.