The inherent features of the MANET [1] make it vulnerable to a wide range of attacks. There is no guarantee that a communication path is free from malicious and compromised nodes which deliberately wish to disrupt the network communication. In this paper, we present a security mechanism that provides message integrity, mutual authentication and twohop authentication mechanism without the assistance of online certification authority. Our mechanism not only prevents identity impersonation, replay attacks, but also enables node to regulate the behavior of its neighbors to foil active attacks. The effectiveness of the proposed scheme is analyzed to DSR and OLSR routing using simulator NS2.34