我有兴趣对路由器固件进行定制。我想在虚拟化环境中运行路由器固件,这样我就可以立即运行修改后的代码,而不必将其烧录到路由器本身中。而且任何错误也可以很容易地发现。最后最重要的是,我不会因为代码错误而不得不扔掉路由器。是否可以在 virtualbox 上运行路由器操作系统并进行测试?
I am interested in doing customization's to a router firmware. I want to run the router firmware in a virtualized environment so that i can run the modified code instantly without having to burn it into the router itself. And also any bugs also can be discoverd easily. And finally most importantly i will not have any risk of having to throw away my router due to buggy code. Is it possible to run router Operating systems on virtualbox and test it ?
发布评论
评论(2)
大多数路由器都基于 MIPS 处理器。 VirtualBox 允许您仅“模拟”您的主机处理器(可能是 x86 或 x86_64)(它不是真正的模拟,而是唯一的虚拟化)。所以你不能使用这个软件来做到这一点。尝试一下 qemu 软件 - 它是一个真正的模拟器,可以模拟多种处理器,包括 MIPS。
Most routers are based on MIPS processors. VirtualBox allows you "emulate" (it's not real emulation is the only virtualization) only your host processor (probably it's x86 or x86_64). So you can't use this software to do this. Try qemu software - it's a real emulator and can emulate lots of kinds of processors, including MIPS.
您可以使用 GNS3 和 Dynamibs,这样您就不需要 Virtualbox,并且能够通过 GNS3 漂亮的 GUI 管理所有虚拟路由器的控制台。
You can use GNS3 and Dynamibs, that way you don't need Virtualbox and will be able to manage console to all virtual-routers through GNS3 nice GUI.