I have to simulate a network in OMNeT++ with one sources, some sinks e some forwarding nodes. The forwarding nodes have to use the aodv routing algorithm to route packets. I am using Inet framework and my network is based on the AdhocHost, I can only change the role of the AdHocHost from the omnetpp.ini file. I thought I could change the type of the node in this way:
**.host[4].typename="AodvRouter"
(the host, as mentioned before, is declared in .ned file as an AdHocHost) but it doesn't work. Can somebody suggest me how can I do to solve the probleme?