[ns] MIPv6 Handoff

2006-02-04 Thread altaf hussain

Hello dears.  I am a new bie to NS. I am using NS 2.28. Can any one help me how 
to evaluate the performance of MIPv6 Handoff using NS 2.28. I shall be oblige. 
Thanks



-
Brings words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.


[ns] Elliott-Gilbert TwoState Markov error model

2006-02-04 Thread Samarth Shah

Hi,
   
  I am trying to simulate an Elliott-Gilbert two-state error model in 802.11 in 
which the ratio of the time spent in good vs. bad states is 10:1. I am using 
the following tcl code:
   
  proc tserr {} {
set rvgood [new RandomVariable/Exponential]
$rvgood set avg_ 10.0
set rvbad [new RandomVariable/Exponential]
$rvbad set avg_ 1.0
set err [new ErrorModel/TwoState $rvgood $rvbad pkt]
return $err
}
   
  # configure base-station and all wireless nodes
$ns_ node-config -adhocRouting $opt(adhocRouting) \
 -llType $opt(ll) \
   ...
   ...
 -IncomingErrProc tserr
  
 
  I'm expecting that the average packet loss rate (assuming 100% loss in bad 
state) is roughly 9% (1/11), but this is not the case. I'm using CBR traffic, 
and the length of the simulation is 350 seconds. I'm wondering what I did 
wrong. Could anyone help me out?
   
  Also, how do I change the 100% loss in bad state to (say) an 80% loss?
   
  And finally, in the base error model, does the rate_ represent the fraction 
of packets lost? As in, rate 0.2 means 20% of the packets with error?
   
  Thanks,
  Samarth.


-
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!


[ns] help needed flow monitoring

2006-02-04 Thread Aditya Chavali

hi all

im trying to monitor traffic by flow. could some one help me with the
following?

1. how do i interpret the per flow trace file?
2. how do i make a study of the service time recieved by each flow? im using
a FIFO discipline

thanks

--
keep mailing
urs
@ditya


[ns] MAC protocol

2006-02-04 Thread Curi

Hi all!
Someone knows the features of the mac-simple module?
I tried to find something, but from the manual to the mailing list I  
founded nothing.
It wuold be enough some links..

I'd like also to check, and maybe to change the size of the  
contention window in 802_11,
but I can't find it.

Many thanks!

Curi



[ns] Can we get rid of TCP in wireless?

2006-02-04 Thread xinyu . zhang

Hi all,

It seems that all the wireless network simulation examples in ns tutorials
adopt such a format: app-TCP/UDP-routing-MAC-PHY. However, there
is no transport protocol in real wireless implementations. Is it possible 
to get rid of TCP/UDP and connect application directly to the routing?

Thank you in advance for your attention.