Unable to connect to internet with VirtualBox using bridged adapter

networkingvirtualbox

I am trying to connect to the internet using bridged Adapter mode in virtual-box ? the host machine (win 7) connected to the internet,but the guest machine(vm machine) can not connect!

thanks in advance.

Best Answer

You may try ping an internet IP address, if it's connected by domain name doesn't work, go to edit resolv.conf to add name server manually resolv.conf nameserver 192.168.1.1

If you set up DHCP at first time to start the interface, this file will be written by DHCP service to the above information.