Hello everyone,
I am a beginner of ns2. I want to add a new header in Protoname. So can
anyone tell me how to add a new packet header?
thanks
aamirfalcon
> From: ns-users-requ...@isi.edu
> Subject: Ns-users Digest, Vol 77, Issue 1
> To: ns-users@ISI.EDU
> Date: Sat, 1 May 2010 17:00:19 -0700
>
Dear users,
Where to make the changes of routingAgent.h and routingAgent.cc files if
that file are not in ns2.34 please help mi need the urgent.
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 n
in ad hoc network how I can establish an asymmetrical link of node1
towards node2
thanks
Thx, I tried it, it compiled but went I run it it does not display
anythingdo you know what can be the problem?
thx:)
fenomeno83 wrote:
>
> or
>
> set udp1 [new Agent/UDP]
> $ns attach-agent $n0 $udp1
>
> set src1 [new Application/Traffic/CBR]
> $src1 attach-agent $udp1
>
> set nul
or
set udp1 [new Agent/UDP]
$ns attach-agent $n0 $udp1
set src1 [new Application/Traffic/CBR]
$src1 attach-agent $udp1
set null1 [new Agent/Null]
$ns attach-agent $n1 $null1
$ns attach-agent $n2 $null1
$ns connect $udp1 $null1
$ns at 0.1 "$src1 start"
$ns at 50 finish
$ns run
set udp1 [new Agent/UDP]
$ns attach-agent $n0 $udp1
set src1 [new Application/Traffic/CBR]
$src1 attach-agent $udp1
set null1 [new Agent/Null]
$ns attach-agent $n1 $null1
set null2 [new Agent/Null]
$ns attach-agent $n2 $null2
$ns connect $udp1 $null1
$ns connect $udp1 $null2
$ns at
Thanks for your help,
But I want to send the same packet to both nodes at the same time, i.e to
broadcast not to send for each node a packet.
Can you still help me?
Thanks
fenomeno83 wrote:
>
>
>
> set udp1 [new Agent/UDP]
> $ns attach-agent $n0 $udp1
> set udp2 [new Agent/UDP]
> $ns att
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 nu
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 an
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?
___
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
12 matches
Mail list logo