Ubuntu 12.04 Server installed in
VMWare Workstation 10.0 on host
configuration is as follows.
# The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.171.132 netmask 255.255.255.0 gateway 192.168.171.1
and Network Adapter is set to
Custom: VMnet 8 (NAT)
Windows, my host, I can see that
VMNet 8 has
IPv4 : 192.168.171.1 that should be the gateway in
/etc/network/interfaces and that is.
If I set it to
DHCP, I can connect to internet from
VM and get assigned an
But the problem is that I cannot connect to internet when I set it static.
Please tell me where I am getting wrong?