I'm having difficulties connecting to the Internet from *NIX virtual machines. I have a whonix gateway and workstation, and a kali linux virtual machine running in Sun's Virtual Box. The network settings are shown bellow:
The above configurations are not working when I'm connecting to the Internet through an ethernet cable, using a statically assigned IP address on the host machine. The configuration works when I am using DHCP and connect through a Wi-Fi hotspot.
I also have a virtual machine running windows 7 that connects to the Internet regardless if the host is connected via the ethernet cable or Wi-Fi hotspot. Its configuration is bellow:
The host machine is running x64 windows 7. Why are the linux virtual machines unable to connect to the Internet when the host machine has a static network configuration?
In the above configurations only adapters that are in use are shown.