Hello everybody.
I'm writing again about the same concern since I want to explain a little bit better what I did. I wrote: > >Hello to everyone, I don' t know how to create a mobilehost that would be moving >between HA and FA . >I tried writing: set MH [$ns_ node 1 .0.0] > set node_(0) $MH > set HAaddress [AddrParams set-hieraddr [$HA node-addr]] > [$MH set regagent_] set home_agent_ $HAaddress >but I don' t understand why it is not right >thanh you for your help. I forgot to tell that I simply operated a "cut and paste" from the the Marc Greis's tutorial about "Creating Wired-cum-Wireless and Mobile IP Simulations in ns", example wireless3.tcl. When I run the simulator (NS2.1b7 version) I got this message: "...FAILED_SHADOW_OBJECT_ while executing "error "__FAILED_SHADOW_OBJECT_" """ (procedure "set-hieraddr" line 4) (SplitObject init line 4) invoked from within "set-hieraddr init 1.0.0" (Class create line 1) invoked from within "AddrParams create set-hieraddr 1.0.0" ("eval" body line 1) invoked from within "eval [list $self] create [list $m] $args " (procedure "AddrParams" line 5) (Class unknown line 5) invoked from within "AddrParams set-hieraddr [$HA node-addr]" invoked from within "set HAaddress [AddrParams set-hieraddr [$HA node-addr]]" (file "wireless3.tcl" line 143)....................................." Then I'd like to know if there is a bug in this example or if I miss some other instructions or whether the version I use is not proper to simulate wireless environments. I'd like to thank in advance anyone who will be so kind to help me.Sorry first I send an incomplite version of my question. Carlo |