in

Dot Net Mafia

Group site for developer blogs dealing with (usually) .NET, SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, and other Microsoft products, as well as some discussion of general programming related concepts.

This Blog

Syndication

Archives

Corey Roth [MVP]

A SharePoint MVP bringing you the latest time saving tips for SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, MOSS 2007, ASP.NET, LINQ, and Visual Studio 2012.

Simple network configuration in Sun VirtualBox

As some of you know by now, I’ve really been pleased with the performance and features that are offered by Sun VirtualBox.  I get asked about it quite a bit when I give talks.  Specifically people ask me what I think about it and why I chose it.  Simply put, it allows me to run 64 bit guests on my Windows 7 machine and the price is right (free).  Other virtualization platforms simply either can’t run 64 bit guests, can’t run on Windows 7, or cost money.  You can infer which solutions I am referring to right there. :-)  Some of my friends are probably in shock right now since I am recommending a non-Microsoft product. :-)  Another nice benefit of it is that it can open both VMware and Virtual PC hard disk images.

Since I’m on a laptop, I am often switching between wired and wireless networks.  This can prove to be a pain in your Virtual Machine if you don’t either shut it down and reconfigure the network or make this one simple change.  For those familiar with virtualization, this probably already seems obvious.  For those out there that are relatively new to this, you might appreciate this simple tip I have for today.  My goal?  To have Internet access on my virtual machine regardless of which physical network adapter is used.  To do this, we make use of the Bridged Adapter setting as seen below.

VirtualBoxNetworkAdapter1

Note how it is bound to a specific network adapter on my laptop.  In this case, it is the Gigabit Ethernet adapter.  I want my VM to have Internet access when I am on a wireless network too, so the way to do this is simply enable a second virtual network adapter.

VirtualBoxNetworkAdapter2

Note, this one is configured to use my wireless network adapter.  The Bridged Adapter setting is not the default so you have to select it.  If you don’t have working Internet access on one of your virtual machines, try this technique using bridged adapters and it should get you going.  As a remind, the Virtual Machine has to be fully powered off before you can change any of these settings.  If you are using another virtualization platform, you can also use this same trick.  I would love to see virtualization software just default to settings like these but I am sure there is a good reason to do it the way they are. :-)

Comments

 

Twitter Trackbacks for Simple network configuration in Sun VirtualBox - Corey Roth - DotNetMafia.com - Tip of the Day [dotnetmafia.com] on Topsy.com said:

Pingback from  Twitter Trackbacks for                 Simple network configuration in Sun VirtualBox - Corey Roth - DotNetMafia.com - Tip of the Day         [dotnetmafia.com]        on Topsy.com

May 10, 2010 5:22 PM

Leave a Comment

(required)  
(optional)
(required)  
Add

About CoreyRoth

Corey Roth is an Applications Architect at Infusion specializing in ECM and Search.
2012 dotnetmafia.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems