[ns] URGENT!!!! delay of aodv and dsr in ns2.34 not correct!

2010-09-09 Thread tiongsquare


hi guys really need help here, i been simulation dsr aodv by varying the
number of network load, then i calculated the end to end delay, however the
result isnt what i expected, it begins with high delay with lowest
trafficload, then it goes down and up again forming a "U" shape trend. how
could low network load has high delay? anyone know whats wrong with the 2
protocol that is already in ns2.34? i try with um-olsr and has no problem
with that. any help will be greatly appreciated
-- 
View this message in context: 
http://old.nabble.com/URGENT%21%21%21%21-delay-of-aodv-and-dsr-in-ns2.34-not-correct%21-tp29673500p29673500.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] how to use $ns create-trace type file src dst op

2010-09-09 Thread Tingshan Huang

Sorry for so many duplicated posts I kept getting errors when doing the
posting and thus kept trying to post, and didn't know they were all
successfully posted. Sorry if that bothers you.

On Thu, Sep 9, 2010 at 12:04 AM, pangpang  wrote:

>
>
> Can anyone help me in using this command?
>
> Suppose my topology is
> s0
>  \\
>  r1==r2==d0
>  //
> s1
>
> I don't know where I should put this command in my script. If I want to get
> statistics of drops btw link s0 and d0, should I do things like:
>
> set ns [new Simulator]
> $ns create-trace Drop file s0 d0
>
> and then the creating nodes, links, sources part?
>
> I think I missed something... also, what should the "file" be?
>
> Thanks for any advice!
> --
> View this message in context:
> http://old.nabble.com/how-to-use-%24ns-create-trace-type-file-src-dst-op-tp29647006p29647006.html
> Sent from the ns-users mailing list archive at Nabble.com.
>



-- 
Tingshan Huang
215-895-1881
Department of ECE
Drexel University
Philadelphia PA 19104


[ns] discard RREQ in aodv

2010-09-09 Thread Lyx

Hello

My object is to discard the RREQ in aodv.cc file  if a condition is satisfied, 
I try this part in aodv.cc, but I don't know the technique to achieve it, 
please can you help me?
 
/*
  * Can't reply. So forward the  Route Request
  */
 else {
    
    
   if(mycondition()){
      
     ih->saddr() = index;
 ih->daddr() = IP_BROADCAST;
 rq->rq_hop_count += 1;
 // Maximum sequence number seen en route
 if (rt) rq->rq_dst_seqno = max(rt->rt_seqno, rq->rq_dst_seqno);
 forward((aodv_rt_entry*) 0, p, DELAY);
    }
   else {
   printf("%d No cas \n", index);
  Packet::free(p);

   }
   
 }
}

All the best
Lyx




  


[ns] help required

2010-09-09 Thread Prabhat .

I have my goal to design a simple wimax scheduler in ns2. I have recently
installed ns2.31 and patched it with NIST wimax module.

Being a novice, i seek help on how to proceed for this.

-Regards.


[ns] need CBRP TCL script

2010-09-09 Thread Eng.Haitham Ghalwash [CCE]

 Hello Friends,

I am working on *CBRP protocol*

i've build it in ns-2 but not able to find a suitable script for it.

Could any one please provide me a suitable TCL script so that I can check this 
protocol.

any analysis scripts would be helpful too.

Eng.Haitham Ghalwash
Computer and Control Engineering department Faculty of Engineering, Tanta 
University


[ns] 802.15.4 and wired connections

2010-09-09 Thread Chiraz Chaabane

Hi,
 
I am trying to connect two different 802.15.4 PANs by using a wired connection 
within an hiarchical topology. Both coordinators are base stations. Messages 
transfer from one wireless node to a wired node works fine, but when i want to 
transfer a message from a wireless node connected to the first base station to 
another connected to the second base station, the first base station tries to 
forward the packet by using wireless medium. Any idea or suggestion please! 

Regards,
Chiraz