I've been looking for a simulator that supports testing custom algorithms versus already existing algorithm in Mobile Ad-Hoc networks (MANET). I've heard about opnet, omnet++ but I think that is commercial. I've heard about Ns2 and 3. but I'm not sure of their flexibility. Netlogo was very good in agent simulation but I didn't find a model for wireless networks in it.
Is there any free tool to support MANET simulation?