So My host OS is Windows 7 and the guest is an Ubuntu Server machine. I have connection between the host and the guest, but the guest cannot connect to internet, and I need to have both. I use a laptop with wifi connection and I have disabled Windows7 firewall.
I have configured the Network Adapter as bridged adapter:
My network adapters configuration is:
auto lo
iface lo net loopback
auto eth0
iface eth0 inet dhcp
auto enp0s3
iface enp0s3 inet dhcp
I have configured enp0s3 because it appeared when I executed ifconfig -a
. eth0 have no use.
Best Answer
This can be caused if your guest OS does not have an IPv4 IP assigned to it
run "ifconfig" to get the network details. If you do not see an inet4 address, try running "dhclient" to force a reassignment of inet4 address.