摘要
研究了网络环境的构建。针对构建网络环境的传统试验床技术代价高,网络仿真真实性差的缺点,提出了一种基于网络仿真器NS-3的新的网络环境构建技术。为了实现物理网络和仿真网络的对接(简称虚实对接以及物理网络和仿真网络的路由策略,该技术采用基于虚拟网卡桥接的虚实对接设计。为实现虚实之间的数据通信,虚拟网卡桥接采用基于轮询机制的监测算法(PMA),路由策略采用基于广度优先搜索的路由改进算法(BFSIA)。利用ping命令和IRC僵尸网络对构建网络进行了测试,测试结果表明用这项技术可进行真实的数据包转发。通过设定不同规模的网络拓扑测试了BFSIA计算路由所消耗的时间,并和NS-3全局路由算法进行了比较,证明了BFSIA的优越性。
The problem of building network environments was studied. In consideration of the shortcomings of low truth- fulness in network simulation and high cost of the traditional testbed technique for net-environment building, a no- vel net-environment construction technique based on the network simulator NS-3 was proposed. To realize the link- age of the physical network and the simulation network ( called "the linkage of the virtual with the true" for short) and the routing strategy for the two, the new technique uses the design of the linkage of the virtual and the true based on the virtual network card' s bridging. To realize the data communication between the simulation network and the physical network, the virtual network card' s bridging uses the polling monitor algorithm (PMA) , and the routing strategy uses the breath first search improved algorithm (BFSIA). The constructed network was tested by using the ping command and the IRC botnet, and the test results show that the proposed technique can forward the real packet. The consumption time and the comparison with the NS-3 of BFSIA routing was tested by setting the different sizes of network topology, global routing algorithm proved the superiority of BFSIA
出处
《高技术通讯》
CAS
CSCD
北大核心
2015年第7期685-693,共9页
Chinese High Technology Letters
基金
国家科技支撑计划(2012BAH45B01)
国家自然科学基金(61100189,61370215,61370211)
国家信息安全计划(2014A085,2015A072)资助项目
关键词
网络仿真
拓扑形式化描述
虚拟网卡桥接
路由算法
network simulation, formalization of topology, virtual network card' s bridging, routing algorithm