Having problem implementing blackhole and grayhole in ns2 on Ubuntu linux 11.04

view story

http://www.linuxquestions.org – Sir, I am having problem in implementing blackhole and grayhole attacks in ns2.34 installed on Ubuntu 11.04 32-bit machine. I get following error when executing "ns blackholeaodv.tcl": invalid command name "Agent/rtproto/blackholeAODV" while executing "Agent/rtproto/blackholeAODV" instproc init args { $self next $args } (file "blackholeaodv.tcl" line 19) But if i try to execute the blackhole.tcl file available at the following link: http://www.btechnos.com/2012/05/tcl-...blackhole.html then it gives me following error. num_nodes is set 20 Creat (HowTos)