VMware Communities
ManeeshPChawda
Contributor
Contributor

Not able to access Internet if configured as mentioned

I have installed VMs as under

VM1 – Windows Server 2019

NIC1– 172.16.15.60/24 – 172.16.15.1 -- NAT

NIC2-172.16.16.1/24 -- Host Only

VM2 – Windows 10 Pro – 172.16.16.10/24 – 172.16.16.1 -- Host Only

VM3 – Windows 10 Pro – 172.16.16.11/24 – 172.16.16.1 -- Host Only

I am able to ping all the 3VMs within and VM1 is able to access internet while other 2 VMs does not, even though I have configured Sharing(Allow other network users to connect through this computer Internet Connection - In VM2 NIC, then also neither VM2 nor VM3 is able to access internet !

Please advise if anything wrong ? 

 

Reply
0 Kudos
3 Replies
RDPetruska
Leadership
Leadership

If you want VM2 and VM3 to connect through VM1, then you do not want host-only network, you want a custom guest-only network.

Reply
0 Kudos
ManeeshPChawda
Contributor
Contributor

If I do that then cannot ping each other i.e. VM2 / VM3. So to ping both of them I need LAN Segment but Internet is not reachable !

Any idea ?

Reply
0 Kudos
RDPetruska
Leadership
Leadership

If all VMs are on the same segment, then they should be able to ping each other.  If not, then check the firewalls - many block ICMP traffic.

The definition of host-only is exactly that - traffic allowed with the HOST only, not the external network.  You need 2 virtual NICs in VM1 - 1 connected externally, either bridged or NAT, and 1 connected to an unused VMnet.  1 virtual NIC in each VM2 and VM3, connected to the SAME unused VMnet.

Reply
0 Kudos