I am using VMWare Workstation 15 on a Windows 10 host. I want to set up my guests' network using NAT. In this case, the guests can access services running on the host using a fixed address without considering the network configuration outside the PC.
Configuration:
Host
Interface 1: 192.168.100.xxx in 192.168.100.0/24 (router-Internet)
Interface 2: 10.0.0.1 in 10.0.0.0/24 (VMnet2)
VMnet2 in VMware: VMnet2 Configuration Screenshot
Guest
Interface: 10.0.0.100 in 10.0.0.0/24 (VMnet2)
Ethernet adapter Host-NAT:
Connection-specific DNS Suffix . : localdomain
Link-local IPv6 Address . . . . . : fe80::ad5d:7c44:696a:7c01%15
IPv4 Address. . . . . . . . . . . : 10.0.0.101
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.1
Symptoms
Problem
- The guest cannot access the Internet. (Pinging hosts on Internet result is timeout)
What works
The host can ping guests.
Guests can ping the host.
Guests can ping each other.
Wireshark on VMnet2 Screenshot
Checked
All VMWare services are running.
Firewall is disabled on both host and guest.
Reboot host or guest not works.