Hello everyone, 

I'm trying to create a new project to compare the performance of both DSR and AODV protocols after adding some features to the protocol. I'm not sure how to start, so this is what I tried:

I'm trying to simulate AODV with the modifications first..

1- I created a new node type (ned file) that extends the AODVRouter.ned. Haven't added the modifications yet, I just wanted to make sure this will work first. The modification that I want to do is to do an extra check to the msg if it receives one ( the normal msg, NOT one of the control msgs: RERR, RREQ..). I know this has to be in the .h and .cc files, but do they have to have the same name as the ned file? ( not sure if there's another approach to this)

2- Created a new network (ned file) and copied the code of AODV network then pasted it there and renamed the host type to the modified node I created in step 1.

3- I tried to run a primary simulation but the simulation crashed.

I'm intending to do the same modification to msg handling in DSR protocol, but I started with AODV because I could not point out which module in inet that represents the DSR node or network :/

I just need to add an extra step in both protocols when a node receives a msg, and then compare the performance of both.

Your help is most appreciated.

Thanks in advance.

More Shaikha Alkhuder's questions See All
Similar questions and discussions