针对传统网络环境构建存在成本高、效率低、可控性差的问题,进行了虚拟网络环境自动化构建技术研究,提出了一种基于KVM虚拟化的网络环境自动构建新技术:首先形式化描述真实网络,根据描述结果利用基于内核的虚拟机(KVM)和Click虚拟化生成主机、路由器,然后采用终端路由器路由表洪泛(TRTF)算法计算路由表信息,通过脚本技术对主机与路由器自动设置,形成最终虚拟网络。实验结果表明,利用本文构建算法,构建规模100个节点的网络环境仅需95s。在构建网络中进行了DDoS模拟实验,结果表明网络连通性状况良好,构建网络可用于网络安全事件重现。
The study was conducted to challenge the problems of high-cost, low-efficiency, poor-controllability of the tra- ditional method for construction of network environments, and a novel technique for automatic construction of virtual networks based on the virtualization using a kernel-based virtual machine (KVM). The new technique can be stat- ed below. Firstly, it gives a formalized description of a real network to be structured, and based on the result of the formalized description, it takes advantage of the KVM and the Click virtualization to produce the host and the router in the network. And then, it uses the terminal router routing table flooding (TRTF) algorithm to calculate the rou- ting table, and the host and the router set up themself by running a script. At this time a virtual network is formed. The experimental results indicate that it cost 95s to structure a network having 100 nodes, and the DDoS simulation on the virtual network shows that the network connectivity is in good condition.