How To Perform Handoff In Mobile Node Fhmip

hi ,

i followed the post and get patched fhmip and run ns fhmip_simula.tcl

http://www.linuxquestions.org/questi...gz-4175538523/

when i moved mobile node hand off not occured, only i am getting packet loss.

an ideas??

Thanks
Pon


Similar Content



How To Do Handoff In Fhmip Patched At Ns2.33

Hi all,

I tried to perfrom handoff of MN from previous access router(PAR) to new access router(NAR) when mobile node moves.
here i attched my output snapshot. In that MN (mobile node) connected to PAR initally, when it moves by crossing NAR the packets get dropped and handoff does not happen. but until MN was connected to PAR there was no loss.

Pls help me to get rid of this packet loss

Pointer To Mobile Node In Mac802_11 In Ns2

Hi all,
I am using ns2 for my Master project and I want the pointer to current mobile node in mac802_11.
Can anyone help me?
Thanks in advance.

URGENT HELP!!! GPSR Patch With Ns-2.34 Ubuntu 12.04

Hey guys
I have been trying to patch GPSR with ns-2.34.The operating system i am using is ubuntu 12.04.
I have made all the necessary changes required in the various files .

I have another version of ns (ns-2.35 ) too but it is in a different directory.
Everytime I run my tcl file an error keeps coming up.
I will be greatful if somebody can help me.This is very very URGENT.


(_o29 cmd line 1)
invoked from within
"_o29 cmd if-queue _o23"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o29" line 2)
(SplitObject unknown line 2)
invoked from within
"$agent if-queue [$self set ifq_(0)] "
(procedure "_o17" line 28)
(Node/MobileNode add-target line 28)
invoked from within
"$self add-target $agent $port"
(procedure "_o17" line 15)
(Node attach line 15)
invoked from within
"$node attach $ragent [Node set rtagent_port_]"
(procedure "create-gpsr-routing-agent" line 29)
invoked from within
"create-gpsr-routing-agent $node $id"
(procedure "gpsr-create-mobile-node" line 41)
invoked from within
"gpsr-create-mobile-node $i"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $opt(nn) } {incr i} {
gpsr-create-mobile-node $i
}"

How To Patch GPSR Routing Protocol To Ns-2.35

Hi,
I have patched GPSR to ns-2.35 using keliu' code. It works fine with given tcl file. I need to move nodes according to mine own mobility scenario and compare them to AODV protocol.
I have two problems
1. I don't understand what this command in gpsr.tcl file means Code:
proc gpsr-create-mobile-node { id args } {
         .........................	
if [info exists opt(energy)] {
	$node addenergymodel [new $opt(energy) $node 10 0.5 0.2]}
         .............

What are these figures (0.5, 0.2), are these energy consumed in reception and transmission or some thing else.

Secondly I want move mobile node created using proc defined in gpsr.tcl file according to my own mobility plan e.g. Code:
 $ns_ at 0.000000000000 "$node_(0) setdest 144.816950690450 20.073824649527 0.324133202939"
$ns_ at 0.000000000000 "$node_(1) setdest 93.957720171475 192.140808646867 1.452613500562"
$ns_ at 12.158688172971 "$node_(23) setdest 113.137798368154 39.443538618334 0.902003496971"
$ns_ at 14.805074599534 "$node_(2) setdest 152.227654369397 20.766089279052 1.742469780423"

But when I run simulation it gives error like this:[QUOTE]Load complete...
Starting Simulation...
ns: _o18 setdest 144.816950690450 20.073824649527 0.324133202939:
(_o18 cmd line 1)
invoked from within
"_o18 cmd setdest 144.816950690450 20.073824649527 0.324133202939"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o18" line 2)
(SplitObject unknown line 2)
invoked from within
"_o18 setdest 144.816950690450 20.073824649527 0.324133202939"
[\QUOTE]
Urgent help is needed please

How Do I Edit Mannasim Tcl File To Generate Mobile Nodes For WSN Protocols

Hi,

I intend to use mannasim script generator tool to create mobile nodes for routing protocols like aodv, leach , dsdv and dsr.

To be best of my knowledge, WSN nodes in mannasim are assumed to be static but I would like to know if there is a resource available which explains how the tcl code can be modified to achieve node mobility.

I have tried searching google but I haven't gotten satisfying search result.

It seems is better to ask an experienced ns2/mannasim user.

Be sure your kind response is valued

Please READ This Before Posting!

If you're here for the very first time, and have a very
urgent problem I appreciate that you're quite likely to
have other things on your mind than reading on.

However, if you do take the time to read all that's
said here (and follow the links) you're more likely
to get helpful responses! :)


The following two posts from Linux-General are just as
valid here in Linux-Newbie as they are there.

http://www.linuxquestions.org/questi...hreadid=103564
http://www.linuxquestions.org/questi...threadid=45094



Thanks for reading!

Cheers,
Tink

NS2 Nam And Trace Files Are Always Empty

Hi everybody,
I need help!
I wrote a script in which, a mobile node across the umts, the WIMAX and the WIFI coverage to test the vertical handover .
But the out.nam file and the trace one are always empty, the script is correct there is no errors !!!!
please help

After Install Gpsr, Test The Perimeter Mode , It Has Throw "Wrong The Other Node"

hello there!
the common communication between nodes is fine, but when i want to test the perimeter mode it has throw the error "Wrong the other node", it seems that it couldn't find its next hop node.
i trace the code as show below
Code:
int
GPSRNeighbors::intersect(nsaddr_t theother, double sx, double sy,
			 double dx, double dy){
  //line 1 (x1,y1)--(x2,y2) is the segment
  //line 2 (x3,y3)--(x4,y4) is the xD 
  struct gpsr_neighbor *other = getnb(theother);

  if(other==NULL){
    printf("Wrong the other node\n");
    exit(1);
  }


  ****************

struct gpsr_neighbor*
GPSRNeighbors::getnb(nsaddr_t nid){
  struct gpsr_neighbor *temp = head_;
  while(temp){
    if(temp->id_ == nid){
      if((GPSR_CURRENT - temp->ts_) < DEFAULT_GPSR_TIMEOUT)
	return temp;
      else {
	delnb(temp); //if this entry expire, delete it and return NULL
	return NULL;
      }
      return temp;
    }
    temp = temp->next_;
  }
  return NULL;
}

the simulation scene was shown in the attachment.
when i make node 0 send packet to node 1, the error will occur.
would somebody know how to solve it?
thank you for your time!

Problem With EDCA Patch Of 802.11e For Ns2.35

Hello, I started to use ns2.35 recently with Cygwin Terminal 1.7.35 under a virtual machine Windows XP Pro Service Pack 3. I'm having a problem when trying to apply a EDCA patch of 802.11e.

First i tried the oficial patch (intended for ns2.28), then i found a later version of EDCA:
Ref. post #18 he http://www.linuxquestions.org/questi...245/page2.html

I also tried to apply the patch for ns-2.35
Ref. post #70 he http://www.linuxquestions.org/questi...928/page5.html


After I made the changes in the files and running the following commands (as said by the 'README.txt' inside the patch)
./configure; make clean; make depend; make

I got the message:
Code:
g++ -c -O2 -Wall -Wno-write-strings  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -DHAVE_TCLINT_H -DHAVE_TCL_H  -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test  -I. -I. -I/home/Administrator/ns-allinone-2.35/tclcl-1.20 -I/home/Administrator/ns-allinone-2.35/otcl -I/home/Administrator/ns-allinone-2.35/include -I/home/Administrator/ns-allinone-2.35/include -I/home/Administrator/ns-allinone-2.35/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -I./mac/802_11e -o mac/802_11e/mac-802_11e.o mac/802_11e/mac-802_11e.cc
mac/802_11e/mac-802_11e.cc:41:20: fatal error: stream.h: No such file or directory
 #include "stream.h"
                    ^
compilation terminated.
Makefile:93: recipe for target 'mac/802_11e/mac-802_11e.o' failed
make: *** [mac/802_11e/mac-802_11e.o] Error 1

Also, the ns command (which was working before the patch) now shows me an error:
Code:
bash: ns: command not found

I've searched the ns directory and the ns executable there is no more.


Do you have any ideia how to correct this?

Thank you in advance.

Mobile Cloud Gaming Using NS2?

Hi everyone..i have problem in running Mobile Cloud Gaming using NS2. Can anyone share simple coding on Mobile Cloud Gaming using NS2
?
\