[ns] How to access my new ad hoc routing agent from the simulation script.tcl
Wissam El-Mallah
wissam.el-mallah at polymtl.ca
Tue Aug 15 15:55:59 PDT 2006
Hello Melvin and all ns users,
Normally, the specification of the ad hoc routing protocol(AODV for example)
which will be used by the mobiles nodes during simulation is like follow:
In tcl script ,where our scenario of simulation is described ,we do tow thinks:
First- In node options we do:
set val(rp) AODV
Second- In node configuration we do:
$ns>_ node-config - adhocRouting $$val(rp)>\
If my new protocol is called XYZ. it is right if I replace aodv by XYZ in the
first or there is more of things to add in the tcl script.
Any help would be greatly appreciated.
Regards,
Wissam.
More information about the Ns-users
mailing list