Hi all.
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:
vmnet1:xxxxxx
inet 172.16.16.1 netmask 0xffffff00 broadcast 172.16.16.255
vmnet8: xxxxx
inet 192.168.230.1 netmask 0xffffff00 broadcast 192.168.230.255
and also my Mac has this IP address by Internet Connection:
en0:xxxx
inet 192.168.0.180 netmask 0xffffff00 broadcast 192.168.0.255
status: active
I have tried to work with a first Centos virtual machines creating:
(ifcfg-ens33)
DEVICE=ens33
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.230.50
NETMASK=255.255.255.0
set GATEWAY=192.168.230.2
/etc/resolve.conf
nameserver 8.8.8.8
(ping from Centos to my MAC)
ping 192.168.230.1
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!!!