随笔分类 -  网络仿真

各种网络仿真工具的使用、测试。
NCTUns Emulation——external host与simulated host通信测试
摘要:有时候可能由于路由没有配置正确,或者NCTUns需要的依赖环境没有安装完备,则external host与 simulated host可能无法直接通信。例如如下的拓扑中,若要求host1与外部的物理主机PC_B要进行通信,而在测试时又无法实现,一种替代的做法是通过host2进行转发。host1、host2以及PC_B上运行的程序如上图。测试代码如下:udpclient.c#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include & 阅读全文

posted @ 2012-12-01 20:09 Chiseme 阅读(947) 评论(0) 推荐(1)

NCTUns网络仿真工具的安装
摘要:第一部分:仿真工具的特性1.1 High-Fidelity Simulation ResultsNCTUns directly uses the real-life Linux’s TCP/IP protocol stack to generate high-fidelity simulation results1.2 Reusing All Real-Life Application ProgramsIn NCTUns, all real-life existing or to-be-developed UNIX application programs (e.g., the P2P Bit 阅读全文

posted @ 2012-11-25 08:38 Chiseme 阅读(1909) 评论(1) 推荐(0)

导航