Solved

How do I configure the network adapter on a VM using Virtual Box software?

Posted on 2011-09-24
5
520 Views
Last Modified: 2012-05-12
I"m having a problem getting a VM to join an existing domain.  It seems to be a network adapter configuration problem with the VM.  Here is the setup... I have a Server 2008 VM installed on a Windows 7 machine.  When I log into the Server 08 VM I can browse the internet, no problem.  But, when I try to join a domain I can't.  I CAN'T EVEN PING ANY OF THE OTHER PC'S ON THE NETWORK.  I tried playing around with the network adapter settings within the VM but I only made things worse and ended up having to revert back to an earier snapshot in order to undo the mess I made.  I can't figure it out.  Any ideas?
0
Comment
Question by:PCGalOfCal
  • 3
5 Comments
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 36593396
Change the network settings of the Virtual Machines NETWORK INTERFACE to BRIDGED MODE.

0
 
LVL 118
ID: 36593399
Virtualbox - Chapter 6. Virtual networking
http://www.virtualbox.org/manual/ch06.html

Each of the eight networking adapters can be separately configured to operate in one of the following modes:

Not attached

    In this mode, VirtualBox reports to the guest that a network card is present, but that there is no connection -- as if no Ethernet cable was plugged into the card. This way it is possible to "pull" the virtual Ethernet cable and disrupt the connection, which can be useful to inform a guest operating system that no network connection is available and enforce a reconfiguration.
Network Address Translation (NAT)

    If all you want is to browse the Web, download files and view e-mail inside the guest, then this default mode should be sufficient for you, and you can safely skip the rest of this section. Please note that there are certain limitations when using Windows file sharing (see the section called “NAT limitations” for details).

Bridged networking

   
This is for more advanced networking needs such as network simulations and running servers in a guest. When enabled, VirtualBox connects to one of your installed network cards and exchanges network packets directly, circumventing your host operating system's network stack.
Internal networking

    This can be used to create a different kind of software-based network which is visible to selected virtual machines, but not to applications running on the host or to the outside world.
Host-only networking

    This can be used to create a network containing the host and a set of virtual machines, without the need for the host's physical network interface. Instead, a virtual network interface (similar to a loopback interface) is created on the host, providing connectivity among virtual machines and the host.
Generic networking

    Rarely used modes share the same generic network interface, by allowing the user to select a driver which can be included with VirtualBox or be distributed in an extension pack.

    At the moment there are potentially two available sub-modes:

    UDP Tunnel

        This can be used to interconnect virtual machines running on different hosts directly, easily and transparently, over existing network infrastructure.
    VDE (Virtual Distributed Ethernet) networking

        This option can be used to connect to a Virtual Distributed Ethernet switch on a Linux or a FreeBSD host. At the moment this needs compiling VirtualBox from sources, as the Oracle packages do not include it.

Change to Bridged Networking.
0
 
LVL 92

Expert Comment

by:John Hurst
ID: 36593400
Typically, a Virtual Machine will start out with NAT Networking and so be on a different subnet than the host machine. This will explain why you cannot ping the other devices on the network. What you want to do is use Bridged Networking. That should work because it will use the same subnet as the host machine.

I use VMware, not Virtual Box, so I have a setting in my VM config file for the network device that allows me to select NAT or Bridged. There is likely the same setting in your VM config file. ... Thinkpads_User
0
 

Author Comment

by:PCGalOfCal
ID: 36593716
Awww, thank you.  I was tired of banging my head on the desk!  It was set to NAT and I did see a bridge mode option which I did not try.  I won't be back at that location until this evening and will try it then.  Thank you for ALL the info.  I love this site!!!
0
 
LVL 118
ID: 36593721
Yes, Bridged will solve ALL your issues.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now