thank u for the idea.  but i'm new with NS2, and don't know how can i get or 
set the radio coverage of a node.


----- Message d'origine ----
De : zze-TOUROLLE Benjamin RD-CORE-CAE <[EMAIL PROTECTED]>
À : ns user <[EMAIL PROTECTED]>
Envoyé le : Lundi, 31 Juillet 2006, 10h40mn 18s
Objet : RE: [ns] how can i generate a large topology of a single hope ad 
hocnetwork

If you really want a single hop topology, you can set the simulation area a 
value which is inferior to the half radio coverage of your nodes:

X=y=r/2

with : topology= x,y and radio=r

In this way all nodes will be able to communicate with the others. Then you can 
use a random number generator and a 'for' loop to set your node positions in 
the simulation area in your tcl script. 

Regards,

Benjamin


-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de ns user
Envoyé : lundi 31 juillet 2006 11:18
À : ns-users@ISI.EDU; ns-users@ISI.EDU
Objet : [ns] how can i generate a large topology of a single hope ad hocnetwork


dear ns users,
how can i generate a large topology (50 nodes fro example) of a single hope ad 
hoc network (802.11).
i don't know what to do to be sure that each node is in the transmision range 
of all other nodes.
is this sufficient to ensure that the network is single hope ? and if it is 
right how to do this with ns ?

please help me, it is urgent.
thanks in advance





Reply via email to