Showing posts with label virtualbox. Show all posts
Showing posts with label virtualbox. Show all posts

Mar 13, 2009

How To Setup Bridge Networking for Virtualbox in Windows

I am a big fan of Sun's Virtualbox. I have written about it in the past. I still like it better than VMWare when running it on my local workstation to create test boxes and such on the fly. It is lighter, and simpler than VMWare desktop for the most part. The thing it doesn't do too well is bridged networking.

The bridged networking never bothered me before. I just would use NAT and be done with it. However today I had to do some testing of an antivirus suite I am evaluating and needed to have a machine I could infect with Antivirus 2009. This machine needed to be bridged so it could successfully report back to my test server.

You can however configure Virtualbox for bridged networking, you just have to do some simple fenagling. To configure your Virtual machine for bridged network in Windows do the following:

  • Open Virtualbox, select the VM you need bridged networking on.
  • In the right panel, click on "Network".
  • The settings box will pop up.
  • Look under Host Interfaces. You will not see anything listed there.
  • Click the "Add New Host Interface (Ins)" button.



  • Give the interface a name. I called mine "VirtualBox Host Interface 0". Click Ok.
  • Changed the "Attached to" drop down box to Host Interface. Click Ok.



  • Now click on Start>Control Panel>Network Connections.
  • Click on your NIC, then hold down control and click on your new VirtualBox host interface you just created. Right click and select "Add to Bridge".



  • A new network bridge will be created, and now your VirtualBox will operate in Bridged mode!
I hope that helped you out. If you know of a good write up on how to do this on Ubuntu I would like to know. Hit me up with a link in the comments.

Technorati Tags: , , , ,

Apr 30, 2008

Making the switch to Open Source Vitualization

I know my last post talked about how to install VMWare server on Ubuntu 8.04, which is great, but I decided to do away with it anyway. I installed VMWare server on my test box at work, but on Friday night when I went to do the same thing on my laptop, conveniently VMWare was doing maintenance on the download page of their website so I couldn't download it. Me being the impatient man I am decided to look elsewhere.

I had took a quick look at Innotek's VirtualBox (Now owned by Sun Microsystems) a little while back, and then promptly went back to VMWare's loving arms. I decided last weekend to give them another go, and you know what, I don't think I will be looking back. I can't say that I am doing away with VMWare 100%. We have an ESX server here at my real job, but for my workstation, and Ubuntu use, you better believe I have switched over.

VirtualBoxSince the switch I have setup a couple of virtual boxes (Windows XP, and a Gentoo box). Both installed fairly easily (As easily as one can with Gentoo). The interface is very intuitive, and it offers all of the same features of VMWare including a VMWare Tools like program for the guest OS called "Guest Additions."

The thing I like the best though is the low overhead. When running VMWare server on either my Windows XP host, or my Ubuntu Host, it seemed to really drain resources. VirtualBox seems to run much lighter, which is good because I can still work on other things while my guest OS is running.

Lets talk about installation now. Of course installation is straight forward in Windows for both VMWare and VirtualBox. The same thing can't really be said about VMWare on Ubuntu. VirtualBox on the otherhand is really easy to install. You can either get it through Synaptic:

sudo apt-get install virtualbox

However, the repository version isn't really ready for prime time in my opinion. I downloaded the "Gutsy" version direct from the VirtualBox website, and ran the deb installer. Very easy to install. I had it up and running in just a minute or two. Also, the VirtualBox installer for Windows is an MSI file which makes it easy for silent deployments.

If you are still having problems with VMWare in Ubuntu, you should give VirtualBox a try. I think it is safe to say you won't be disappointed.



Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | stopping spam