Setting Up USB and Networking Options in VirtualBox

Written by:  • Edited by: Michele McDonough
Updated Sep 7, 2009
• Related Guides: Virtualbox | Operating System

Having problems with USB and Networking under VirtualBox? Sun's VirtualBox offers options to use USB devices such as external drives, flashdrives and other devices under the settings options. VirtualBox also offers the ability to network with other computers. This tutorial shows how to use these.

VirtualBox Features

Many programmers, computer technicians, and even home users could use two computers. Sun's VirtualBox offers a free way to set up an alternate operating system. VirtualBox often can easily be set up to run an alternate OS but the features are frequently misunderstood and end users sometimes have problems with USB features and networking.

Setting up USB Options

End users wishing to use the USB options will need to adjust the settings under the program settings screen. With VirtualBox, each operating system is listed in the left pane of the program. With the operating system highlighted, settings can be adjusted by clicking on the settings (geared icon) above the selected operating system.

In order to adjust the aforesaid settings; the settings options will appear after clicking on the geared icon. Click on the USB Settings. The right pane will show the USB screen. Check the box to enable the USB Controller. You can now click the empty filter icon (USB with Blue circle) to create a USB that accepts any USB device. The USB icon with a green plus sign can add devices already configured on the host operating system. By selecting these devices, USB will now be ready to accept devices on the virtual operating system once it is started.

USB Options

(untitled)(untitled)(untitled)(untitled)(untitled)(untitled)(untitled)(untitled)

Networking with VirtualBox

Often the networking options like the USB options can be confusing. With VirtualBox, there are four predefined network cards available. With Windows 7, the Intel Pro/1000 is the most compatible and bridges with your internal cards flawlessly. Depending on the operating system, motherboard or cards that have been installed on the operating system, selecting PCNet or Intel interface almost always insures networking will be functional.

With the options for NAT, Host Adapter and Internal options, each of these can be used to determine which 'network' you want the computer (virtual) to be on. NAT allows for the computer to get an IP address from the host computer. The host computer keeps its IP address and assumes a 10.x.x.x private IP address. The host computer then acts as a bridge to the virtual computer which gets a 10.x.x.x private IP address. This NAT (network address translation) allows the computers to talk to each other and allows the virtual computer to navigate anywhere on your network or the internet. The HOST Adapter setting allows the virtual computer to assume an IP address on the same network as the host computer.

Networking is one of the key features of VirtualBox. Networking allows you to setup patches, service packs and yes, you MUST protect this machine just like the host computer with Antivirus software. Although this computer is virtual, once it is placed on the network, it becomes as vulnerable as any other computer.

Networking Options

(untitled)(untitled)(untitled)(untitled)

Conclusion

These two options are the most often misunderstood options in Sun's VirtualBox. Using the tutorial above, USB options and networking are easy to setup. As every computer is different, you may have to select different options in order to get these two settings to work with your system.

For more information, check out these resources:


Comments

Showing all 6 comments
 
Christine Margaux Jun 2, 2010 9:09 PM
Thank You :)
Just saved me a lot of time trying to figure out the USB :) Looking at the settings I had an idea this was how to do it, but validation is always great :)
ArchangeL Apr 8, 2010 10:19 PM
Thx
Thank you very much =D
yofedabu Mar 18, 2010 5:05 PM
Thanks forever!
Very usefull tip. Many wasted months searching to solve how setting USB in VirtualBox...
Yaki Nov 24, 2009 4:08 PM
Excellent
Thanks very much !
After a lot of search, your article solve my two problems that you describe.
Steve Mallard Jun 22, 2009 8:48 AM
USB
USB devices need to be installed or turned on in the BIOS. You will also need to check the Device Manager and make sure the drivers are installed.
Kafulu Zed Jun 21, 2009 11:30 AM
USB devices not showing up in my virtual machine
Hello there Steve,

I've done all the things you talk about above but still don't see anything show up in my windows XP virtual machine's tray. (The host is an up to date Debian Lenny install). The one thing I can think of is the fact that I don't have any service pack on the windows install but apart from that what else could be causing this? I have managed to get the network up as wall as the the use of my host machine's DVD drive.

Let me try out the installation of SP2 and then get back to you,

Kafulu Zed
 
blog comments powered by Disqus
Email to a friend