I have win7 OS with vmware workstation with debian 7. This is the ipconfig of host(win 7)
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 10.47.235.94
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 0.0.0.0
I am connected by NAT (I could not manage to do bridged connection). ifconfig of the guest is this
But pinging guest from host by ip 192.168.252.138
gives Request timed out. If I enable some network adapter from win7 network conenctions, say VMnet1
, accordingly these lines appear in win7 ipconfig
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::4561:18cc:8abc:93a2%15
IPv4 Address. . . . . . . . . . . : 192.168.71.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
and I can ping host from guest by 192.168.71.1
, but again can not ping guest from host(this is what I need).
I do not have any firewall rules in guest: /sbin/iptables -L
shows no rules.
I am able to create custom virtual network and connect guest to it setting static ip address, in that case I can connect from host to guest, but the problem is I can not connect to the internet from guest.
thanks
instead of vmnet1 I had to enable VMware Network Adapter VMnet8
, doing so it added the following to the host's config
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::28e4:a65d:b520:ad92%16
IPv4 Address. . . . . . . . . . . : 192.168.252.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
after this I was able to ping the guest from host. The connection type between host and guest is nat.
update
if it is already enabled, disabling and re-enabling might help (thanks Paul G)