[ns] errors in compiling tcl script

2010-05-29 Thread Mucktar Pakpahan


hi,

when i'm trying to compile tcl script i got this warning messages
-
warning: Route to base_stn not known: dropping pkt
-

Could anyone of you fixed it?.
Where is the failure in tcl script?

regards
Mucktar 



[ns] ask with hierarcial routing

2010-05-26 Thread Mucktar Pakpahan

hello everyone,

i'm working on hierarcial routing now.
i found this on the tcl script
--
set BS1 [$ns_ node 1.0.0]
--
i still don't know what 1.0.0 value describing 
anyone knows?, or giving me more specific explanation?

regards
mucktar



[ns] asking about loss monitor (sink)

2010-05-26 Thread Mucktar Pakpahan


hello everyone,

i'm running a scenario on UDP with CBR application using Loss Monitor
i get this from NS 2 tutorial in tcl script.

set f1 [open loss.tr w]
.
.
set bw1 [$sink set nlost_]
.
.
puts $f1 $now [expr $bw1/$time]

this is what occurs in loss.tr

0.5 0.0
1 0.0
1.5 0.0
2 28.0
2.5 22.0
3 0.5.0
3.5 17.0
4 0.8
4.5 4.0
5 0.0

what value is described by 28,22,5,17,8,4 ?

regards
mucktar




[ns] Tcl script problems

2010-05-25 Thread Mucktar Pakpahan

hi,

Could you please help me to make the tcl script for this scenario?

O   ---BS MN
|   |   
O---O-- R--O  BS -MN
|   | |O
O-----RO
  |O
  BS -MN

O   -- Wired conencted nodes 
BS  -- Base Station
R   -- Router
MN  -- Mobile Nodes

regards

Mucktar



[ns] Problems while compiling TCL script

2010-05-24 Thread Mucktar Pakpahan


hello everyone,

I'm running a tcl script and i get this errors.

==
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 2.0,  distCST_ = 733.4
SORTING LISTS ...DONE!
MAC_802_11: accessing MAC cache_ array out of range (src 11, dst 0, size 10)!
MAC_802_11: accessing MAC cache_ array out of range (src 10, dst 0, size 10)!
MAC_802_11: accessing MAC cache_ array out of range (src 13, dst 0, size 10)!
MAC_802_11: accessing MAC cache_ array out of range (src 11, dst 0, size 10)!
MAC_802_11: accessing MAC cache_ array out of range (src 11, dst 0, size 10)!
MAC_802_11: accessing MAC cache_ array out of range (src 13, dst 0, size 10)!
MAC_802_11: accessing MAC cache_ array out of range (src 10, dst 0, size 10)!
MAC_802_11: accessing MAC cache_ array out of range (src 10, dst 0, size 10)!
MAC_802_11: accessing MAC cache_ array out of range (src 13, dst 0, size 10)!
MAC_802_11: accessing MAC cache_ array out of range (src 11, dst 0, size 10)!

==

Anyone know how to fix it?, please reply me soon.

regards
Mucktar



[ns] Data rate for Mac/802_11

2010-05-17 Thread Mucktar Pakpahan


Hello every one

Can you help me?.How to set data rate of Mac/802_11 to 54Mbps?


Thanks

Mucktar



[ns] Measure packet loss and delay on TCP protocol

2010-04-25 Thread Mucktar Pakpahan


Hello everyone,

Anybody knows how to measure packet loss and delay on TCP protocol?.
Please help me it's urgent. Thanks...

Mucktar