Performance Analysis on Dynamic VLAN and Openflow
Total Page:16
File Type:pdf, Size:1020Kb
Master Thesis Electrical Engineering October 2015 Performance Analysis on Dynamic VLAN and OpenFlow Reddy Kamal Teja Gurramkonda Department of Communication Systems Blekinge Institute of Technology SE-371 79 Karlskrona Sweden This thesis is submitted to the Faculty of Computing at Blekinge Institute of Technology in partial fullment of the requirements for the degree of Master of Science in Electrical Engineering. The thesis is equivalent to 20 weeks of full time studies. Contact Information: Author(s): Reddy Kamal Teja Gurramkonda. E-mail: [email protected], [email protected] University advisor(s): Dr. Patrik Arlos School of Computing University examiner(s): Dr. Kurt Tutschku Department of Communication Systems School of Computing Blekinge Institute of Technology Internet : www.bth.se/com SE-371 79 Karlskrona Phone : +46 455 38 50 00 Sweden Fax : +46 455 38 50 57 Abstract In the current innovative network, to cope with the increased require- ments of customers, there is a rapid increase in the development of dierent protocols and applications. With such increase in networking technology, the security constraints are becoming more and more severe, reducing the accessibility to the actual network for implementing new protocols. This scenario forced for an urgent need of a technology, which can help the re- searchers to implement their developed protocols in the network without inuencing the production trac. This need resulted in a concept called network isolation. This is achieved by VLAN or SDN technologies. In this study, we investigate the performance of VLAN and an API of SDN in the context of establishing dynamic link, in switching setup. For such a link creation, dynamic VLAN (dVLAN) is used in the former case and OpenFLow protocol is used in the later scenario. The main focus in this study is to compare the dynamic behavior of both the protocols in layer-2 context by measuring network level performance metrics of each protocol. Some of the features like, vendor independency and software independency is taken into account while measuring the performance metrics. In order to evaluate the performance, an experimental testbed is implemented. The network level performance metric called protocol setup time is measured. It is the time taken by each protocol to setup an active link between two end-hosts. A two-tire network architecture is implemented with the mentioned features. From the analytical and statistical results obtained, OpenFlow re- sulted in performing relatively better when compared to dynamic VLANs. By carefully examining the protocol setup time of OpenFlow against dVLAN, OpenFlow took less time when compared to dVLAN resulting in faster exe- cution in enabling connectivity. On the other hand, the analytical study on the two protocols reects the simplicity exhibited by dVLAN over Open- Flow. Keywords: Dynamic VLAN, Network Isolation, OpenFlow, SDN. i Acknowledgments I would like to thank the supremacy, God, for blessing me with the knowl- edge of understanding and exceptional hope for which I am greatful to. Nextly, I would thank my parents for encouraging me in performing the tasks of duty. I especially have deep scence of gratitude towards my friends who helped me and gave hope of light. I particularly owe my debt of gratitude to Dr.Patrik Arlos senior lecture, DIKO, for his vision and foresight which inspired me in coping with challenging tasks. I have surely learnt many lots of things by working under him and especially increased my self thinking capabilities and problem detection thinking. Reddy Kamal Teja Gurramkonda ii Contents Abstracti Acknowledgments ii Table of Contents iii List of Figuresv List of Tables vi Acronyms vii 1 Introduction2 1.1 Motivation............................... 3 1.2 Scope of Thesis............................ 4 1.3 Problem Statement.......................... 4 1.4 Aims and objectives ......................... 4 1.5 Research Questions.......................... 5 1.6 Research Method........................... 5 2 Background8 2.1 VLAN Virtual Local Area Networks................ 8 2.1.1 Port-Based VLAN ...................... 9 2.1.2 MAC Address Based VLAN................. 10 2.1.3 Protocol-Based VLAN.................... 10 2.1.4 GVRP............................. 11 2.2 The New Network Architecture ................... 13 2.2.1 Need for Software-Dened Networking ........... 13 2.2.2 Restrictions in Current Network............... 14 2.3 OpenFlow............................... 15 2.3.1 OpenFlow Switch components................ 15 2.3.2 Operational steps of OpenFlow ............... 16 2.3.3 Classes of OpenFlow Communication............ 17 2.3.4 NOX An OpenFlow Controller .............. 19 2.4 Related Works............................. 19 iii 3 Methodology 22 3.1 Experiment Setup........................... 22 3.1.1 Dynamic Virtual LAN (dVLAN) Implementation . 22 3.1.2 OpenFlow Implementation.................. 26 3.2 Performance Metric Measurement.................. 29 3.2.1 Dynamic VLAN Setup Time Measurement......... 30 3.2.2 OpenFlow Setup Time Measurement............ 32 4 Experiment Results and Analysis 36 4.1 Dynamic VLAN Assessment..................... 36 4.2 OpenFlow Assessment ........................ 37 4.3 Theoretical Model........................... 38 4.3.1 Dynamic VLAN........................ 38 4.3.2 OpenFlow Protocol...................... 39 5 Conclusions 41 References 44 Appendix 47 iv List of Figures 2.1 Ethernet frame with VLAN tag................... 8 2.2 VLAN Architcture .......................... 9 2.3 GARP Architecture [11] ....................... 12 2.4 GARP Architecture [11] ....................... 13 2.5 Flow Table .............................. 15 2.6 10-Tuple................................ 16 2.7 Procedural steps carried out by OpenFlow [7][12] ......... 17 2.8 Pipeline Processing [7][10] ...................... 18 3.1 Dynamic VLAN Experiment setup ................. 24 3.2 GVRP exchange between switches.................. 25 3.3 GVRP exchange in LAN....................... 25 3.4 OpenFlow Architecture........................ 27 3.5 Mode of OpenFlow - Virtualization mode.............. 28 3.6 Mode of OpenFlow - Aggregation mode............... 28 3.7 OF Switch - controller communication ............... 29 3.8 Capture Description ......................... 30 3.9 Sequence diagram of dVLAN .................... 31 3.10 Time line diagram of dVLAN .................... 32 3.11 Sequence diagram of OpenFlow................... 33 3.12 Time line diagram of OpenFlow................... 34 4.1 dVLAN Setup Time (iterations plot) ................ 37 4.2 OpenFlow Setup Time (iterations plot)............... 38 1 Trace of dVLAN ........................... 50 2 Trace of OpenFlow.......................... 51 v List of Tables 3.1 Hardware Specications - Switch .................. 23 3.2 Hardware Specications - Host.................... 23 4.1 Protocol Setup Time for dVLAN .................. 36 4.2 Protocol Setup Time for OpenFlow................. 37 vi Acronyms CLI Command Line Inerface DOS Denial of Service dVLAN Dynamic Virtual LAN GARP Generic Attribute Resolution Protocol GVRP GARP VLAN Registration Protocol ICMP Internet Control Message protocol ID Identification IP Internet Protocol IT Information Technology LTS Long Term Support MAC Medium Access Control NIC Network Interface Card ONF Open Network Foundation QoS Quality of Service SDN Software Defined Networking STP Spanning Tree Protocol TCAM Ternary Content-Addressable Memory TLS Transport Level Security VID VLAN Identifier/Identity VLAN Virtual Local Area Network VMPS VLAN Member Policy Server vii Chapter 1: INTRODUCTION Chapter 1 Introduction In today's world, innovation of enterprise network is increasing day by day. Enterprise networks are often large networks that incorporate dierent vari- eties of protocols and applications. These networks are installed with enormous equipment and protocols, increasing the security constrains creating a challeng- ing environment for the researchers in network innovation. The current possible methods are fragile making the enterprise expensive and error-prone. The cur- rent methods are indeed manual conguration setups done by trained operators to achieve adequate security [1][2][3]. A research group called Yankee reported that, on an average the total network downtime was around 62% which was only due to human error and 80% of IT budget was spent only on maintenance and operations [4]. This situation made the researchers impossible to have real envi- ronment experiments to test new protocols. This situation forced for the need of network isolation, i.e., to have the availability to use the same network but without inuencing the production traf- c. Network isolation can be provided by VLAN Virtual local Area Network. VLANs are layer-2 entities that bring dierent hosts at dierent localities into a single network which are software administrated. These VLANs are indepen- dent of physical connectivity i.e., hosts at dierent physical locations are brought together, resulting in more exible network administration, management and re- conguration [5][6][7]. The next stage of VLANs is Dynamic VLANs [8]. This concept is derived, as the manual conguration of these VLANs is very com- plex in the current innovative enterprise network architecture. The conguring of desired VLANs is performed on one network device (switch mostly the ad- ministrator switch) and the rest of the network is made to learn the VLANs from that switch resulting in dynamic creation of those advertised VLANs