Description: SIMULATION OF NETWORK TOPOLOGY USING NS2
Consider the network where T1-T6 are transmitters and R1-R6 are receivers. R1 receives
from T1, R2 receives from T2 and so on. B1,B2 and B3 act as bottleneck nodes and also
provide for routing of packets. Consider queuing systems as RED for B1,SFQ for B2 and
FIFO for B3.
Queue length of B1and B2 = 1000
Queue length of B3 = 2000
Bandwidth of Ti-Bi links = 200 kbps
Bandwidth of B1-B3 link and B2-B3 link = 500 kbps
Bandwidth of B3-Ri links = 200 kbps
Simulate the above topology using NS2 and study the eect of bottleneck bandwidths
on interarrival time and throughput using the generated trace le.
Write an awk script to nd the desired parameters and plot them using gnuplot for
dierent values of bottleneck bandwidths.
3
To Search:
File list (Check if you may need any files):
Code
....\arrival.awk
....\inter.p
....\ns2.tcl
....\out.nam
....\out.tr
....\throughput.p
....\trace.awk