Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So I finally ponied up the money, and bought a server that can actually handle virtualization. On my host machine, I have two static IP addresses, I installed Ubuntu, and followed the guide on installing the needed packages, and bridging. I am able to connect to the Virtual Machine Manager on my laptop and installed two virtual machines.

For the life of me I don't know how to connect my Virtual Machines to the internet. I'm able to view them just fine through the virtual machine manager, but I can't figure out that final step.

Do I have to have and use separate IP address I have to connect each virtual machine to the internet? Is it possible to use an internal IP address (like 192.168.1.x) and have them route out to the one static IP address?

Here is my /etc/network/interfaces file:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static

    # dns-* options are implemented by the resolvconf package, if installed

    bridge_ports eth0
    bridge_stp off
    bridge_fd 0
    bridge_maxwait 0

If you need them, I can provide more configuration files.

share|improve this question
Is the subnet on your network? Is DHCP running on it? What have you done already to try to connect? –  John S Gruber Sep 15 '12 at 15:53
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.