Because of the rapidly increasing communications demand inside companies, people brought out the MPLS (Multi-Protocol Label Switching) Layer 2 VPN technology. MPLS Layer 2 VPN technology provides Layer 2 VPN service with network infrastructure in existence, which not only can decrease the fare of providing and using private Layer 2 VPN service, but also can carry various high-level protocol on the network infrastructure in existence simultaneously.This paper researched how to apply MPLS Layer 2 VPN on Linux operating system. After reading a mass of MPLS, VPN and IP switching related technical data, author researched and analyzed the source code of the network sub-system of Linux operating system; researched and designed software architecture, data structure, data operation, implementation of forward function and various LDP message procedure of MPLS Layer 2 VPN, also implemented the whole system on Linux operating system; debugged the software system and completed the test of the system; brought out a solution for civil aviation company applying MPLS Layer 2 VPN.At last, this paper summarized author's research work and brought out the expectations and suggestions for further research work. |