模拟WAN网络的最佳方法 [英] Best way to simulate a WAN network

查看:117
本文介绍了模拟WAN网络的最佳方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简化后,我有一个应用程序,数据打算在两台服务器之间通过Internet传输.理想情况下,我想测试该软件在何时停止运行.在达到最低下限(带宽,延迟,丢失的数据包)时,事情停止工作以测试软件的可靠性.

Simplified, I have an application where data is intended to flow over the internet between two servers. Ideally, I'd like to test at what point the software ceases to function. At what lowerbound limit (bandwidth, latency, dropped packets) do things stop working to test the reliability of the software.

我想做的是以下事情:

  1. 设置3台计算机(VMware实例)
  2. 在两个服务器上安装2个应用程序.
  3. 通过在Windows 2003上使用路由和远程访问"进行某种魔术,将第三台服务器设置为位于两台计算机之间
  4. 安装 Traffic Shaper XP NetLimiter 以限制带宽
  5. 运行类似 TMnetSim网络模拟器的东西,以模拟错误的连接.
  1. Setup up 3 machines (VMware instances)
  2. Install the 2 applications on two of the servers.
  3. Setup up the 3rd server to sit between the two machines by doing some sort of magic with Routing and Remote Access on Windows 2003
  4. Install either Traffic Shaper XP or NetLimiter to limit the bandwidth
  5. Run something like TMnetSim Network Simulator to simulate a bad connection.

这听起来像是个好主意,还是有更简单/更好的方法呢?在Linux上我不太舒服,而我的队友则更是如此.

Does this sound like a good idea or are there easier/better ways of doing this? I'm not that comfortable on Linux and my team mates are even less so.

推荐答案

WANem 正是这样做的.我们已经在台式机和专用旧PC上的虚拟机中使用了它,并且效果很好.它可以模拟各种断开的连接.

WANem does exactly this. We have used it both in a virtual machine on the desktop and on a dedicated old pc and it worked great. It can simulate all sorts of broken connectivity.

这篇关于模拟WAN网络的最佳方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆