I have set up a Kali Linux virtual machine in my Windows 10 using vmware workstation
Internet is working fine with this automatic configuration (NAT) (Edit : I tried Bridged too but still the same problem)
I want to set up a static ip address using these lines :
auto eth0 iface eth0 inet static address 10.3.2.12 netmask 255.255.255.0 gateway 10.3.2.1 dns-domain test.com dns-nameservers 220.127.116.11 18.104.22.168
Doing that I lose my internet and I can't ping my gateway inside the virtual machine using
it shows me the error Host unreacheable
I only can ping 10.3.2.12
How can I have access to internet again and how can I ping my gateway inside the virtual machine ?