Abstract:Based on the analysis of proposed routing protocols in vehicular ad hoc networks (VANETs), this paper gives a new algorithm PCAR(position-based and connectivity aware routing) by combining the position information and the network connectivity. The algorithm also takes advantage of the vehicle density information to estimate the network connectivity and selects anchor nodes and the routing based on the weight of the road. Next it gives the extended greedy forwarding strategy based on the velocity and direction of vehicles. Compared to the GPSR and GSR, the simulations show that PCAR is good for VANETs in the city scenario and has a more efficitn delivery rate and transmission delay.