View Full Version : Virtual Machine Under same host Networking
manuleka
21 May 2008, 9:00am
I'm running variety of OS under VirtualBox on my Vista Ultimate Laptop... i have installed Windows XP Professional, Windows Server 2003, Ubuntu and Kubuntu 8.04
now my question is, can i get these 4 OS to network to each other? for a start can i connect my Windows XP Professional and Windows Server 2003? I recognize that they both come up with the same IP address/netmask etc...
is this possible? two separate virtual machines acting as separate machines talking to each other but both sitting on the same physical host OS?
Your Amish Daddy
21 May 2008, 11:35am
I'm wondering why you'd need such a thing...
kryyst
21 May 2008, 1:38pm
I don't know about in virtual box but you can in VMWare, each host machine gets it's own virtual IP and adapter. If you have each machine running then can see each other.
manuleka
21 May 2008, 11:37pm
looks like i need to create a virtual network
http://opensourceexperiments.wordpress.com/2008/04/18/virtualbox-case-study-making-host-only-networking-work-between-two-ubuntu-guest-os-virtual-machine-on-windows-vista-host/
looks quite straight forward tho
Shorty
22 May 2008, 6:09am
looks like i need to create a virtual network
http://opensourceexperiments.wordpress.com/2008/04/18/virtualbox-case-study-making-host-only-networking-work-between-two-ubuntu-guest-os-virtual-machine-on-windows-vista-host/
looks quite straight forward tho
That would make sense. You have several network options in VMWare so an assumption is the same with Virtualbox.
What I do with my virtual network is have two adapters per guest. One bridges through the physical hosts network card out to the local network. I then have a second adapter on each guest attached to a defined virtual switch. This allows the guests to talk to each other natively without needing to go through the guest os #1 adapter -> bridged interface -> local network -> bridged interface -> guest os #2 adapter route. That would be really inefficent.
manuleka
22 May 2008, 8:49am
thanks shorty i'll try that... so with the virtual switch are these separate additions to the VirtualBox? or VirtualServer? i'm currently using virtualbox but i'm unsure how to add in a virtual switch and stuff... do i need to use a virtualserver like vmware server or microsoft virtual server or something?
Shorty
22 May 2008, 2:41pm
Section 6.9 of the virtualbox manual talks about "internal networking". So it does support it but is implemented in a different way to the one I am familiar with (VMWare) but the concept is the same. A local adaper on each guest operating system that can communicate without having to go out and back in via the bridged host adapter.
Incase you didn't know... VMWare is actually available for free: http://www.vmware.com/products/server/ .. it is the former cost product known as GSX server. So If you can virtualbox has it's limitations, that may fill in those blanks :)
manuleka
23 May 2008, 8:51am
thanks shorty, i will definitely try out vmware... i think virtualbox is quite a light vm... i'm learning ms virtual server 2005 at work... vmserver is abit more complicated in comparison
DJ_Evergreen
2 Jun 2008, 12:51am
If all you need is one virtual network then Virtual PC does this. And it's free. If you need multiple virtual networks then Virtual Server does it. It's free too.
Download Virtual PC 2007 (http://www.microsoft.com/windows/downloads/virtualpc/default.mspx) Download Virtual Server 2005 R2 (http://www.microsoft.com/windowsserversystem/virtualserver/)
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.