ANALYSIS THE PERFORMANCE BETWEEN DUAL STACK AND IPV6 TUNNELING MECHANISM
TAN KEAN SIAK
BORANG PENGESAHAN STATUS TESIS
JUDUL: ANALYSIS PERFORMANCE ON DUAL STACK AND IPv6 MECHANISM
SESI PENGAJIAN: 2009/2010 Saya TAN KEAN SIAK
(HURUF BESAR)
mengaku membenarkan tesis (PSM/Sarjana/Doktor Falsafah) ini disimpan di Perpustakaan Fakulti Teknologi Maklumat dan Komunikasi dengan syarat-syarat kegunaan seperti berikut:
1. Tesis dan projek adalah hakmilik Universiti Teknikal Malaysia Melaka. 2. Perpustakaan Fakulti Teknologi Maklumat dan Komunikasi dibenarkan
membuat salinan untuk tujuan pengajian sahaja.
3. Perpustakaan Fakulti Teknologi Maklumat dan Komunikasi dibenarkan membuat salinan tesis ini sebagai bahan pertukaran antara institusi pengajian tinggi.
4.
** Sila tandakan
(4
SULIT (Mengandungi maklumat yang berdarjah keselamatan atau kepentingan Malaysia seperti yang termaktub di dalam AKTA RAHSIA RASMI 1972)
TERHAD (Mengandungi maklumat TERHAD yang telah ditentukan oleh organisasihadan di mana penyelidikan dijalankan)
1 TIDAK TERHAD
, J
(TANDATANGAN PENULIS) (TANDATANGXFGENYELIA)
Alamat tetap: 15.USJ812E 47610 Pn Svarulnaziah binti Anawar
UEP Subann Jaya, Selangor Nama Penyelia
Tarikh: 2 6 3-g 2 ~ 1 0 Tarikh:
3s
3 4 N E -2ol(?CATATAN: *Tesis dimaksudkan sebagai Laporan Akhir Projek Sarjana Muda (PSM)
**
Jika tesis ini SULIT atau TERHAD, sila lampirkan surat daripadaANALYSIS THE PERFORMANCE BETWEEN DUAL STACK A N D IPV6
TUNNELING
MECHANISMTAN KEAN SIAK
This report submitted in partial fulfillment of the requirements for the Bachelor of Computer Science (Computer Networking)
FACULTY OF INFORMATION AND COMMUNICATION TECHNOLOGY UNIVERSITI TEKNIKAL MALAYSIA MELAKA
DECLARATION
I hereby declare that this project report entitled
ANALYSIS PERFORMANCE BETWEEN DUAL STACK AND IPv6 TUNNELING MECaANISM
is written by me and is my own effort and that no part has been plagiarized without citations.
STUDENT : 7'QN - 4 S l M
I
rb
/SUPERVISOR I
I - i
F
' f " J /
/
DEDICATION
iv
ACKNOWLEDGEMENTS
I would like to show my deepest gratitude to all those who assist me to
complete the project. Firstly, I would like to express my sincere appreciation to my
project supervisor, Pn Syarulnaziah for providing the guidelines with valuable advice
and feedback throughout the project. Pn Syarulnaziah is a patient and helpful
lecturer who willing to listen to my problem and at the same time suggested me how
to overcome it. In order to ensure the project run smoothly, Pn Syarulnaziah had also
given me full moral support along the project time. Thank you, Pn Syarulnaziah.
Secondly, I would like to the Faculty of Information and Communication and
Technology for providing hardware equipment to me. Without the equipment, I will
hardly complete my project now. Thank to FTMK so much.
Thirdly, I would like thank to my friend with their helping, moral support,
opinion and sharing ideas throughout the project. Their valuable opinions and
suggestions have helped me to improve my project in advance. Again, thanks for
their help and support.
Last but not least, I would like to thank to my family for their understanding,
encouragement and support towards the completion of the project. Thank you, Mum
and Dad.
ABTRACTS
ABSTRAK
vii
TABLE OF CONTENTS
CHAPTER SUBJECT
DECLARATION DEDICATION
ACKNOWLEDGEMENT ABSTRACT
ABSTRAK
TABLE OF CONTENTS LIST OF TABLES LIST OF FIGURES
LIST OF ABBREVIATIONS LIST OF ATTACHMENTS
CaAPTER 1 INTRODUCTION
1.1 Project Background 1.2 Problem Statement(s) 1.3 Objectives
1.4 Scope
1.5 Project Significance
1.6 Expected Output 1.7 Conclusion
CHAPTER 2 LITERATURE REVIEW AND PROJECT
METHODOLOGY 2.1 Introduction 2.2 Literature Review
viii
2.2.2 Keyword
2.2.3 Previous Research 2.3 Proposed Solution
2.3.1 Project Methodology 2.4 Project Schedule and Milestones 2.5 Conclusion
CHAPTER 3 ANALYSIS
3.1 Introduction 3.2 Problem Analysis
3.2.1 Network Architecture 3.2.2 Logical and Physical Design 3.3 Requirement Analysis
3.3.1 Quality of Data 3.4 Conclusion
CHAPTER 4 DESIGN
4.1 Introduction
4.2 Possible Experimental Setup 4.2.1 Network Addressing 4.2.2 Routing
4.2.3 Performance metric 4.3 Evaluation Scenario
4.4 Conclusion
CHAPTER 5 IMPLEMENTATION
5.1 Introduction
5.2 Network Configuration Management 5.2.1 Configuration Environment
Setup
5.2.1.1 FTP server installation and configuration 5.2.1.2 Video Streaming Server
and configuration 5.2.1.2.1 Client & Server
Installation 5.2.1.2.1 Streaming Server
Configuration 5.2.1.2.2 Streaming Client
Configuration
5.3 Hardware Configuration Management 5.3.1 Hardware Setup
5.3.1.1 Router & PC
Configuration (Dual Stack)
5.3.1.2 Router & PC Configuration (IPv6 Tunneling)
5.4 Security
5.4.1 Security policies and plan
5.5 Development Status 5.6 Conclusion
CHAF'TER 6 TESTING 6.1 Introduction 6.2 Test Plan
6.2.1 Test Organization 6.2.2 Test Environment 6.2.3 Test Schedule 6.3 Test Strategy
6.3.1 Classes of tests 6.4 Test Design
6.4.1 Test Description 6.4.2 Test Data 6.5 Test Result and Analysis
6.5.2 FTP Throughput Result
6.5.3 FTP Packet Loss Result
6.5.4 Streaming Throughput
Result
6.5.5 Streaming Packet Loss
Result
6.56 Streaming Jitter Result
6.6 Discussion
6.7 Conclusion
CHAPTER 7 CONCLUSION
7.1 Observation on Weakness and Strengths 7.2 Proposition for improvement
7.3 Contribution
LIST OF TABLES TABLE 2.1 2.2 2.3 3.1 3.2 3.3 5.1 5.2 6.1 TITLE
Comparison between LPv6 and IPv4 Summary of Previous Research Project Schedule
Application Requirement Table Device Requirement Table Network Requirement Table Hardware Specification Development Status Test Schedule
Network Connectivity Testing Acceptance Testing
FTP RTT test data FTP Throughput test data FTP Packet Loss test data Streaming Throughput test data
Streaming Packet Loss test data Streaming Jitter test data FTP RTT Result
FTP Throughput Result
PAGE
9
2 1
26
37
3 7
38
66
70
75
Streaming Throughput Result Streaming Packet Loss Result Streaming Jitter Result
xiii
LIST OF FIGURES
DLAGRAM TITLE PAGE
Dual Stack Approach Tunneling Approach Setup of IPv4IIPv6
v4-to-v6 BDMS connection via BDMS translator v6-to-v4 BDMS connection via BDMS translator v6-to-v4 DSTM connection via DSTM Gateway Host-to-host encapsulation
Router-to-router tunneling Setup of the network Gantt chart for PSM 1 Gantt chart for PSM 2
IPV4 address space allocation for IANA pool and
RIR pool
xiv
Logical Diagram for IPv6 Tunneling Logical Diagram for Dual Stack
Network diagram at Wireless lab
Physical Design of the network
Logical Diagram for IPv6 Tunneling
Logical Diagram for Dual Stack
Network Assigned for the network
Logical address for IPv6 tunneling
Logical address for Dual Stack
Network design for IPv6 tunneling
Network Design for Dual Stack
Xlight FTP Server Wizard
License Agreement
Select Destination Location
Install the application
Installation Completed
Xlight FTP Server Startup
New Virtual Server Configuration
Add User List
Create Username and Password
Select user home path
Start the FTP server
VLC Setup Wizard
VLC License Agreement
Choose Components to install
Choose Location to install
Installation in progress
Installation completed
Launch VLC media player
Add file to stream
Select file to stream
Prepare to stream the file
Verify source to stream
Verify protocol to stream
Assign destination
IP
to streamStreaming Output
Open Network to stream
Assign source IP and protocol to play the streaming
Router A configuration (Dual Stack)
Router B configuration (Dual Stack)
Router A Configuration (IPv6 Tunneling)
Router B Configuration (IPv6 Tunneling)
Location to carry out the testing
Arrangement of the network setup
Select file for FTP transfer
RTT shown on the WireShark application
FTP throughput
FTP packet loss
Measure streaming throughput using NetMeter
Analyze streaming packet loss using WireShark
RTP Stream
RTP Stream Analysis
Export csv file into Microsoft Excel form
Average FTP RTT graph
Average FTP throughput graph
xvi 65 65 67 68 69 69 74 74 82 83 83 84 85 8 6 86 87 87
9 1
Dual Stack Mechanism
Encapsulation process
Fragmentation during Encapsulation
De-capsulation process
xvi i
96 97
98
xvi i i
LIST OF ABBREVIATIONS
IP
m4
IPv6
FTP
DTE
DCE
PCs
0s
RTT
MTU
Internet Protocol
Internet Protocol version 4
Internet Protocol version 6
File Transfer Protocol
Data Terminal Equipment
Data Communication Equipment
Personal Computers
Operating System
Round Trip Time
xix
LIST OF ATTACHMENTS
ATTACHMENT TITLE
1.1 Log book
1.2 Proposal form
CHAPTER I
INTRODUCTION
1.1 Project Background
The exhaustion of the remaining pool of unallocated IPv4 address is approaching within the next few years. It has been a concern by many network experts to overcome this problem. According to the survey from IANA (Internet Assign Number Authority), IPv4 addresses only provided for around 4 billion addresses only and estimated to reach exhaustion at the year of 2012. As the consumption of IPv4 addresses seems to be increase every day, it is ideal for users to migrate into IPv6 environment.
Basically, there are several mechanisms for the translation (AlJa'afreh et al, 2009). They are dual stack and IPv6 tunneling. IPv6 tunneling enables IPv6 host and routers to connect with other IPv6 host and router over IPv4 packets. The main purpose to deploy IPv6 is to maintain the compatibility between IPv4 hosts and router by encapsulating IPv6 datagram into IPv4 packet and de-capsulation back from Ipv4 packet into IPv6 datagram. On the other hand, Dual stack is a network that compatible with both IPv4 and IPv6 network. This mechanism allows the operating system or application to choose which protocol used for each communication.
1.2 Problem Statement(s)
From the past decade, IPv4 is most widely used Internet Protocol. P V 4 has 32 bits and can allocate 4294967296 addresses space. As the consumption of IPv4 gradually increases, it will encounter exhaustion in nearly future. According to RIRs (Regional Internet Registries) and IANA (Internet Assigned Numbers Authority), the pool of IPv4 address will run out between 2010 and 2012. The figure 3.2.1 illustrated the address space allocation for IUR pool and IANA pool. Base on the figure, the exhaustion of unallocated address for RIR pool and IANA pool is predicted on year 201 1 and 2012 respectively. Hence, after year 2012, there is no more unallocated IPV4 addresses available from the RIR and IANA. As a result, migration into IPv6 is required to overcome this problem.
1.3 Objective
The objectives of the project are listed as the following:
To investigate the use of IPv6 tunneling and dual stack mechanism.
To implement and analyze dual stack and IPv6 tunneling mechanisms with different performance metrics in Window's platform.
To evaluate the performance of dual stack and IPv6 tunneling using FTP and streaming services.
1.4 Scope