In VANETs and MANETs, the topology of the network changes very often, therefore implementation of efficient routing protocols is very important problem. In this paper, we investigated the goodput of AODV, OLSR and DYMO routing protocols using CAVENET (Cellular Automaton based VEhicular NETwork). The simulation results show that the number of hops for DYMO is smaller than AODV and bigger than OLSR. Also, the goodput of DYMO is better than OLSR, but smaller than AODV because DYMO is not equipped with a buffer for storing the packets. Delay for DYMO is a little bit higher than OLSR but it is smaller than AODV. But, different from AODV, the goodput of DYMO is stable. For this reason, DYMO has better performance than OLSR and AODV protocols.