Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

My problem is how to access guest VM from outside network. I am going to describe my problem in details.

I have single machine with Ubuntu Server 12.04 LTS contains two NICs. One NIC is connected to my gateway(i.e. and is IP address of this interface. Another NIC has IP but this is a part of Bridge(i.e. br0).

I created two guest Ubuntu 12.04 LTS Desktop VMs with IP address and

My /etc/network/interfaces file is as following:

The loopback network interface

auto lo
iface lo inet loopback

The primary network interface

auto eth2
iface eth2 inet manual

auto eth1
iface eth1 inet dhcp

auto br0
iface br0 inet static
    bridge_ports eth2
    bridge_fd 9
    bridge_hello 2
    bridge_maxage 12
    bridge_stp off

I am able to ping to from guest VM. But I am unable to ping gateway (i.e. I already had a IP forwarding enable in /etc/sysctl.conf. But I am able to access the Internet from by host OS.

Can I get help to access and other networks from guest VMs?

share|improve this question
What VM manager are you using? This may be specific to your router, which we are unable to help with. – hexafraction Sep 17 '12 at 17:02

1 Answer 1

Did you restart your network to make your changes active?

Use this:

sudo /etc/init.d/networking restart

so that your bridges become active.

share|improve this answer
I tried setting "Bridged adapter" and restarting the networking service. ifconfig command displays a ip address for the guest machine as 10.210.x.x, but I can not connect to the guest vm from my host machine through putty. What could be wrong? – Andy Dufresne Sep 24 '14 at 6:17

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.