title: How to set up network on VirtualBox for Android 2.3
body: <p>I'm trying to install a VirtualBox virtual machine for developing on Android 2.3 (Gingerbread) but I cannot properly configure the internet connection.</p>
  
  <p>I followed many tutorials on the web and tried to apply some workaround suggested here on StackOverflow (for example <a href="https://stackoverflow.com/q/8227825/1061499">Android x86 porting, unable to make it work</a> ), but I still can't connect from my Android machine.</p>
  
  <p><strong>Some details:</strong></p>
  
  <ul>
  <li>When I execute <code>netcfg</code> on android console it returns only the <code>lo</code> interface (127.0.0.1).</li>
  <li>The iso image I'm using is <strong>"android-x86-2.3-RC1-asus_laptop.iso"</strong> downloaded from <a href="http://www.android-x86.org/download" rel="nofollow noreferrer">http://www.android-x86.org/download</a>. I use it on a Lenovo notebook with Windows 7 (but I've tried also on Ubuntu 11.04 Natty).</li>
  <li>I've tried to setup both <strong>host-only</strong> and <strong>bridged</strong> interface on my virtual machine, but they don't seem to work.</li>
  </ul>