2008年3月13日 星期四

lab3 Network Scenario Generator (NSG)

NGS is another TCL generator.
Both wired and wireless network can be simulated.

wired simulation
1.
The same topology from lab2 is used. But we take NGS as the simulator.


2. After all the parameter is all set. Click the TCL button to generate TCL files.


3. type "ns lab2nsg.tcl" you will get out.nam and out .tr



4.

Use nam to run the .nam files.
The animation start.


wireless simulation
1.
according to the ref. book, we can create the topology of 6 nodes.





2. n4 waypoint setup and agent , application are carefully determined.

Use nam to run the .nam files.

The animation of the wireless scenario as follows.







n4 is moving horizontally form (200,300) to (200,800)

沒有留言:

張貼留言