Re: [ns] Regarding Routing

2013-02-04 Thread Saravanan Kandasamy

Gopi,

Have you tried to google? Much information is there, just need to
spend some time doing research.

1. For single hop network you dont need routing. You may use dumbagent.

2. There are some implementation for static routing in the web, some
uses DSR as base and some created their own way for filling the
routing table. Check out for NOAH or FixRT.

Good luck.

rgds
Saravanan K



On Wed, Jan 30, 2013 at 5:59 AM, gopi gopi_...@yahoo.co.in wrote:

 Dear ns users,

 can anyone tell me, how to add static routing for wireless 
 network...



 Regards,
 T.Gopi.



Re: [ns] Regarding Routing

2013-02-04 Thread itishi saxena

Hello Saravanan,


I have designed a protocol while rounning various simulations ...sometimes it 
chrashes due to... 
terminate called after throwing instance of 'std::bad_alloc'

what():bad_alloc

As of now from the internet I found this error is due to memory shortage 
...means somehoe my protocol require large mermory...

I need your suggestion...regarding What is the real problem and how to overcome 
it?



Any suggestion would be appreciated.
Itishi.






 From: Saravanan Kandasamy svana...@gmail.com
To: ns-users@isi.edu ns-users@ISI.EDU 
Sent: Tuesday, 5 February 2013 7:07 AM
Subject: Re: [ns] Regarding Routing
 

Gopi,

Have you tried to google? Much information is there, just need to
spend some time doing research.

1. For single hop network you dont need routing. You may use dumbagent.

2. There are some implementation for static routing in the web, some
uses DSR as base and some created their own way for filling the
routing table. Check out for NOAH or FixRT.

Good luck.

rgds
Saravanan K



On Wed, Jan 30, 2013 at 5:59 AM, gopi gopi_...@yahoo.co.in wrote:

 Dear ns users,

             can anyone tell me, how to add static routing for wireless 
network...



 Regards,
 T.Gopi.


Re: [ns] Regarding routing algorithm for broadcasting

2010-11-19 Thread Dhara Buch








1.   I have placed 6 nodes in the following way.

 2 4  5
 
 1 3  6

Node 1 broadcasts a packet.  If I keep the distance among them less, the 
message reaches to each node directly from 1. If not, then 4, 5 and 6 do not 
get. 

Is there any way by which the packet can be made to travel like from 1 to 
2, 
2 to 4, 4 to 5 likewise?

2. I get error like
  
   Segmentation fault (core dumped)

Dhara Buch