Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have two Windows 7 and one Windows XP guest systems running on a Windows 7 host with Virtual PC 2007. I also have a laptop in the system.

  • All of them can connect to the internet.
  • The laptop can only see the host computer.
  • The host can see the host itself and the laptop, but none of the virtual machines.
  • The host can ping and tracert i.e. google.com and get all the steps.
  • The guests can see themselves, but not each other, the host or the laptop.
  • The guests only get a long sequence of "Request timed out" when trying to tracert i.e. google.com, and they can not ping each other or the gateway (the host).

How can I make the guest systems part of the network? At least so that I can talk to the guests from the host and vice versa. For example I would like to run an SQL Server on one of the virtual machines and access it from the host system. Would also be nice if I could get the Win7 guests to be part of the same Homegroup as the host.

share|improve this question
    
how's your virtual networking setup? –  Chopper3 Aug 13 '09 at 11:05

1 Answer 1

up vote 1 down vote accepted

If you want to expose your virtual machines to the outside world, you will need to enable Bridged Networking in your VPC configuration for each VM. At the moment it sounds like it is NAT'd, which will mean that they can only see the host.

Bridged Networking will make your VM's appear on the network as a whole new machine, with an IP address, NetBIOS resolution, dns entry, the works.

Just don't forget that in Vista and Windows 7 you have to enable Network Discovery manually in order for them to show up as well.

share|improve this answer
    
How do I set up Bridged Networking? When I open up the Virtual PC Settings of one of the guests and go to Networking, I can select Not Connected, Shared Networking (NAT), D-Link -- (my wireless adapter), and Realtek -- (Wired network card, not connected). –  Svish Aug 13 '09 at 11:51
1  
Choose the D-Link card (if that's the one you have connected to the internet. Bridged networking allows the VMs to share your network connection, obtaining an IP on the same subnet and being a part of the network in the same way your host machine is, rather than behind NAT. –  Justin Bennett Aug 13 '09 at 11:53
    
I left out a parenthesis after "internet" –  Justin Bennett Aug 13 '09 at 11:54
    
Wow, you beat me to it. Exactly what Justin said. Sorry I'm used to the VMWare terminology, but it's the same thing. –  Mark Henderson Aug 13 '09 at 11:56
    
Ah, so my host will still be able to use the wireless even if I set the guest to use it? –  Svish Aug 13 '09 at 11:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.