Dear all,

PLease tell me how to calculate neighbors of a node.

regards

Umang
 
> From: [email protected]
> Subject: Ns-users Digest, Vol 77, Issue 7
> To: [email protected]
> Date: Fri, 7 May 2010 17:00:36 -0700
> 
> Send Ns-users mailing list submissions to
> [email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.isi.edu/mailman/listinfo/ns-users
> or, via email, send a message with subject or body 'help' to
> [email protected]
> 
> You can reach the person managing the list at
> [email protected]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ns-users digest..."
> 
> 
> Today's Topics:
> 
> 1. Re: a question on 802.11 simulation on NS-2 (Shengyan Hong)
> 2. Running simulation multiple times with different seed
> ([email protected])
> 3. Fw: fisheye state routing protocol (asmaa el batanony)
> 4. ns2: dsr or aodv with 2 types of node (etudiant etudiant)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 6 May 2010 17:32:19 -0700
> From: Shengyan Hong <[email protected]>
> Subject: Re: [ns] a question on 802.11 simulation on NS-2
> To: [email protected], [email protected]
> Message-ID:
> <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Dear Andreas,
> Thank you very much for your reply.
> My topology is symmetric. Any node can carrier sense the packet
> transmitted by any other node. The carrier sense range is 550 meters, while
> my x-scale length is 470 meters. Am I correct? I do not think that asymmetry
> cause the problem.
> 
> 
> Shengyan
> 
> On Thu, May 6, 2010 at 6:02 AM, Andreas Kassler <[email protected]>wrote:
> 
> > Hi,
> > Not strange. This is the node asymmetry problem. See papers by Ed
> > Knightleys
> > group at Rice university. Similar problem exist in the parking lot
> > scenario,
> > where all flows go towards node 0.
> >
> > Andreas Kassler
> >
> > -----Original Message-----
> > From: [email protected] [mailto:[email protected]] On Behalf
> > Of Shengyan Hong
> > Sent: Donnerstag, 6. Mai 2010 14:44
> > To: [email protected]
> > Subject: [ns] a question on 802.11 simulation on NS-2
> >
> >
> > Dear all,
> > I just did an easier experiment. Topology is a linear line of
> > nodes, 5-4-3-2-1-0. The horizontal distance between two neighbor nodes is
> > 85
> > meters. Stream A comes from 5 to 4, stream B comes from 3 to 2 and stream C
> > comes from 1 to 0. The packet size is 512 bytes, and every 0.01 sec, one
> > packet is sent from the agent. The MAC protocol is 802.11 and the routing
> > algorithm is AODV.
> > Out of 36995 packets in stream C, all reach 0. Out of 36998 packets in
> > stream B, 15127 packets reach 2. Out of 36985 packets in stream A, 9309
> > packets reach 4.
> > It is strange that C transmits all its packets, while B and A
> > drop many packets. Why? Attach the scripts and trace file. Thank you very
> > much.
> >
> > Shengyan
> >
> >
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 07 May 2010 18:07:14 +0800
> From: [email protected]
> Subject: [ns] Running simulation multiple times with different seed
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8; format="flowed"
> 
> I try to average my simulation by running my script multiple times.
> Instead of changing manually, i try to make a loop to my script so
> that i just make a single command for let said, 10 times of the
> simulation
> 
> here is my simulation script:
> 
> # A 100 nodes NS2 AODV Active Route Timeout
> 
> # Define options
> set val(chan) Channel/WirelessChannel ;# channel type
> set val(prop) Propagation/TwoRayGround ;#
> radio-propagation model
> set val(netif) Phy/WirelessPhy ;# network
> interface type
> set val(mac) Mac/802_11 ;# MAC type
> set val(ifq) Queue/DropTail/PriQueue ;# interface queue
> type
> set val(ll) LL ;# link layer type
> set val(ant) Antenna/OmniAntenna ;# antenna model
> set val(ifqlen) 50 ;# max packet in
> ifq
> set val(nn) 52 ;# number of
> mobilenodes
> #set opt(seed) 0.0 ;# disable seed for
> random generator
> set val(rp) AODV ;# routing
> protocol
> set val(x) 1500 ;# X dimension of
> topography
> set val(y) 300 ;# Y dimension of
> topography
> set val(stop) 900 ;# time of simulation end
> set val(sc)
> "/home/saaidal/ns-allinone-2.33/ns-2.33/indep-utils/cmu-scen-gen/setdest/ver1/scen-50-30-10test";
> set val(cp)
> "/home/saaidal/ns-allinone-2.33/ns-2.33/indep-utils/cmu-scen-gen/cbr-100-5test";
> # Mac/802_11 set dataRate_ 2Mb
> 
> set ns_ [new Simulator]
> 
> set tracefd [open source52_30-10.tr w]
> #set windowVsTime2 [open win.tr w]
> #set namtrace [open simwrls52_30-10v1.nam w]
> 
> $ns_ use-newtrace
> $ns_ trace-all $tracefd
> #$ns_ namtrace-all-wireless $namtrace $val(x) $val(y)
> 
> # set up topography object
> set topo [new Topography]
> 
> $topo load_flatgrid $val(x) $val(y)
> 
> set god_ [create-god $val(nn)]
> 
> #
> # Create nn mobilenodes [$val(nn)] and attach them to the channel.
> #
> 
> # configure the nodes
> $ns_ node-config -adhocRouting $val(rp) \
> -llType $val(ll) \
> -macType $val(mac) \
> -ifqType $val(ifq) \
> -ifqLen $val(ifqlen) \
> -antType $val(ant) \
> -propType $val(prop) \
> -phyType $val(netif) \
> -channelType $val(chan) \
> -topoInstance $topo \
> -agentTrace ON \
> -routerTrace ON \
> -macTrace OFF \
> -movementTrace ON
> 
> for {set i 0} {$i < $val(nn) } { incr i } {
> set node_($i) [$ns_ node]
> $node_($i) random-motion 0
> # Disable random motion
> }
> 
> # "./setdest -n 100 -M 10.0 -t 150 -x 1400 -y 1400 > scen-100-10ms"
> for (sc)
> # "ns cbrgen.tcl -type cbr -nn 100 -seed 1.0 -mc 15 -rate 2.0 >
> cbr-100-test" for (cp)
> 
> source $val(sc)
> source $val(cp)
> 
> # Telling nodes when the simulation ends
> for {set i 0} {$i < $val(nn) } { incr i } {
> $ns_ at $val(stop) "$node_($i) reset";
> }
> 
> # ending nam and the simulation
> $ns_ at $val(stop) "stop"
> $ns_ at 900.01 "puts \"end simulation\" ; $ns_ halt"
> 
> proc stop {} {
> exec awk -f PDRovE2Erl.awk source52_30-10.tr >> 10-30.txt
> exec awk -f instantThroughputlatest.awk source52_30-10.tr >>
> thr10-30.txt
> global ns_ tracefd #namtrace
> $ns_ flush-trace
> close $tracefd
> 
> }
> 
> $ns_ run
> 
> for {set j 0} {$j < 10} {incr j} {
> set opt(seed) $j;
> exec ns repSource52_10-30.tcl opt(seed)
> }
> 
> Looking at the last line, the simulation keep on giving result from
> the seed value of zero. I try to average the simulation number from 0
> to 9 so that it's more accurate. Appreciate ur guys help. Tq.
> --------------------------------------------------------------------------------------------
> UNIVERSITY OF MALAYA - " The Leader in Research & Innovation "
> 
> 'This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error, please
> notify the system manager. Please note that any views or opinions
> presented in this email are solely those of the author and do not
> necessarily represent those of the University. Finally, the
> recipient should check this email and any attachments for the
> presence of viruses. The University accepts no liability for any
> damage caused by any virus transmitted by this email.'
> 
> ----- End forwarded message -----
> 
> 
> --------------------------------------------------------------------------------------------
> UNIVERSITY OF MALAYA - " The Leader in Research & Innovation "
> 
> 'This email and any files transmitted with it are confidential and 
> intended solely for the use of the individual or entity to whom they 
> are addressed. If you have received this email in error, please notify 
> the system manager. Please note that any views or opinions presented 
> in this email are solely those of the author and do not necessarily 
> represent those of the University. Finally, the recipient should check 
> this email and any attachments for the presence of viruses. The 
> University accepts no liability for any damage caused by any virus 
> transmitted by this email.'
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Fri, 7 May 2010 09:12:58 -0700 (PDT)
> From: asmaa el batanony <[email protected]>
> Subject: [ns] Fw: fisheye state routing protocol
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
> 
> 
> 
> 
> 
> ----- Forwarded Message ----
> From: asmaa el batanony <[email protected]>
> To: [email protected]
> Sent: Thu, May 6, 2010 6:26:39 PM
> Subject: fisheye state routing protocol
> 
> 
> plz i need any information 
> about how fisheye state routing works
> 
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Fri, 7 May 2010 23:52:45 +0200
> From: etudiant etudiant <[email protected]>
> Subject: [ns] ns2: dsr or aodv with 2 types of node
> To: [email protected]
> Message-ID:
> <[email protected]>
> Content-Type: text/plain; charset=windows-1252
> 
> Hi,
> Can somebody indicate to me how I implement the aodv ou dsr protocol but
> with two type of nodes (end node and transit node) (I created a Boolean
> variable who indicate the type of the node if it is ?end node? then the
> variable is true else false), what I can make so that each node must know
> the type of their neighbors (end node or transit node) in the tabe of
> routing, before the sending of package RREQ, the transit node must test the
> type of the node neighbors (next jump), if it is a node of the type "end
> node" and it is not the destination should not send the packet RREQ towards
> this node, finaly the path (between source and destination) will not contain
> nodes of the type ?end node?, in your opinion I can do that with the
> protocol aodv or DSR.
> thank you very much.
> 
> 
> ------------------------------
> 
> _______________________________________________
> Ns-users mailing list
> [email protected]
> http://mailman.isi.edu/mailman/listinfo/ns-users
> 
> 
> End of Ns-users Digest, Vol 77, Issue 7
> ***************************************
                                          
_________________________________________________________________
Catch the latest in the world of fashion
http://lifestyle.in.msn.com/

Reply via email to