depletion of battery life to address this issue we propose a novel intrusion detection system
for detecting black hole attack and gray hole attack which is based on table driven approach
or voting process in which routing propose we use Ad hoc on demand routing protocol and
on the basis of behavior of node we compute the vote for node and negative voting trunk the
node from path nodes create secure path using highest vote number, in this work simulation …