虚拟机的虚拟网络 [英] Virtual Network of Virtual Machines

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

问题描述

我正在开发旨在在 LAN 上运行的软件.当软件的多个实例在网络上运行时,它们会相互干扰.

I am developing software that is designed to run on a LAN. When multiple instances of the software are run on the network, they interfere with each other.

我希望多个团队成员能够同时测试程序.我该怎么做(不改变程序).

I want multiple team members to be able to test the program simultaneously. How would I do so (without altering the program).

我的第一个想法是创建一堆在本地机器上运行的虚拟机,这些机器联网在一起.重要的是我不能在我的真机之外生成网络流量.

My first thought would be to create a bunch of virtual machines running on a local box, with those machines networked together. The important thing is that I cannot generate network traffic outside of my real machine.

哪种虚拟化软件是完成此任务的最佳选择?我将如何配置软件以这种方式运行?

Which virtualization software would be the best choice to accomplish this task? How would I configure the software to behave in this manner?

推荐答案

就个人而言,我喜欢 VMWare Server...它几乎是开箱即用的,它可以很好地处理 vm 网卡,允许将它们视为物理设备(就 DHCP 等而言).

Personally, I like VMWare Server... It pretty much works out of the box, and it handles the vm network cards very well, allowing them to be treated as physical devices (in terms of DHCP etc).

至于配置软件,就机器而言,它们是真实的.如果您为它们分配静态 IP,它们也可能是真机 - 尽管您会发现通过远程桌面管理它们比使用 vmware 控制台界面更容易.

As for configuring the software, well as far as the machines are concerned, they are real. If you assign them static IPs, they may as well be real machines - although you'll find it easier to administer them by remote desktop rather than use the vmware console interface.

我实际上在生产环境中使用 VMWare 服务器,在同一个物理机器上运行虚拟网络服务器、虚拟数据库服务器和虚拟应用程序服务器.VMWare 还附带了一个很棒的转换器工具,可以虚拟化物理机.这让我能够更轻松地将我的服务器从三台物理机整合到一台.

I actually use VMWare Server in a production environment, running a virtual webserver, virtual DB server and a virtual app server on the same physical box. VMWare also comes with a great converter tool that can virtualize a physical machine. This made it much simpler for me to consolidate and maintain my servers from three physical machines down to one.

编辑 2:它也是免费的 ;)

EDIT 2: It's free too ;)

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

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