I'm trying to figure out how I need to configure my Mac and my virtual machines.
My need is to have 4 virtual machines (2 linux Centos, 2 Windows) running on VmWare Fusion that can in the same time:
- access to internet
- talk each other
- My Mac can talk with them (ssh, ftp...) and I can in case copy/paste file
- every virtual machines has STATIC ip address, so that services inside the virtual machines (Tomcat, Apache, ...) will always work due that ip address will not change every time I reboot or change the location of my Mac
Nice to have, finally, is to be able to disable in the virtual machines the interface I use to connect to internet once I have installed all objects, yum update etc...
I follow very several topics, but to be honest they confused me.
Can you help me in understanding what are the correct tasks I need to do?
At the moment I have:
inet 172.16.16.1 netmask 0xffffff00 broadcast 172.16.16.255
inet 192.168.230.1 netmask 0xffffff00 broadcast 192.168.230.255
and also my Mac has this IP address by Internet Connection:
inet 192.168.0.180 netmask 0xffffff00 broadcast 192.168.0.255
I have tried to work with a first Centos virtual machines creating:
(ping from Centos to my MAC)
PING 192.168.230.1 (192.168.230.1) 56(84) bytes of data.
64 bytes from 192.168.230.1: icmp_seq=1 ttl=64 time=0.203 ms
thanks a lot!!!
You can add another network adapter to the VM via settings-> add-> Network adapter when VM is powered off, and set it to host-only network. Then when you installed the software/tools you need inside the VM, you could disconnect the NAT network adapter and use the host-only network to community with macOS(using the IP address of vmnet1) or other host-only VMs.