July 23, 2008

NETinVM: A whole network in a single virtual machine

Have you ever wished you had a full network lab available to you, full with different networks and systems, where you could try out different tools and techniques whenever you wanted? Maybe to learn about some tool, or to teach or demonstrate some tool to others, or to develop and test a new tool?

Well, we have, and that's why we developed NETinVM.

Consider the following network diagram:



The system labeled "VMWARE" (base.example.net) is a VMware virtual system running in the system labeled "REAL COMPUTER". All other computers depicted in the diagram are User Mode Linux virtual systems running inside the VMWARE system (base.example.net).

Here is the beauty of it: all you need to set up and run this whole network environment is just one real computer running VMware Player (or Workstation or Server) and a copy of the image of the VMWARE system (base.example.net). That image is what we call NETinVM and we have made it publicly available. You can download a copy of NETinVM from http://www.netinvm.org, where you will also find documentation and more details about the tool.

In future posts I'll describe some of the features of NETinVM but if you can't wait you are most welcome to go ahead, download and start using it, and, if you are kind enough, let us know what you think of it via e-mail or blog commment.

We hope you find it useful.

David Perez
Carlos Perez

Labels:

9 Comments:

Anonymous Anonymous said...

Dear __-Da-Jo team:
I have just downloaded the VMware Server from vm website.
I am running VMWare Server 1.0.6 under Kubuntu 7 and my other VMs runs ok. But I am not able to run yours :-(

This is the error message I got:
---------------------------
Unable to add virtual machine netinvm_2008-06-12.vmx to the inventory: Configuration file was created by a VMware product with more features than this version
---------------------------

Does this ring any bell to you?
Thanks!
Daniel.

10:20 PM  
Blogger David Perez said...

We created the vm image using VMware Workstation 6 and have tested it obviously with that (VMware Workstation 6) and also with VMware Player, but not with VMware Server. I guess 6.X virtual machines are not supported by VMware Server. Sorry.:-/

David.

1:47 AM  
Blogger rafa said...

Hi David !!

Thank you very much for the VM. It seems to give lots of fun. I'll try and play with it.

Thanks !!

Good to see RaDaJo crew posting again !!!

Rafa.

9:26 AM  
Anonymous Anonymous said...

Hi have tried the VM and it is amazing and very useful!!!

thanks so much you for your work.


The documentation is also great !!

three little comments about it:

- the user that is used in the doc is not user1.

- You could mention how to stop the UML systems (the halt script that is bundled with the VM)

- It would be great if you could tell a liitle more about the fw. how could it be configured (is it based on iptables?)

Again thank you !!

REgards,
Rafa.

9:30 AM  
Blogger David Perez said...

Hi Rafa!

Glad you like it and thank you for your comments!

1) user1 not in the doc - Initially we used a user called "unp" that stood for "usuario no privilegiado" (non privileged user, in Spanish). Then we switched to user1 but some parts of the documentation had already been written. We'll fix that. Thanks for bringing it to our attention.

2) stopping the uml systems - Actually the proper way to shut them down is using the "shutdown" command inside of them :-), but I take your suggestion and I'll do a post on the management of the uml systems, describing not only about how to start/stop but also how to go back to the original snapshot of a particular uml system or how to make changes permanent.

3) info about the fw - Glad you asked for it1 I will write a post dedicated to this topic specifically. :-)

PS: It's good to be back and it's good to hear back from you!

Best regards,
David.

10:46 PM  
Blogger C.S.Lee said...

Hi Radajo,

Great works ;]

To anonymous, it should work on VMware server, you need to modify *.vmx file.

4:02 AM  
Blogger odoggz said...

I appreciate the work you've done on the VM!

9:11 PM  
Anonymous Pro said...

RaDaJo,
Let me first thank you all for the hard work that you have done with NETinVM. Currently when I try to use NETinVM I receive an error. If you can assist me or point me in the correct direction to help me fix this issue I would be very thankful. I included my system specs as well. This is the following error: "This kernel requires the following features not present on the CPU: pae
Unable to boot - please use a kernel appropriate for your CPU."


Host System: Linux Mint Debian (LMDE) 201303, Kernel ver. 3.2.0-4-amd64
Software: Oracle Virtual Box ver. 4.2.12



Pro

10:31 AM  
Blogger David Perez said...

Hi Pro. Please check out:
http://www.virtualbox.org/manual/ch03.html

Search for "Enable PAE/NX".

HTH.

9:48 AM  

Post a Comment

<< Home