Top Banner

Click here to load reader

Gui Manual

Aug 26, 2014

ReportDownload

Documents

NCTUns GUI Manual

The GUI User Manual for the CTUns 6.0 etwork Simulator and EmulatorAuthors: Prof. Shie-Yuan Wang, Chih-Liang Chou, and Chih-Che LinLast update date: January 15, 2010Produced and maintained by etwork and System Laboratory, Department of Computer Science, ational Chiao Tung University, TaiwanTable of Contents1. Introduction .....................................................................................................................12. Getting Started .................................................................................................................73. Topology Editor .............................................................................................................194. Node Editor ....................................................................................................................435. Packet Animation Player ...............................................................................................476. Performance Monitor .....................................................................................................517. Emulation ......................................................................................................................558. Distributed Emulation ....................................................................................................639. Mobile IP .......................................................................................................................7410. Physical Layer and Channel Model ..............................................................................7711. RTP/RTCP/SDP ..........................................................................................................9012. GPRS Networks ...........................................................................................................9513. DiffServ QoS Networks .............................................................................................10214. Optical Networks .......................................................................................................10715. IEEE 802.11 Wireless Mesh Networks ......................................................................11516. IEEE 802.11(e) QoS Networks ..................................................................................11817. Tactical and Active Mobile Ad Hoc Networks...........................................................12118. DVB-RCS Satellite Networks ....................................................................................12519. IEEE 802.11(p)/1609 Networks ................................................................................13820. Multi-interface Mobile Nodes ....................................................................................14721. IEEE 802.16(d) WiMAX Networks ...........................................................................15222. IEEE 802.16(e) WiMAX Networks ...........................................................................15623. IEEE 802.16(j) WiMAX Networks ...........................................................................16011. Introductionelcome to the GUI user manual of NCTUns - ahigh-fidelity and extensible network simulator andemulator. In this introduction, we will brieflyintroduce the capabilities and features of NCTUns. To helpusers understand how NCTUns works, the high-levelstructure of NCTUns will be presented in detail. Somescreenshots are shown in this chapter to let readers get a feelof NCTUns. Capabilities and FeaturesNCTUns uses a novel kernel-reentering simulation method-ology [1, 2, 3, 4, 5, 6, 7, 8]. As a result, it provides severalunique advantages that cannot be easily achieved by tradi-tional network simulators. In the following, we brieflyexplain its capabilities and features.High-Fidelity Simulation ResultsNCTUns directly uses the real-life Linuxs TCP/IP protocolstack to generate high-fidelity simulation results. By usingthe novel kernel re-entering simulation methodology, a real-life UNIX (e.g., FreeBSD or Linux) kernels protocol stackis directly used to generate high-fidelity simulation results. Reusing All Real-Life Application Programs In NCTUns, all real-life existing or to-be-developed UNIXapplication programs (e.g., the P2P BitTorrent application)can be run up on a node in a simulated network. Thisprovides several unique advantages: (1) These real-lifeapplication programs generate realistic network traffic todrive simulations, which leads to more convincing resultsthan using the artificial traffic generated by some simpletoy functions, (2) The performances of these real-lifeapplications under various network conditions can beevaluated and then improved before they are released to thepublic. For example, a network-game application can be firsttested, evaluated, and improved on NCTUns before it isreleased to the public, (3) The applications developed at thesimulation study stage can be readily used and deployed onreal-life UNIX machines when the simulation study isfinished. This will save time and effort significantly. Same Configuration and Operation as for Real-Life NetworksIn NCTUns, the configuration and operation for a simulatednetwork are exactly the same as those for a real-life IPnetwork. This provides two advantages: (1) If a user knowshow to configure and operate a real-life IP network, he (she)immediately knows how to configure and operate asimulated network in NCTUns, (2) Conversely, since theconfiguration and operation of simulated networks inNCTUns are exactly the same as those for real-life IPnetworks, NCTUns can be used as a training tool to educatepeople how to configure and operate a real-life IP network.In NCTUns, many valuable real-life UNIX network config-uration tools (e.g., route, ifconfig, netstat) and performancemonitoring tools (e.g., ping, tcpdump, traceroute) can bedirectly run on a simulated network to configure and monitora simulated network. Seamless Integration of Emulation and SimulationNCTUns can be turned into an emulator easily. In anemulation, nodes in a simulated network can exchange realpackets with real-world machines via the simulated network.That is, the simulated network is seamlessly integrated withthe real-life network so that simulated nodes and real-lifenodes can exchange their packets across the integratedsimulated and real-life networks. This capability is veryuseful for testing the functions and performances of a real-life device (e.g., a VoIP phone) under various network condi-tions. In a NCTUns emulation case, an external real-lifedevice can be a fixed host, a mobile host, or a router.NCTUns supports distributed emulation of a large networkover multiple machines. If the load of an emulation case istoo heavy so that it cannot be carried out in real time on asingle machine, this approach can simultaneously use theCPU cycles and main memory of multiple machines to carryout a heavy emulation case in real time. More informationabout this useful feature is available in a later chapter namedDistributed Emulation.High Simulation Speeds and Repeatable Simulation ResultsNCTUns combines the kernel re-entering simulationmethodology with the discrete event simulation method-ology. As a result, it executes simulations quickly. NCTUnsmodifies the process scheduler of the Linux kernel toaccurately control the execution order of the simulationengine process and all involved real-life applicationprocesses. If the same random number seed is used for asimulation case, the simulation results are repeatable acrossdifferent runs.Support for Various Important NetworksNCTUns simulates Ethernet-based IP networks with fixednodes and point-to-point links. It simulates IEEE 802.11(a)(b) wireless LAN networks, including both the ad-hoc andinfrastructure modes. It simulates GPRS cellular networks. ItW2simulates optical networks, including traditional circuitswitching optical network and more advanced optical burstswitching (OBS) networks. It simulates IEEE 802.11(b) wireless mesh networks, IEEE802.11(e) QoS networks, tactical and active mobile ad hocnetworks, and wireless networks with directional andsteerable antennas. It simulates 802.16(d) WiMAXnetworks, including the PMP and mesh modes. It simulates802.16(e) mobile WiMAX PMP networks. It simulates802.16(j) transparent mode and non-transparent mode relayWiMAX networks. It simulates the DVB-RCS satellitenetworks for a GEO satellite located 36,000 Km above theearth. It simulates 802.11(p)/1609 vehicular networks, whichis an amendment to the 802.11-2007 standard for highlymobile environment. Over this platform, one can easilydevelop and evaluate advanced V2V (vehicle-to-vehicle)and V2I (vehicle-to-infrastructure) applications in the ITS(Intelligent Transportation Systems) research field. It simulates multi-interface mobile nodes equipped withmultiple heterogeneous wireless interfaces. This type ofmobile nodes will become common and play an importantrole in the real life, because they can choose the most cost-effective network to connect to the Internet at any time andat any location. Support for Various Networking DevicesNCTUns simulates common networking devices such asEthernet hubs, switches, routers, hosts, IEEE 802.11(b)wireless access points and interfaces, IEEE 802.11(a)wireless access points and interfaces, etc. For opticalnetworks, it simulates optical circuit switches and opticalburst switches, WDM optical fibers, and WDM protectionrings. For DiffServ QoS networks, it simulates DiffServboundary and interior routers for QoS provisio