Network Connection error & can't browse internet, how do I troubleshoot the network connection? I want to set a static IP for vbox guest ubuntu 12.04 machine on bridged network Host is ubuntu 12.04.

steps i did:

on vbox, I enabled bridged network & in ubuntu host's network interface I added a new wired connection with following info:

IP : netmask: gateway/DNS:

in my host cat /etc/network/interfaces (i did a gedit to append the static IP info)

auto lo
iface lo inet loopback

iface eth0 inet static

in my guest cat /etc/network/interfaces

auto lo
iface lo inet loopback

IP : netmask: gateway/DNS:

This is not going to work. Your IP is not in the same subnet than the default gateway. Either use a IP in the correct network (i.e. or change the network mask to, whatever is appropriate for your network configuration.

If you give us some working machine configuration we can deduce the correct option.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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