A new sub-category of MANET is vehicular ad hoc network where vehicles communicate with each other. Because of constraint roads and very high speed of vehicles, routing is an issue in VANET. Most of the papers analyzed the performance of topology based routing protocols. This paper analyzed the performance of distance-effect routing algorithm for mobility (DREAM) and location aided routing (LAR) location-based protocols for city and highway vehicular environment. Metrics for analysis of performance like PDR, routing overhead, delay, throughput and lost packet ratio are evaluated using ns2 with IEEE802.11p. The simulation results are analyzed using AWK programming script.