VMware

How to configure multiple isolated networks in VMware that have Internet access?


I know this is a topic that’s been discussed at length over the years, but I can’t find a sensible answer.

 

Using VMware Workstation Pro 14 on Windows 10.

 

I have four guests. I want them to be two pairs that fit these 3 rules:

 

  1. The guests in each pair should be able to communicate with each other in the typical TCP/UDP/ICMP sense.
  2. The guests in each pair should also be able to communicate with the Internet.
  3. However, the guests in one pair should NOT be able to communicate with the guests in the other pair.

 

It seems the only way to get a VMware guest to communicate with the Internet is via NAT or a bridged connection (according to here and here).

 

NAT

My understanding is that in VMware Workstation Pro you can only have one NAT network (vmnet8). So, if my guests are all connected to this NAT network they can see each other – which would break rule 3.

 

Bridged

If I bridge the NICs they will be on the same “physical” network and so again, will be able to see each other – which would break rule 3.

 

Some Notes

  • Two NICs

I’ve seen some discussion saying that each guests should have two NICs:

    • For comms with the other guest in the pair.
    • For comms with the Internet.

However, my understanding is that the Internet NIC would still have to be NAT or bridge and so the problem (rule 3) still persists.

 

  • According to the VMware docs, you can only have one NAT network.

 

  • VirtualBox seems to provide this capability quite simply via the NAT Network.




Source link

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Close