2008年2月28日 星期四

lab2 nsBench

1. learn how to use nsBench to create TCL files.

2.try to use java VM to excute the nsBench

basically, use java -jar filename to execute the jar file.(type java to find all the doc.)

3.

and then you can open the nsBench program


4.add some node according to the ref. book. And separate all the nodes as in the following fig.
Also, get a link between two nodes.


5. click the link, you can get the properties to set to the value.


6. We want to set up a FTP connection, in the beginning , create TCP Tahoe first.


6.add sink, ftp
and a connection between tcp and sink

in n1, insert udp and CBR program.
in n3, insert null.



7.
edit the CBR


8. Scenario setting


9. code configuration
all the names you can rename


10. save and generate TCL file.


11.Do a simulation





11.
mulicast test
layout the topology like this


12.
routing type


13.

click udp0 and destination address is multicast


14.


沒有留言:

張貼留言