a
&
,
KOLEJ KOMUNITI ARAU PERLIS (KKAP) NETWORK MODELING USING OMNET++
MOHD AISHAMUDDIN BIN YAAKOB
UNIVERSITI UTARA MALAYSIA
2012
Kolej Komuniti Arau Perlis (KKAP) Network Modeling using OMNeT++
A thesis submitted to the UUM College of Arts and Sciences in partial fulfillment of the requirement for the degree
Master of Science (Information Technology) Universiti Utara Malaysia
BY
Mohd Aishamuddin bin Yaakob
Copyright O Mohd Aishamuddin Yaakob, 2012. All rights reserved
2
KOLEJ SASTERA DAN SAINS (College of Arts and Sciences)
Universiti Utara Malaysia
PERAKUAN KERJA KERTAS PROJEK (Certificate of Project Paper) Saya, yang bertandatangan, memperakukan bahawa (I, the undersigned, certifies that)
MOHD AISKAIVLUDDIN YAAKOB 4809 190)
calon untuk Ijazah
(candidate for the degree ofl MSc. IInformation T e c h n o l o m l
telah mengemukakan kertas projek yang bertajuk (has presented his/ herproject of the following title)
KOLEJ KOMUNITI ARAU PERLIS (KKAP) NETWORK MODELING USING OMNET++
seperti yang tercatat di muka surat tajuk dan kulit kertas projek (as it appears on the title page and front cover of project)
bahawa kertas projek tersebut boleh diterima dari segi bentuk serta kandungan dan meliputi bidang ilmu dengan memuaskan.
(that this project is in acceptable form and content, and that a satisfactory knowledge of the field is covered by the project).
Nama Penyelia
(Name of Supervisor) : MRS. NORAZILA ALI
Tandatangan 2 _ _ _ )
(Signature)
-
PERMISSION TO USE
In presenting this project of the requirements for a Master of Science in Information Technology (MSc. IT) from Universiti Utara Malaysia, I agree that the University library may make it freely available for inspection. I further agree that permission for copying of this pro-ject paper in any manner, in whole or in part, for scholarly purposes may be granted by my supervisor(s) or in their absence, by the Dean of Graduate School.
It is understood that any copying or publication or use of this pro-ject or parts thereof for financial gain shall not be allowed without my written permission. It is also understood that due recognition shall be given to me and to Universiti Utara Malaysia for any scholarly use which may be made of any material fro111 my project paper. Request for pern~ission to copy or make other use of materials in this project, in whole or in part, should be addressed to:
Dean of Postgraduate Studies and Research UUM College of Arts and Sciences
Universiti Utara Malaysia 06010 UUM Sintok Kedah Darul Aman
Malaysia
ABSTRAK
Rangkaian komputer menjadi sangat penting di dalam masyarakat pada masa kini.
Majoriti syarikat bergantung sepenuhnya kepada rangkaian komputer untuk me~l~jalankan urusan komunikasi, pentadbiran, automasi, e-perniagaan dan fungsi korporat yang lain. Gangguan kepada rangkaian tersebut, akan menyebabkan kerugian yang besar kepada syarikat. Untuk mengelakkan masalah ini dari berlaku, Pengurus Unit ICT memerlukan suatu perisian simulasi, untuk membantu di dalam merekabentuk dan menguruskan rangkaian komputer. Perisian simulasi membolehkan keputusan dapat dilihat secara maya apabila berlaku penambahan perkakasan rangkaian. perubahan topologi, peningkatan muatan trafik dan penambahan pengguna di dalam rangkaian. Perisian Simulasi OMNeT++ terdapat pelbagai fungsi untuk menghasilkan sebuah simulasi rangkaian. Objektif pro-jek ini adalah untuk membina dan menghasilkan simulasi rangkaian sebenar di Kolej Komuniti Arau Perlis (KKAP) menggunakan perisian simulasi OMNeT++.
Simulasi ini menggunakan data dan parameter yang sebenar, diambil daripada sistem rangkaian sedia ada. Jangkaan keputusan pro-jek ini, akan menghasilkan simulasi rangkaian komputer mengikut rangkaian KKAP yang sebenar. Pada masa akan datang. pro-iek ini dijangka akan digunakan untuk membantu KKAP di dalam merangka untuk meningkatkan kapasiti rangkaian tanpa menjejaskan rangkaian yang sedia ada.
ABSTRACT
Computer networks have become extremely important in our present-day society.
A majority of companies depend on the proper functioning of their networks for comrnunications, administration, automation, e-business solutions and other corporate functions. Outage of the network can cost a company millions of money. To avoid these problems, system managers need professional tools to help them with the design and maintenance of computer networks. A simulation tool offers a way to predict the impact on the network of a hardware upgrade, a change in topology, an increase in traffic load or the use of a new application.
OMNeT++ offers a number of tools specifically designed for these purposes.
The objective of this project is to design and simulate existing network in Kolej Koniuniti Arau Perlis (KKAP) building using OMNeT++ simulation environment. KKAP may deploy internal mesh network that provide better communication inside the campus. inter-department and levels of the actual KKAP's buildings. From the simulation, data are collected as if a real system were being observed. The results are expected to show that OMlVeT++ provides credible simulation results close to a real system. Thus, in future these models are expected to assist KKAP to explore new design options without disrupting the existing systems.
ACKNOWLEDGEMENTS
First of all, I would like to express my gratitude to Allah swt, the Most Merciful and the Most Compassionate, Who granted me the strength and will to start and complete this study. I do pray to His Greatness to inspire and enable me to continue the work for the benefits of humanity.
My most profound gratitude goes to my supervisor Mdm. Norazila binti Ali for her constructive advice, scientifically proven creativity and encouraging guidance. Honestly, she has been all the time a center of inspiration and guidance. I deeply thank her for her support and cooperation as being equipped to provide his best help. My thanks also go to Mdm. Hajah Zaidah binti Jaafar, Director of Kolej Komuniti Arau Perlis (KKAP), Mr. Mohammad Khairul Faeze bin Abd Halim, Mr. Elsaikh Elobaik (UniMAP), and all the KKAP's staff who have helped me to collect my data. May Allah swt bless them all.
Last but not least, I wish to thank all my dearest family members, especially my mother, Mrs.
Noraliza binti Hassan, father Mr. Yaakob bin Kasim and my brother, Mohd Syafiq bin Yaakob. I dedicate my admiration and thanks to all of them for supporting me to the completion of the thesis. My demonstrative appreciations are also to all my friends, colleagues. all CAS staff and everyone who has put the hand either directly or indirectly to complete this thesis.
. n
. Mohd Aishamuddin bin Yaakob May 28,2012
- , a
Table
ofContent
Permission to use . . . ... ... . . ... ... . . . ... .. . . . . ... ... ... ... . . . ... . . ... . . . .. ... . . . .. . . . . . . . ... ...
A bstrak . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Abstract . . . . . . . . . . . . . . . . . . .
.
. . . . . . . . . . . . . . ..Acknowledgement . . . . . . . . . . . . . . . . . . . . . . . . . . . ... ...
Table of Contents ... ... . . . ... ... ... . . . ... .. . ... ... ... ... ... . . . ... ... .. . ... .. . . . . .. . . ... . . . ... . . . ... ... ...
List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . ..
List of Figures . . . , . . . . . . . .. . . . . . . . . .. . . . . . . . . . . . . . . . List of Appendices . . . . . . . . . . . . . . . . . . . . . . . . . . . . CHAPTER 1 INTRODUCTION . . . . . . . . . . . . . . . . . . ...
1.1 Problem Statement . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . ...
1.2 Objective ... ... ... ... ... ... . . . ... ... ...
1.3 Scope of Project . .. ... . . . .. . ... ... ... ... ... . . .... . . ... . . . ... . .. ... .. . ... .. . .. . .. . ... ...
1.4 Significance of Study ... . . . . . . . . . . . . . . . . . . . . . . . . . . ...
1.5 Organization of the Report . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
CHAPTER 2 LITERATURE REVIEW . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1 Introduction .. . ... .. .... ... ... ... ... ... . .. . . . ... ... ... . .. . . . ... ... ... ... ... . . .... . . . . .. . , . . . . . ... ...
2.2 Modelling Technique of the Network . . . . . . . . . . . .
.
. . . . . . . . . . ..2.3 Simulation Tools ... ... ... . . . ... ... ...
2.3.1 Modelling in OMNeT++ ... . . . ... ... .. . ... . . . . . ... . ... ... . .. ... . . . ... .. . ... ... .. . ... ...
2.3.2 OMNeT++ Modules Connection ... ... ... .. . ... . . . ... ... ... ... ... ... .. . ... .. . . . . .. . .. . 2.3.3 OMNeT++ Model Components ... . . . .. . . . .. . . . .... . . .. ... ... ... ... . . . .. ...
2.4 Facts and Findings ... ... ... ... ... . . . ... ...
2.5 Past Reserchers ... ... ... ... ... ... ... ...
2.5.1 Network Sirnulati011 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.2 Simulation and Performance Analysis of Wired and Wireless Computer
Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
2.5.3 The OMNeT++ Discrete Event Simulation System ... ... ...
2.6 Summary . .. . . . . . . . . . . . . . .
.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..vii
CHAPTER 3 METHODOLOGY ...
...
3.1 Introductio~i
...
3.2 Simulation Steps
...
3.3 Methodology Used
3.3.1 Emperical Data Collection ...
3.3.2 Model ...
...
3.3.3 Simulation
...
CHAPTER 4 SIMULATION RESULT
...
4.1 Introduction
4.2 Network Simulation ...
4.3 Mode1 VaIidation ...
4.4 AnaIysis Result ...
4.4.1 Router Queue Lengths
4.4.2 Bytes Send and Receive for Switch
CHAPTER 5 CONCLUSION ...
...
5.1 Research Contribution
...
5.2 Problems and Limitations
5.3 Reco~nmendation and Future Works ...
...
REFERENCES
List of Tables
Table 3.1 : Core Switch specifications ... 17 ...
Table 3.2. End Switch specifications 18
...
Table 3.3. Firewall specifications 21
...
Table 3.4: KKAP server specifications
...
Table 3.5: Network Management specifications
...
Table 3.6: The Initial Parameters and Symbols
...
Table 4.1: Legend for Network Simulation Result
...
Table 4.2: Numbers of nodes on simulation
...
Table 4.3: Processing times of experiments
...
Table 4.4: Results of Experiment of Router Queue Lengths
...
Table 4.5: Experiment result for Switch bytes send and receive
vii
List of Figures
Figure 1.1 : Kolej Komuniti Arau, Perlis in Tambun Tulang, Arau Perlis . . . I
Figure 2.1: Hierarchy of Modules in OMNeT++ . . . . . . . . . . . . . . . . . . . . . . . .. . 7
Figure 3.1 : Steps for simulation . . .
. . .
. . ..
. . .. .
. . .. .
. . . I4 Figure 3.2: Methodology for modeling and simulation.
. . . 15Figure 3.3: Active Directory (AD) Server . . .
.
. . ..
.. .
..
. . . . . 24Figure 3.4: Database Management System (DBMS) . . . .. 26
Figure 3.5: Wireless Host . . .
.
...
. . . ... 29Figure 3.6: KKAP Network Model
. . .
. . ..
. . . . . . ..
. . . 3 6 Figure 3.7: Interface of OMNeT++ IDE . . ..
. . . ..
. . ..
. ..
..
. . ..
. . . 40 Figure 3.8: INET-Framework example . . . ..Figure 4.1 : KKAP Network Sinlulation using OMNeT++ . . .
.
. ..
.. .
. ..
..
. . ..
. . . . . . Figure 4.2: Example of .ini file in OMNeT++ Simulation . .. .. . .. . . .. . .. .. . ... . .. .. . .. .. ..Figure 4.3: Ping information on KKAP network .. . . .. . .... . ... ... . .... . ... . ... .. . ... . .. .. . Figure 4.4: Parameters configuration on .Ned file . . . . .. ...
Figure 4.5: The graph of the process time on against the router queue lengths. . . Figure 4.6: The graph of the process time on against the switches bytes sent . . .
.
. . . . Figure 4.7: The graph of the process time on against the switches bytes receive. . . . . ..
.... . .
V l l l
List of Appendices
Appendix A: Gantt Chart Research Schedule ... 56
Appendix B: KKAP Wired Diagram ... 57
. , a
Appendix C: Local Area Network Connectivity for KKAP ... 58
o*L
Appendix D: IP Address Management in KKAP ... 59
-
Appendix E: OMNET++ Coding ... 60CHAPTER ONE
INTRODUCTION
Q
IVetworks are collections of computers, software, and hardware that are all connected to help their users work together. A network connects con~puters by means of cabling systems,
Q
specialized software, and devices that manage data traffic. A network enables users to share files and resources, such as printers, as well as send messages electronically (e-mail) to each other
nu
-
A. Kolej Komuniti Arau Perlis (KKAP)Kolej Komuniti Arau Perlis (KKAP) was established on June 12. 2001 to carry out 2
urp
full time courses Certificate of Architectural Draughtsman and Certificate of Electrical Technology (Installation and Service). At the beginning, KKAP is located in Arau Technical
Ae
School before moved to permanent campus in Tambun Tulang, Arau Perlis.
d
Located in rural area, it is a strategic area for education hub to conduct learning process effectively without city bustle interference. The five storeys's building consisting of lecture
-
rooms, computer laboratory, learning laboratory, administration office, and also library.Figure 1.1: Kolej Komuniti Arau, Perlis in Tambun Tulang, Arau Perlis
1
The contents of the thesis is for
internal user
only
REFERENCES
Abeysundara, B. W., and Kamal, A. E.: "HIGH-Speed Local Area Networks and Their Performance" Computing Survejls. vo1.23, pp.22 1-264, June 199 1 .
Akyildiz, X. Wang. and W. Wang, "Wireless mesh networks: a survey," Computer Networks, vol. 47, pp. 4 4 5 4 8 7 . 2005.
Bajaj, S., L. Breslau, D. Estrin, K. Fall, S. Floyd, P. Haldar, M. Handley, A. Helmy, J.
Heidemann, P. Huang, S. Kumar, S. McCanne, R. Rejaie, P. Sharma. K. Varadhan, Y. Xu, H.
Yu and D. Zappala. 2000. Improving simulation for network research. IEEE Computer. (to appear, a preliminary draft is currently available as USC technical report 99-702)
Banks, J., 1998. Handbook of Simulation: principle.^, Methodoloan-', Advances, Apldicution.~, und Practice. USA: John Wiley and Sons, Inc.
Hassan, M.. & Jain, R. (2004). High perfornzunce 7'CP/IP Networking: New Jersey, Prentice Hall
Kiran, Ali S.. Cetinkaya T., Og S. (2000). Simulation modelling and analysis of a new international terminal .Proceedings of'the 2000 Winter Simultition Conference. .I. A.
Joines. R. R. Barton, K. Kang, and P. A. Fishwick, eds
Kristensen, L. M, Mitchell, B., Zhang, L., & Billington, J. (2002). Modelling and initial analysis of operational process using colured petri nets. Proceedings at Workshop on Formal Methods Applied to Defince Systems. Adelaide. June 2002.
Law, A. M. and W. D. Kelton. 2000. Simulation Modeling and Analysis, Third Edition, McGraw-Hill, New York.
Lee, B.C., Supinski, B.R., Singh, K., Brooks, D. M., Schulz, M.. & McKee, S. A. (2007).
Methods of inference and learning for performance modeling of parallel applications.
Proceeding at YPoPPJ07 March 14-1 7, 2007, ,Sun Jose, Calijbrnia, [JSA .
McCabe, M. F. (1998). Lessons ,from the j?eld: Computer conjerencing in higher education.
.Iourntrl of Information Technol~~gy.for Teacher Education. 7(1), 7 1-87.
Mclean, C and Shao, Gd,Generic Case Studies for Manufacturing Simulation Applications in Proceedings of the 2003 Winter Simulation Conference, eds Chick, S.,
.
Sanchez P. J., Ferrin, D, and Morrice. D. J, 2003, pp 12 17- 1224Moradi, F., Nordvaller, P., & Ayani, R. (2006). Simulation model composition using BOMs.
Proceedings q f the Tenth IEEE International S'mposizlm on Distributed Sinzulalion and Real-Time Ap~~lications (DS-RT'06)
Oppenheimer BR, Kulkarni SR. Stauffer JR. 2000. Brown Dwarfs. In Protostars ~1ndP1ai1ets IK Tucson: University of Arizona Press. pp. 13 13- 1338
Orfanus, D., Janacik, P., Lessmann, J., & Lachev, L. (2008). Performance of wireless network sin~ulators. Proceedings ut I'hf2HW2NO8, October 3 1,2008. Vancover, BC. Canada.
Padhye, J., V. Firoiu, D. Towsley. and J. Kurose: 2000, 'Modeling TCP Throughpul
: A Simple Model and its Empirical I. alidation '. IEEEiAC'M Tran,sactions or1 Nelworking 8, 133-145.
Penttinen A., Chapter 9 - Simulation, Lecture Notes: S-38.145 - Introduction to Teletrafiic Theory, I-Ielsinki University of Technology, Fall 1999.
Rahman. A. Ab., & Ghazali, 0.(2008) TCP-Friendliness of modified explicit rate adjustment.
In proceeding at In/err?ationa/ C,'onfi?rence on network applications, protoco1.r and .service.s (Nelapps) .University of Utara Malaysia.
Rahul Malhotra, Vikas Gupta and Dr. R K Bansal. Article: Sin~ulation & Performance Analysis of Wired and Wireless Computer Networks. h?ternutionul .Journal of Computer Applications
14(7): 1 1-1 7, February 20 1 1.
S Imre, Keszei, Horv'ath, Holl'os, Barta. and Kujbus. Simulation environment for ad-hoc networks in OMNeT++. In IST Mobile Summit 2001, pages 135-1 40,2001.
Sztrik, J., Kim. C. S., Performance Modeling Tools with Applications, Annales Mathematicae et Informaticae, (2006) 33, 125-1 40.
Thakkar, D.,Hassan A.E., Hamann, G., & Flora, P. (2008) A framework for measurement based performance modelling. Proceeding at WOSP708, June 24-26, 2008, Princeton, New Jersey, USA.
Theelen, B. D. (2004). Performunce Modelling For Syslenl-Level De.rign. PHD Thesis .Technixhe Universiteit Eindhoven Netherlands
Varga. A.(1999).Using the OMNeT++ discrete event simulation system in education. IEEE Transuctions on Edzrcution, VOL. 42, NO. 4, NOVEMBER 1999
Varga. A.(2001).The OMNeT++ discrete event simulation system. In Proceedings of the European Simulation Multiconference (ESM'2001). June 6-9, 2001. Prague, Czech Republic.
2001 .
Virtual Local Area Network: IEEE Standard Association (2005). Electronic references.
Retrieved from I l ~ r p " s t , ~ l l ~ l , ~ ~ . c l ~ 1c~c.o1.p,,:'~c~t1c't~~~XO3/clot\1llo:1ciiXO? 1 0 - 7 0 0 5 11~1'
W. Drytkiewicz, S. Sroka, V. Handziski, A. Koepke, and H. Karl. A mobility framework for OMJVeT++. In 3rd International OMNeT++ Workshop, at Budapest University of Technology and Economics, Department of Telecommunications Budapest, Hungary, January 2003.
Y. Gao, V. Freeh. and G. Madey. (201 I ) . Modelling and Simulation of Open Source Software Community