VirtualBox 4.1.12 Ubuntu Host Bridged Networking

Posted by hidden_premise on Server Fault See other posts from Server Fault or by hidden_premise
Published on 2012-04-16T21:18:02Z Indexed on 2012/06/21 15:18 UTC
Read the original article Hit count: 375

Filed under:
|
|

Setup

  • Ubuntu Server 11.10 x64
  • VirtualBox 4.1.12
  • One network adapter eth0 with a static IP address

My /etc/network/interfaces looks like

    #Local loopback
    auto lo
    iface lo inet loopback

    #Primary Interface
    auto eth0
    iface eth0 inet static
        address 10.0.0.6
        netmask 255.255.255.0
        gateway 10.0.0.1

Need

Static IP for Ubuntu Host

Static IP for multiple Ubuntu guests

My attempt

  1. Downloaded the .deb for 64bit virtual box
  2. dpkg -i virtualbox.deb
  3. Create a VM and install ubuntu server 11.10 x64 from ISO
  4. Set the networking mode to bridged and choose 'eth0' as the interface
  5. Fail.

None of the guides I can find for bridged networking work because everything changed since vbox 2

© Server Fault or respective owner

Related posts about ubuntu

Related posts about networking