借助用户模式 Linux 或虚拟机/交换机模拟真实网络
我是用户模式 Linux 领域的初学者,最近通过阅读互联网上提供的材料开始研究它,例如; http://user-mode-linux.sourceforge.net/source.html 。
我的目标:
目前我正在执行一些测试,我正在使用直接硬件:例如; AP[接入点]-配置了不同类型的 NAT [全锥、端口限制、对称等] 和台式机
而不是使用此类所有硬件计算机、台式机等,我想我可能会使用类似用户模式 Linux 这些都是轻量级 Linux 的虚拟实例,我可以在上面模拟我的任务,例如;虚拟交换机,虚拟轻量级实例
我通过在同一台计算机上使用多个虚拟机(VMWare)来模拟不同的网络以及应该连接的网络进行了很多尝试虚拟交换机(没有找到任何)。
一起 -
[1]。有没有人有过这样的经历,你在虚拟机(UML或Virtual Box或VMWARE)和虚拟交换机(我不知道)的帮助下模拟了真实的网络。
[2]。如果是,是否需要太多努力?是不是感觉配置没有那么复杂?
I am a beginner in User Mode Linux Area, and recently started working on it, by reading material available in Internet e.g; http://user-mode-linux.sourceforge.net/source.html.
My Objective :
Currently I am performing some tests, On which I am using direct hardwares : e.g;
APs[Access Points]- Configured with different types of NAT [ Full Cone, Port Restricted,Symmetric etc] and Desktop's
Rather using such all hardwares Computers ,Desktops etc, I think I may use something like User Mode Linux which all together light-weight Linux's Virtual Instances, On that I can simulate my task e.g; Virtual Switch, Virtual light-weight Instances
I tried a lot by using several Virtual Machines (VMWare) on same machine to Simulate different networks , and networks supposed to be connected Virtual Switch (didn'y find any).
All together -
[1]. Is there any one who has such past experience , Where you have simulated real network with the help of either Virtual Machines(UML or Virtual Box or VMWARE) and Virtual Switch (I don't know any).
[2]. If yes, Is it require too much effort ? means do you feel configurations are not much complex ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
有这样的产品。
它被称为 GNS3 VirtualBox 版本:
http://forum.gns3.net/topic3262.html
There is such a product.
It is called GNS3 VirtualBox Edition:
http://forum.gns3.net/topic3262.html
我过去曾使用 vde 来模拟网络。它很棒,可以让您设置诸如虚拟交换机之类的东西(http://wiki.virtualsquare.org/wiki/index.php/VDE)。我模拟的是连接到虚拟交换机(使用 vde)的 5 个虚拟机(使用 qemu)。
我不确定虚拟化产品的情况如何,但像 VMWare 这样的东西也可能允许您创建虚拟网络,但我怀疑它是否像 VDE 一样灵活。
I've used vde to simulate a network in the past. It's great and lets you setup things like virtual switches (http://wiki.virtualsquare.org/wiki/index.php/VDE). What I simulated were 5 virtual machines (using qemu) connceted to a virtual switch (using vde).
I'm not sure what the state of affairs is with virtualization products, but somethign like VMWare might also allow you to create a virtual network but I doubt it would be as flexible as VDE.
用户模式Linux很古老,我建议按照sashang的建议使用VDE,但是模拟网络会有帮助......但是这纯粹是模拟,现实世界中的真实设备可能表现不同,反之亦然......
User Mode Linux is like very old, I would suggest using VDE as suggest by sashang, but simulating networks can he helpful.... However it's purely simulation, real devices in the real world can behave differently and vice verse....
有许多开源网络模拟器可以帮助自动化创建虚拟机并将它们连接在一起的过程,您可能会发现它们很有用。我创建了这些工具的列表以及一些教程,并将其发布在:http:// /www.brianlinkletter.com/open-source-network-simulators。
There are a number of open-source network simulators, which help automate the process of creating virtual machines and connecting them together, that you might find useful. I created a list of these tools, along with some tutorials, and posted it at: http://www.brianlinkletter.com/open-source-network-simulators.