The Networks of vehicles moving on the road are considered as Vehicular Ad hoc NETworks (VANETs). The relative speed of the vehicles may be up to 300 km/hr. and the number of nodes is very high. In Vehicular Ad hoc NETworks (VANETs) the nodes movement is bounded to road topology. In VANET the link breakage can be avoided with the help of the mobility pattern knowledge for neighbor nodes. In this paper, routing algorithms for VANETs are used in presence of IEEE802.11p as infrastructure. To limit the flooding between the number of nodes, roads are divided into small segments with help of fixed infrastructure, which is known as Road Side Units (RSUs).