Académique Documents
Professionnel Documents
Culture Documents
NS-2 Simulation
Dr. I Wayan Mustika, ST., M.Eng.
Jurusan
Teknik
Elektro
dan
Teknologi
Informasi
FT
UGM
Outline
ns2- Network Simulator
Wired Network
Wireless Network
Wired
Creating a simple two node network topology
Adding traffic to the link
UDP traffic
TCP traffic
Fault injection
Step 1:
Step 2:
n1
n0
Step 3:
Step 4:
n1
n1
udp
n0
n1
udp
cbr
n0
udp
n1
null
cbr
n0
udp
n1
null
cbr
Trace Analysis
http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats
Wireless Simulation
Performance Metrics
We will try to evaluate the routing protocols in terms of two
metrics
1. Packet delivery fraction : It is the ratio of packets
delivered to that generated by the traffic generator.
2. Routing load : It is the number of routing packets required
to be sent per data packet delivered.
T