The Research and Implement of Multicast Route Protocol PIM-SM
- Author
- ZhouXin
- Advisor
- LiXiongFei
- School
- Jilin University
- Major
- Computer Software and Theory
- Classification
- TP393.04 Communication protocols, communication protocols
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 237
- Citations
- 3
- Multicast
- multicast routing
- PIM-SM
- RP node shared tree(RPT)
- shortest path tree(SPT)
- “two degree RP”
- RP switch
Abstract
In the recent years, with the popularization and volatile development of the Internet, there appear so many new applications of Internet. Most of these are multimedia applications which need high bandwidth, such as telconferencing, audio/video broadcast, stock market issue, distance education, computer supported cooperate work. All these bring many problems, for example, rapid consumed of bandwidth and the net congestion. In order to solve the net bottleneck, people introduce the technology of IP multicast. As a pattern of communication among host computers, IP multicast searches address through multicast address, sending multicast data to group members. Multicast provides an effective measure of communication and transmission, and it also can fully make use of net resource. Multicast can make the network performance optimized, it also make distributed application possible. In economy, the application (such as VOD), which can not be realized using unicast or broadcast can be applied. At first, this paper introduces the base knowledge of multicast .In order to implement multicast, we need two kinds protocols: multicast routing protocol and group management protocol. Multicast routing protocol includes two types: Dense-Mode(DM) and Sparse-Mode(SM).DM multicast routing protocol depends on flooding to send multicast data to each router’s interface. The common multicast routing protocol of Dense-Mode includes PIM-DM, DVMRP, MOSPF.SM constructs some Rendezvous Points (RP) as data exchanging place. RP takes charge of transmission between data resources and receivers. The common multicast routing protocol of Sparse-Mode includes CBT, PIM-SM. Besides, Multicat has a group management protocol IGMP, which is the precondition of multicast.This paper introduces PIM-SM detailedly. PIM-SM routing protocol has several virtues: explicit “Join” mode, effective data transmission, stream flooding control, multicast not limited in one area, the standard and realizing technology mature, at the same time, PIM-SM is the base of border multicast routing protocol, so it relatively fit multicast model. So after careful researching, we implement the basal function by using raw socket. This program includes six modules:Mcast_ip, Mcast_packet, Mcast_pim, Mcast_igmp, MRIB and RIB.When the program receives IP packet, it is disposed by Mcast_ip module. This module triggers all kinds disposing mechanism according protocol code and destination address. In this program , we only care about three cases: multicast data, PIM-SM control message and IGMP control message. <WP=69>In the part of implementation, for each router ,what it do is to creat multicast routing table by sending and receiving packet. From the whole of implementation, the whole domain PIM-SM routers compose a net topology.In this topology ,each router sends control message to other routers and exchanges routing information.Through these way ,each router knows the net structure and construct RPT and SPT and transform from RPT to SPT.During the work, we found that the RP (Rendezvous Point) as the root of shared-based tree plays an important action. How to choose a RP is the key of the PIM-SM protocol implementation .But the existing selections of RP presented in PIM-SM protocol don’t consider the net characteristic and the RP paralysis problem.To several existing chosen function of RP,we present a new mechanism—“two degree RP”,which managing the RPs in two grades, considering the topology of the network, present the candidate RP selecting policy. The first degree RP explore the change of network timely, increased the dynamic of RP, and adapted the instance of the members join/exit the group frequently better. Furthermore, if the second degree RP paralysis the first degree RP can take over the work ,it can avoid the data loss problem effectively . To implement the ameliorate, we should modify PIM-SM protocols and add some control messages. Through the test in the real network, We found although “two degree RP” can add burden of net and routers, but after an
Table of contents
Chapter 1 Introduction 6-10
1.1 background of multicast technology 6
1.2 Internet group that management agreement 6-7
1.3 Dense Mode (DM) multicast routing.; 7-8
1.4 Sparse Mode (SM), multicast routing
1.5 main content 8-9
1.6 full text structure 9-10
Chapter 2, PIM-SM is the basic mechanism 10-21
2.1 PIM-SM prior knowledge 10-12 < br /> 2.1.1 reverse path forwarding 10-11
2.1.2 shortest path tree 11
2.1.3 shared tree 11-12 <br / 2.2 PIM-SM protocol working mechanism 12-18
2.2.1 Multicast data forwarding 12-13
2.2.2 shared tree -14
2.2.3 Multicast Source Registration 14-16
2.2.4 shared tree (RPT) and the shortest path tree (SPT) to switch 16-17 < br /> 2.2.5 pruning interface 17-18
2.2.6 Statement \18-21
2.3.1 PIM-SM control messages package 19
2.3.2 the PIM-SM message packet format 19-21
Chapter 3 PIM- SM protocol 21-34
the composition of the 3.1 system routing table 21-22
3.2 PIM-SM protocol to achieve the overall process 22-23
3.3 Mcast_ip modules 23
3.4 MRIB the realization 23-25 ??
3.4.1 PIM-SM (*, G) state rule 24
3.4.2 PIM-SM (S, G) of the state rules 24-25
3.5 Mcast_packet module is to achieve 25-26
3.6 Mcast_pim module is implementation 26-32
3.6.1 Decode_pim module to achieve 27
the 3.6.2 Create_RPT module implementation 27-28
3.6.3 Create_SPT module is implementation of 28-31
3.6.4 Pruning module 31-32
is 3.7 Mcast_igmp module to achieve 32
3.8 to achieve summary 32-34
Chapter 4 RP problem of research 34-52
4.1 PIM-SM protocol RP node 34-36 <br / > 4.1.1 the RP static 34
4.1.2 Automatic RP 34-35
4.1.3 RP bootstrap mechanism 35-36
4.2 the PIM-SM RP exist 36
4.3 improvements 36-39
4.4 \br /> 4.4.1 two RP \the level of RP options 41-42
4.4.4 to increase the control message 42-44
4.4.5 two RP \-45
4.4.6 \ 51-52
Chapter 5 multi-RP switching mechanism between 52-60
5.1 existing RP switching method 52-53
5.2 RP timer switch 53-57 53
5.2.2 switching process
5.2.1 The basic idea 53-55
5.2.3 supplementary instructions 55-56
5.2.4 increased control messages 56
5.2.5 advantages and disadvantages of evaluation 56-57
5.3 RP gradually switch 57-60
5.3.1 The basic idea 57
5.3.2 switching process 57-59
5.3.3 supplementary description 59 < br /> 5.3.4 advantages and disadvantages of evaluation 59-60
Chapter 6 Conclusions 60-62
References 62-65
thank 65-66
Abstract 66-68
Abstract 68-70
Related dissertations
- The Research and Test of IPv6 Multicast
- Design and Implementation of Multicast Routing Protocol Based on PIM-SM
- Research and Implementation of Bidirectional PIM Based on H3C Router
- Realization of PIM-SM Multicast Routing Protocol on Linux
- LAN IPIV Improve and Simulation Base on Mutilcast
- Design and Research of IP Multicast System on Multimedia Network Education
- QoS Routing Algorithm Based on Genetic Algorithm Optimization Study
- System Design and Management of IPTV Network
- Research on SSM Multicast and Simulation with ns-2
- Research of Network Multicast Routing Technology Based on Genetic Algorithm
- MPLS network multicast technology and its realization
- The Research and Implementation of PIM-SM Dual-Stack Multicast Protocol
- Research and Implementation of Multicast Routing in MPLS environment
- Lagrange Relaxation-Based Method for Constrained Least-Cost Multicast Routing
- The Applications of Multicast and Qos Techniques in Telecommunication IP Network of Campus Network
- Research on Key Problems of Network Coding
- Optimizations of Memory Subsystem for Chip Multiprocessor Systems
- Research and Implementation of Network TV on the Campus
- Design and Simulated Implementation of Multicast Protection Algorithms Based on p-Cycle in Multi-Domain Optical Networks
- Research on Routing and Spectrum Allocation Algorithm in Cognitive Wireless Mesh Networks