Hi davide, Basically there are four types of routing strategies in ns2.
1. Static 2. Session 3. Dynamic 4. Manual And rtproto{} is an instance procedure in the class simulator that specifies the unicast routing protocol to be used in the simulation. Basically session routing provides complete and instantaneous routing changes in the topology dynamics. For details see this link http://www.tti.unipa.it/~ilenia/course/ns_2.pdf And Session routing use Dijkstra Algorithm. So i think you should refer it. Regards Mubashir Husain Rehmani