VXLAN隧道的设计与实现
发布时间:2018-08-02 10:21
【摘要】:随着数据集中的发展和虚拟化技术的应用,数据中心的规模与日俱增,对二层网络的区域范围要求也越来越大。为了解决通过使用虚拟局域网VLAN对租户的数量有一定限制的问题,VMware公司提出了一种L2over L3的技术解决方案—可扩展的虚拟局域网VXLAN。 VXLAN是一种MAC In IP技术,通过将二层报文封装在IP头中,达到穿越IP网络的目的,它提供了跨数据中心结构创建隔离式多租户广播域的功能,并且使客户能够创建可跨越物理网络边界的弹性逻辑网络。 本系统为分布式系统,基于VXLAN协议使用C语言进行开发,整体上采用三段式设计,下行:二层报文进入VXLAN Tunnel,,中部:创建VXLAN Tunnel,上行:对二层报文进行加封装并转发。系统主要分为四个功能模块:VXLANTunnel的创建与删除及源地址与目的地址的配置、VXLAN Tunnel的状态检测、报文的转发以及NETCONF的相关操作。 在系统中,通过命令行方式和NETCONF方式对VXLAN Tunnel进行创建,完成了对整个虚拟化网络的搭建,通过对二层报文进行加封装并对封装后报文进行三层报文转发以及对解封装后的报文进行二层转发,实现了通过三层网络连接的两个二层网络之间的互通。 在系统实现完成之后,对系统的各个功能分别进行了测试,测试的结果总体符合预期,达到系统的要求。
[Abstract]:With the development of data set and the application of virtualization technology, the scale of data center is increasing day by day. In order to solve the problem that the number of tenants is limited by using virtual local area network (VLAN), VMware has put forward a technical solution of L2over L3, which is an extensible virtual LAN VXLAN. VXLAN is a kind of MAC In IP technology. By encapsulating the two-layer packets in the IP header to traverse the IP network, it provides the function of creating isolated multi-tenant broadcast domains across the data center structure, and enables customers to create resilient logical networks that cross the boundaries of the physical network. This system is a distributed system, which is developed by C language based on VXLAN protocol. The whole system adopts three-segment design, downlink: two-layer message enters VXLAN Tunnel, middle: create VXLAN Tunnel, uplink: encapsulate and forward two-layer message. The system is mainly divided into four functional modules: creation and deletion of the: VXLAN Tunnel, configuration of the source address and destination address, status detection of the VXLAN Tunnel, forwarding of the message and operation of the NETCONF. In the system, VXLAN Tunnel is created by command line method and NETCONF mode, and the whole virtualized network is built. The interworking between the two layer networks connected by the three layers network is realized by encapsulating the second layer packets, forwarding the packets after the encapsulation of the two layers and forwarding the unsealed packets on the two layers. After the implementation of the system, the functions of the system are tested, and the results of the test are in line with the expectations and meet the requirements of the system.
【学位授予单位】:哈尔滨工业大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.1
本文编号:2159120
[Abstract]:With the development of data set and the application of virtualization technology, the scale of data center is increasing day by day. In order to solve the problem that the number of tenants is limited by using virtual local area network (VLAN), VMware has put forward a technical solution of L2over L3, which is an extensible virtual LAN VXLAN. VXLAN is a kind of MAC In IP technology. By encapsulating the two-layer packets in the IP header to traverse the IP network, it provides the function of creating isolated multi-tenant broadcast domains across the data center structure, and enables customers to create resilient logical networks that cross the boundaries of the physical network. This system is a distributed system, which is developed by C language based on VXLAN protocol. The whole system adopts three-segment design, downlink: two-layer message enters VXLAN Tunnel, middle: create VXLAN Tunnel, uplink: encapsulate and forward two-layer message. The system is mainly divided into four functional modules: creation and deletion of the: VXLAN Tunnel, configuration of the source address and destination address, status detection of the VXLAN Tunnel, forwarding of the message and operation of the NETCONF. In the system, VXLAN Tunnel is created by command line method and NETCONF mode, and the whole virtualized network is built. The interworking between the two layer networks connected by the three layers network is realized by encapsulating the second layer packets, forwarding the packets after the encapsulation of the two layers and forwarding the unsealed packets on the two layers. After the implementation of the system, the functions of the system are tested, and the results of the test are in line with the expectations and meet the requirements of the system.
【学位授予单位】:哈尔滨工业大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.1
【参考文献】
相关期刊论文 前10条
1 程方;王鹏;;现代网络测试技术发展综述[J];重庆邮电大学学报(自然科学版);2008年S1期
2 任兴田;马严;;NetConf查询操作的形式化模型[J];大连理工大学学报;2005年S1期
3 马涛;龚荣凡;;网络数据小包吞吐量测试与分析[J];电子技术应用;2008年11期
4 宋庆;刘彦明;朱永升;;MPLS技术的研究[J];电子科技;2007年02期
5 梁永生;张基宏;张乃通;;IEEE标准容限内以太网转发时延的测试与分析[J];电子学报;2008年01期
6 段翰聪,卢显良,宋杰;基于EPOLL的单进程事件驱动通信服务器设计与分析[J];计算机应用;2004年10期
7 孙为清,赵轶群;VPN隧道技术[J];计算机应用研究;2000年08期
8 罗作民;朱燕;程明;;Web服务测试工具SOAPUI及其分析[J];计算机应用与软件;2010年05期
9 张战杰;王鸿飞;;NETCONF协议探析[J];洛阳理工学院学报(自然科学版);2011年03期
10 宋文文;李莉;;云数据中心大二层网络技术研究[J];中国教育网络;2013年12期
本文编号:2159120
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/2159120.html