NetworkNetwork Simulator nsSimulator ns--2 2 withwith E.U.R.A.N.E. E.U.R.A.N.E.
Mladen MarkovicUniversity of Montenegro
[email protected], 21 Juni 2004
2Introduction
Installation and Installation Problems
Network simulator version 2 and E.U.R.A.N.E
Description of E.U.R.A.N.E
Simulations
3Installation and Installation Problems Step 1
There are two ways to install ns simulatorall in one packet or from peaces (for Windows,Windows XP and LINUX)
from this link we have downloaded all-in-one version of ns simulator ns-2.26
http://www.isi.edu/nsnam/dist/file name ns-allinone-2.26.tar.+
all in one packet works only under Linux system !
4Installation and Installation Problems Step 2
After you have downloaded ns simulator you have to download these files from this web address
http://www.ti-wmc.nl/eurane/download this file ns-eurane-106b.diff.gzbecause this is patch file for ns-2.26 version !test_tcp.tcl test script for validation of installing
MatlabPreprocess.tar.gz Matlab scripts to generate input trace files
SNRBLERMatrix.gz this file gives error model for HS-DSCH
Eurane_user_guide_1_3.pdf
5Installation and Installation Problems Step 3 First problem : installation under Red Hat did not work, we had to
install it under KNOPPIX 3.0 version
before doing any thing check the compiler version !
Installation procedure for ns : create directory called ns2cd ns2gunzip ns-allinone-2.26.tar.gztar xvf ns-allinone-2.26.tarcd ns-allinone _2.26./ installif this procedure goes ok, then you run this command ./validate Do not forget to change environmental variables after installing
procedure!
6Installation and Installation Problems Step 4
If you have successfully built ns
Put the path to your ns executable into your PATH environment
Put the path to your otcl into your LD_LIBRARY_PATH environment
Put the path to your tcl library into your TCL_LIBRARY environment
useful links about ns simulator and Eurane
http://www.isi.edu/nsnam/ns/http://www.ti-wmc.nl/eurane/
7Installation and Installation Problems Step 5
Now we can proceed to the patching of E.U.R.A.N.E module
You have to patch diff file to the clean distribution of ns simulator !go to ns-2.26 directory and run the command
guzip ns-eurane-106b.diff.gzpatch p1 < ns-eurane-106b.diff.after this you compile and run this command ns test_script.tcl
8Installation and Installation Problems Step 6
I have explained in short the procedure for installing of ns simulator
ns-2.26 version;This is an older version ,new one ns-2.27 has just revealed ,butbecause this is an open source software the older versions are far better cleaned from bugs
So in my opinion I recommend ns-2.26
9 Installation and Installation Problems
Network simulator version 2 and E.U.R.A.N.E
Description of E.U.R.A.N.E
Simulations
10
Network simulator version 2 and EURANE
Ns is a discrete event simulator
Open source simulator with many bugs
Network simulator is not a polished and finished product, but the result of an on-going effort of research and developers
11
Installation and Installation Problems
Network simulator version 2 and E.U.R.A.N.E
Description of E.U.R.A.N.E
Simulations
12
Description of E.U.R.A.N.E
EURANE is short of Enhanced UMTS Radio Access Network extension for ns-2
It applies three new nodes BS, UE ,and RNC
Allow to support these transport channels - FACH- RACH - DCH- HS-DSCH
13
Description of E.U.R.A.N.E
Single cell implementation no handovers, mobility models, load control
No power control available for the DCH, FACH and RACH
For HS-DSCH they assume this curve for error model
( ) ( ) 3.1703.11log2
log3 7.010
10 += CQIBLERCQISNR
14
Description of E.U.R.A.N.EError model for HS-DSCH: SIRtoBER curves for all possible CQIs
Error model for RACH, FACH and DCH Fixed error probability set
15
Installation and Installation Problems
Network simulator version 2 and E.U.R.A.N.E
Description of E.U.R.A.N.E
Simulations
16
Simulations
Always use even number of users for HSDSCH,FACH,RACH and DCH
After you run simulations you have to now what scripts representout.tr is the name of trace fileFor more information go to ns-manual on the this web adresshttp://www.isi.edu/nsnam/ns/to find what format of trace filesr stands for received packet+ stands for beginning of queuing - stands for end of queuingd stands for dropt packet
17
Simulations For FACH and RACH you can not simulate two applications at the
same time for two users
There are very little tools who can help you to do fast evaluationbased on the trace files that you have generated
One of them is nans2
To install this tool you need to have installed Java
With this tool you can calculateTHROUGHPUTSequence number vs. TimeRTT vs TimeTHROUGHPUT(One way) vs. time
18
Simulations
Interface of nans2
19
Graph Interface for nans2