110 likes | 119 Views
This project developed a test case in ns2 for generating and analyzing wireless LAN traffic. The test case includes multiple access points and clients connected to a wired network, allowing for testing of new propagation and traffic models.
E N D
Building a Wireless LAN traffic test case in ns2 by Kassim Olawale Radio Science Laboratory Department of Electrical and Computer Engineering The University of British Columbia
Summary of Work • Created and ran a tcl script with 2 APs and 6 clients • Identified some of the current traffic models in ns2 Building traffic test case in ns2
Outline • Test case developed • Current traffic generation programs in ns2 • Conclusions and future work Building traffic test case in ns2
Test case developed • 2 APs (base stations) connected to the same wired node • 6 clients (mobilenodes) connected to one of the base stations (the other base station is idle) • Two of the clients send or receive data from the wired network through a base station • This script can be used for testing new propagation models and new traffic models Building traffic test case in ns2
Test case developed Building traffic test case in ns2
Test case developed • Run demo • Issues : • Propagation model • Range of wireless nodes • Outgoing and incoming traffic • Others • Movement pattern of wireless nodes • Connection of mobile nodes to various base stations (association and authentication) Building traffic test case in ns2
Traffic generation in ns2 • UDP • Constant bit rate (CBR) • Exponential traffic • TCP • ftp • Scenario generator • Topology generator • Agent generator • Route generator Building traffic test case in ns2
Traffic generation in ns2 • UDP traffic configuration parameters • CBR • Exponential traffic • set traffic [new Application/Traffic/Exponential] • $traffic set packet-size $size • $traffic set burst-time $burst • $traffic set idle-time $idle • $traffic set rate $rate • $traffic attach-agent $source Building traffic test case in ns2
Traffic generation in ns2 • TCP • ftp • set ftp [new Application/FTP] • $ftp attach-agent $tcp • $ns_ at 10.0 "$ftp start" Building traffic test case in ns2
Conclusions • Produced a simple wireless network test case in ns2 • Identified current traffic generation tools in ns2 Building traffic test case in ns2
References • S. McCanne and S. Floyd. ns Network Simulator. http://www.isi.edu/nsnam/ns/ • Kevin Fall, Kannan Varadhan, and the VINT project. The ns manual. http://www.isi.edu/nsnam/ns/ns-documentation.html Building traffic test case in ns2