As a workaround (or arguably a fix), disable any network offloading settings on the physical NIC on the host.
- Open Control Panel, System, Device Manager
- Expand "Network Adapters"
- Double-click on your physical NIC to bring up properties.
- Select the "Advanced" tab
- Disable all properties with "Offload" in the name (varies by network card).
NOTE: You may want to record the initial settings should you want to revert later.
based on a suggestion here
it turned out that during a NAT on vmnet8 on home ADSL broadband routers we need to give DNS IP manually so here is a screenshot of how my virtual network editor used to look previously
now based on suggestion I put up my ADSL router IP 192.168.1.1
as DNS IP as in below screenshot
nslookup still failed that screenshot after this reset etc
can be seen here https://drive.google.com/file/d/1ZO2VioostBNYulgn6BT4aqf0C4lQ6yp0/view
after this setting of DNS when I did nslookup from virtual machine I got an error that reply not found or query could not be answered
however at the time of writing this answer I did nslookup in virtual machine as follows
Microsoft Windows [Version 10.0.18362.476]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Users\Debian>nslookup www.vmware.com
Server: UnKnown
Address: 192.168.136.2
Non-authoritative answer:
Name: e751.dscx.akamaiedge.net
Addresses: 2600:1417:2c:194::2ef
104.114.87.171
Aliases: www.vmware.com
www.vmware.com.ds.edgekey.net
internet connectivity was there in virtual machine.
as an extra information I am also giving the Network Adapter setting
of VMware Workstation
now if you see the output of ipconfig on virtual machine it is as below
Windows IP Configuration
Ethernet adapter Ethernet0:
Connection-specific DNS Suffix . : localdomain
IPv4 Address. . . . . . . . . . . : 192.168.136.133
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.136.2
now see the vmnet8 IP in below screenshot
vmnet8 ip range is in 192.168.136.x range and IP of my virtual machine which VMware DHCP gave is 192.168.136.133 so obviously virtual machine got IP from vmnet8.
So if you are using VMware behind an ADSL router in broadband setup
then putting IP of your ADSL router in DNS settings i.e.
virtual network editor-->Vmnet8--->NAT--->DNS Settings
is where you should put it.
I mentioned all this so that if some else gets here in future this should help him.
Also I want to mention that during debugging of all this things had messed up so badly that before proceeding with steps in this answer I had restored defaults from VMware network adapter settings and after that I had applied all the changes as mentioned in screenshot.
Here is a screenshot of ADSL router DNS settings page which is installed and I get internet access from this one, the model is Dlink Product Page: DSL-2750U screenshot of router accessible at 192.168.1.1
https://drive.google.com/file/d/1818cN4eYpT0rr9wu7R0T-pthRxmV1MlV/view
Best Answer
For the VM to be on the same physical network as the host, you should set the VMnet mode to bridged in the network editor, not host-only, neither NAT.