How can I locate the position of the nodes on LAN

View: New views
1 Messages — Rating Filter:   Alert me  

How can I locate the position of the nodes on LAN

by minhquan86 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've simulated a Local net work by the command:

 “set lan [$ns newLan "$n0 $n1 $n2 $n3 $n4" 1.0Mb 40ms LL Queue/Droptail MAC/Csma/Cd Channel]”

But the nodes is located randomly so if I increase the number of the nodes, it'll be complicated. How can I set the initial location of the nodes !? Thanks!