The design and implementation of MSTP based on LINUX

Author
QiShuai
Advisor
Liu
School
University of Electronic Science and Technology
Major
Computer System Architecture
Classification
TP393.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2012
Downloads
36
Citations
0

Request the full text

Abstract

Because routing protocols can only be used in three-layer network, a loop may beformed in the second layer of the network, which leads to the packet transmit in layer2network unlimited forwarding and growth, and last the Cyber Storm which makes thewhole network efficiency low, even paralysis. In order to solve this problem, the IEEEformulated the8021.D standard long ago, STP (Spanning Tree Protocol) is defined inthis standard, and this protocol can solve the loop problem of network effectively. Withthe continuous development of network, the IEEE then developed RSTP (RapidSpanning the Tree Protoco1) and MSTP (Multiple Spanning Tree Protocol). Relative tothe STP and RSTP, MSTP has a huge advantage. Today, MSTP has been quite matureand become the consistent direction of spanning tree.Due to the popularity of the Linux operating system, a large number of networkdevices are based on this system. But the bridge module of the Linux kernel onlysupports STP protocol does not support the MSTP protocol. There is an urgent need tosupport MSTP in LINUX, especially in the LINUX-based embedded devices.In this paper we use Linux as development environment, standard C asdevelopment language, complete the design and coding work of MSTP successfully onthe base of the learning of the principle of the spanning tree protocol and the analysis ofsource code of the STP part in LINUX’s bridge module, then compile the module to adriver which will be inserted into the Linux kernel. Finally, the MSTP module is appliedto the network equipment which is base on LINUX, and then it is build to a hybridnetwork with other switches to do a simple functional test. The test result shows thatMSTP module correspond the IEEE802.1s standard, it works well when it is connectedto other device’s MSTP module, RSTP module or STP module.

Table of contents

Summary 4-5 ABSTRACT 5-8 Chapter 1 Introduction 8-11 1.1 Background and Significance 8 - 9 1.2 domestic and foreign research status 9 1.3 of this thesis research 9-10 1.4 dissertation chapters organized 10 1.5 abbreviations 10-11 chapter three spanning Tree Protocol Overview 11-27 2.1 spanning Tree Protocol 11-13 2.1. a port status 11 2.1.2 work steps 11-13 configure messaging mechanism 2.1.3 spanning Tree protocol 13 2.2 fast spanning Tree Protocol 13-15 2.3 Multiple Spanning Tree Protocol 15-26 2.3.1 MSTP features 15-16 2.3.2 basic terms of MSTP 16-18 2.3.3 MSTP basic idea 18-21 2.3.4 MSTP work 21-22 2.3.5 multiple Spanning Tree calculation principle 22-26 2.4 Summary 26-27 MSTP design and implementation of the third chapter in LINUX in 27 -63 3.1 MSTP precautions designed 27-28 3.2 MSTP design problem to be solved 28 3.3 Requirements Analysis 28-29 3.4 preliminary ideas designed 29-31 3.5 MSTP implementation of software design 31-54 3.5.1 MSTP protocol initialization module 34-35 3.5.2 BPDU transmit and receive modules 35-38 3.5.3 configuration file interface and user configuration module 38-39 3.5.4 port Settings module 39-40 3.5.5 state machine module 40-54 3.6 MSTP algorithm 54-58 3.6.1 The overall process 54 3.6.2 Creating public spanning CIST 54-55 3.6.3 Creating MSTI 55-57 3.6.4 Creating tree 57-58 achieve 3.7 MSTP software 58-62 3.7.1 development and operating platform choice 58 3.7.2 development Method and process 58-59 3.7.3 source code examples 59-62 3.8 Summary 62-63 Chapter MSTP software modules functional test 63-75 4.1 test content 63 4.2 test environment 63-64 4.3 test methods and procedures 64 -74 4.3.1 MSTP configuration commands 64-65 4.3.2 MSTP single spanning tree 65-70 4.3.3 MSTP fast spanning function 70-71 4.3.4 MSTP multi- spanning capabilities 71-72 4.3.5 MSTP compatibility test 72-74 <br / > 4.4 summary 74-75 Chapter summary and Outlook 75-77 5.1 of this paper summarizes 75 5.2 prospects 75-77 Thanks 77-78 References 78-80

Related dissertations

  1. Research and Implementation of Rapid Spanning Tree Protocol in Ethernet Switch
    ZhangJinSong ·Southwest Jiaotong University ·2005 ·Master's thesis
  2. In the research of AB company marketing strategy and tactics China region
    HangYin ·Nanjing University ·2012 ·Master's thesis
  3. The Research of Small and Micro Enterprise-A Company Market Positioning and Marketing Strategy
  4. Study on the Marketing Strategy of Wanyuan Mobile Home Market
  5. The Study on Marketing Strategy of Jinhua Road Sales Department of Western Securities Co., Ltd
    WangYe ·Northwestern University ·2013 ·Master's thesis
  6. The Application of Internal Marketing in Human Resources Management of STS Company
  7. The Textiles International Marketing Strategy of Ningbo Saijia Company
    QiLiaoJing ·Central South University ·2013 ·Master's thesis
  8. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  9. Research and Design of Embedded Building Security System
    YangChen ·Liaoning Normal University ·2012 ·Master's thesis
  10. The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
  11. The Research of Household Remote Monitoring Based on Embedded Web Server
  12. Research and Design of Intelligent Video Surveillance System Based on ARM
  13. Design of Video Monitoring System Based on the Embedded
  14. The Design of Embedded Network Video Surveillance System Based on ARM9
  15. Design and Application of the Distributed Monitoring System Based on Embedded Web
  16. Study on Embedded Data Acquisition System Application
    ZhangDong ·Dalian Polytechnic University ·2009 ·Master's thesis
  17. Embedded Software Design of AC Field Detection Instrument Based on ARM
  18. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  19. Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
  20. Design of Industrial Ethernet Motion Controller Based on ARM