[ns] Is every node using AODV protocol maintains a neighber list of its own?

2010-05-01 Thread 李文旺
Hi~ everyone! I am trying to implement ETX metric into AODV protocol. I have add a count field into the Aodv_Neighber class to acount for the probe packets it received form this neighering node. And changed Hello packet into a link probe packet. (by adding to it a pointer AODV_Neighber

[ns] udp forward packets

2010-05-01 Thread alessandro lazzara
hello, I want use udp agent for a script tcl for 802.11.for example I have node 0 node 1 and node2 and I want that 0(udp agent) send to 1 and 1 forward to 2 that is sink(null agent)but when 1 receive, how can forward to 2?

[ns] URGENT: Broadcast a UDP packet in NS2.34

2010-05-01 Thread JOE88
Dear Users, I am using NS2.34 for my final year project. I want to know How can I broadcast a packet to all my neighbors within 1 hop? Can you help me? I have the following nodes: - - Node 1 Node 0 - - - - Node 2 I want Node 0 to send the packet to both Node 1

Re: [ns] URGENT: Broadcast a UDP packet in NS2.34

2010-05-01 Thread fenomeno83
set udp1 [new Agent/UDP] $ns attach-agent $n0 $udp1 set udp2 [new Agent/UDP] $ns attach-agent $n0 $udp2 set src1 [new Application/Traffic/CBR] $src1 attach-agent $udp1 set src2 [new Application/Traffic/CBR] $src2 attach-agent $udp2 set null1 [new Agent/Null] $ns attach-agent $n1 $null1 set

[ns] bandwidth of a path form internet gateway to mobile node

2010-05-01 Thread asif iqbal
Dear Experts I am working on the internet gateway discovery of mobile node in manet. Now the metric is based on hop count in case of gateway selection. For my thesis purpose i want incorporate bandwidth with hop count to select the gateway. So i need to know the current bandwidth of each mobile