I have installed the OSPF patch for ns2
and it installs correctly. Now when I try to run the tcl
examples of the same patch with command ns ospf0.tcl
it gives this error:
(TCL) Creating simulator & trace files...
(TCL) Setting up nodes and links...
(TCL) Configuring traffic objects...
(TCL) Configuring routing protocol...
invalid command name "Agent/rtProto/OSPF"
while executing
"Agent/rtProto/OSPF set helloInterval 1"
(file "ospf0.tcl" line 132)
Here someone says it indicates a failed build. (Or you are using a wrong executable 'ns'.)
, but the patch installed with no error. I used to run tcl files with ns
smoothly without the patch and without OSPF. I have ubuntu 14.04
with ns2 2.35
and have applied 10-ospf4ns2.34
patch. Any ideas whats wrong? Also it would be very helpful if someone just gave me the nam
file to simulate or even the trace file.