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.