[ns] good reply in DSR

2010-06-02 Thread qaziusman


hello well i want to know wht this code means in DSR code n how is it
checking/deciding wether its a good/bad reply on what basis...! i will
really be thankful for your help...! 
  bool good_reply = true;  
  //#ifdef USE_GOD_FEEDBACK
  /* check to see if this reply is valid or not using god info */
  int i;
  
  for (i = 0; i  reply_route.length()-1 ; i++) 
if (God::instance()-hops(reply_route[i].getNSAddr_t(), 
  reply_route[i+1].getNSAddr_t()) != 1)
  {
good_reply = false;
break;
  }
-- 
View this message in context: 
http://old.nabble.com/good-reply-in-DSR-tp28752072p28752072.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] How to get the routing information from DSR

2010-06-02 Thread qaziusman


well u can print the information of the routes in route reply,,,! tht is easy
n c how many routes are available n which route is being used ...  length
of route and nodes in the route replies,..! and wat is ur work on DSR??

RJ Lin wrote:
 
 
 Hi, Mubashir,
 
 Thanks for your reply. I have see the FAQs by Bryan. but there is not 
 detail description. I still dont know hoe to get this information. For 
 example, when a packet is sending from a source, the routing is existed. 
 How to get that routing and print it? Is it ablt to get from DSR header?
 or 
 I have to search it from Cache?
 
 Regards,
 
 RJ Lin
 
 --On 26 May 2010 14:33 +0200 Mubashir Rehmani mshrehm...@gmail.com
 wrote:
 
 Hi Ruilie Lin,

 See this very informative FAQs on DSR protocol in ns2. I hope that it
 will help you.

 Regards
 Mubashir Husain Rehmani
 Lip6, UPMC, Paris, France


 On 26 May 2010 14:25, RJ Lin rj@bristol.ac.uk wrote:


 Hello Everyone,

 Is it able to get the source routing for a path which a packet travels
 through in DSR?

 Regards,

 RJ Lin

 --
 RuiJie Lin
 Dept. Electrical  Electronic Engineering, Bristol University
 Merchant Venturers Building, Woodland Road, Clifton,
 Bristol BS8 1UB
 E-mail: rj@bristol.ac.uk
 Tel.: +44-11733-15057





 --
 Mubashir Husain Rehmani


 
 
 
 --
 RuiJie Lin
 Dept. Electrical  Electronic Engineering, Bristol University
 Merchant Venturers Building, Woodland Road, Clifton,
 Bristol BS8 1UB
 E-mail: rj@bristol.ac.uk
 Tel.: +44-11733-15057
 
 
 

-- 
View this message in context: 
http://old.nabble.com/How-to-get-the-routing-information-from-DSR-tp28680100p28752123.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] IEEE802.11 PSM's source codes!

2010-06-02 Thread Elham Noori

Hi all users,
Do somebody have IEEE802.11 PSM's (The power save mode MAC protocol) source
codes? OR Do you know where can I find them?
I really need them!
If you have, please send me too!
Thanks,

-- 
Elham Noori


Re: [ns] IEEE802.11 PSM's source codes!

2010-06-02 Thread Mubashir Rehmani

Hi Elham Noori,

You may find it here:
http://sarwiki.informatik.hu-berlin.de/Network_Simulator_ns2
http://nspme.sourceforge.net/
http://nsnam.isi.edu/nsnam/index.php/Contributed_Code

Regards
Mubashir Husain Rehmani
Lip6, UPMC, Paris, France

On 2 June 2010 13:50, Elham Noori elha...@gmail.com wrote:


 Hi all users,
 Do somebody have IEEE802.11 PSM's (The power save mode MAC protocol) source
 codes? OR Do you know where can I find them?
 I really need them!
 If you have, please send me too!
 Thanks,

 --
 Elham Noori




-- 
Mubashir Husain Rehmani


Re: [ns] Network Coding in NS2

2010-06-02 Thread Amit Khanna

Hi

Is anyone working on network coding simulation in NS2. Is there any
patch available?

Thanks
Amit Khanna



[ns] Bandwidth/utilization graph Ns2

2010-06-02 Thread Alexandre Jaron

Hello,

I am research/Msc student at the King's College London.
I am building a wired topology.I need to create some graphs to see the
congestion/utilization, the tcp flow for instance. How could I do that in
NS2 ?
What script should I add to my code to make it possible ?

Thanks you very much for helping me out.

Alexandre Jaron,
KCL MSc student.


Re: [ns] Performance of AOMDV

2010-06-02 Thread Heni.K


HI Mr Charley Cheng, 
Hi everyone

I’m a student who have the some probleme and I need to value the facts of
multipath routing in
mobile ad hoc networks in terms of Packet Loss compared to AODV protocol.
I works in ns2.34 .
the results found for AOMDV are always worse than AODV protocol.
Can you help me in this context? 
Thank you very much.

Héni.





Charley Cheng wrote:
 
 Hi everyone,
 I am trying to reproduce the simulations results of AOMDV paper. I
 followed the same parameters described in the paper, which are listed
 below:
 1. Network size: 1000m*1000m
 2. Number of nodes: 100 nodes
 3. Radio transmission range: 250m
 4. Channel bit rate: 2Mb/s
 5. 50 CBR/UDP connections; each connection strats at a random time during
 the intial 100s of the simulation and stay till the end
 6. Packet size: 512 bytes
 7. Packet rate: 1 packets/s
 8. Simulation time: 1000s with the inital 250s taken as the warmup period
 
 Moreover, according to AOMDV paper, I also disabled expanding ring search
 and local repair, and enabled periodic hello messages for neighborhood
 information maintenance by disabling link layer detection.
 
 Based on the above parameters, I ran simulations for AODV in varying node
 speed (from 1 m/s to 30 m/s). I got the packet loss from 6.14% to 54%.
 However, the latency (or end-to-end delay) is very low (below 0.11s). It
 is not reasonable. So, could anyone tell me what are the problems I
 encountered? Thanks in advance.
 
 Charley Cheng
 

-- 
View this message in context: 
http://old.nabble.com/Performance-of-AODV-tp27844400p28724592.html
Sent from the ns-users mailing list archive at Nabble.com.




Re: [ns] Performance of AOMDV

2010-06-02 Thread Heni.K


Thank you very much Mr Charley for your response :-) 

I simulated the AOMDV protocol under NS 2.34 using the following
parameters: 

1. Network size: 1500m*500m
2. Number of nodes: 50 nodes
3. Radio transmission range: 250m
4. Channel bit rate: 2Mb/s
5. 10 CBR/UDP connections; each connection strats at a random time during
the intial 50s of the simulation and stay till the end
6. Packet size: 512 bytes
7. Packet rate: 5 packets/s
8. Simulation time: 2000s with the inital 200 s taken as the warmup period 
9. Modele de mobilité: RWM
10. Pause time: 10s 


Best regards. 

Heni KAANICHE.

-- 
View this message in context: 
http://old.nabble.com/Performance-of-AODV-tp27844400p28761069.html
Sent from the ns-users mailing list archive at Nabble.com.




[ns] How can I get the wireless nodes' position information in C++ code.

2010-06-02 Thread mjzrytl

hello everyone.
   I want to improve DSR routing protocol .I want to define a node's interface 
by the distances from other nodes.
   How can I tell what node code is currently executing on .And how can I get 
the position informantion of all other nodes in the node's  C++ code?

yours 

   zhang8677