This example is for:
- MacBook Pro
- Vmware Fusion Profesional 12.1.1
- CentOS.ove
- Install CentOS.ove in VMware Fusion
1.1. Download CentOS.7z.001 – CentOS.7z.004
Note: Can be more or less files but here is an example of 4 files
1.2. Install and use Keka app to connect CentOS.7z.001 – CentOS.7z.004 and create CentOS.ova file
1.3. Import CentOS.ova in Vmware Fusion:
Select File > Import.
- Click Choose file and browse to the .ovf or .ova file and click Open.
- Type the name for the imported virtual machine in the Save As text box and indicate where to save it. The default destination is the Virtual Machines folder created by Fusion.
- Click Save. Fusion performs OVF or OVA specification conformance and virtual hardware compliance checks. A status bar indicates the progress of the import process.
Note: The example is from Vmware docs – https://docs.vmware.com/en/VMware-Fusion/12/com.vmware.fusion.using.doc/GUID-275EF202-CF74-43BF-
- Click VMware Fusion > Virtual Machine > Settings > Advanced: activate Disable Side Channel Mitigations
- Click VMware Fusion > Virtual Machine > Start Up
- CentOS content: User: _visible_ and Password: _necesary_to_know_
- Verify networks in CentOS > Terminal:
$ ip add show => Example: eth0 down, eth1 172.25.11.254/24, eth2 10.0.11.2/24 and 10.0.11.3/24
- Take notes to be sure you will not forget for next steps
- VMware Fusion > Virtual Machine > Shows Down
- Create/modify VMware Fusion Networks:
- Open Terminal in MacBook Pro
- Open VMware network file:
% sudo vim /Library/Preferences/VMware\ Fusion/networking
- Modify! You can also use V in view mode to launch “VISUAL LINE” mode. Select your lines and type d to delete them.
- Exemple of what I use
VERSION=1,0 answer VNET_1_DHCP yes answer VNET_1_DHCP_CFG_HASH BC1AB29239D0B41CB64A4C11F3DE544B36D778A2 answer VNET_1_HOSTONLY_NETMASK 255.255.255.0 answer VNET_1_HOSTONLY_SUBNET 192.168.120.0 answer VNET_1_VIRTUAL_ADAPTER yes answer VNET_8_DHCP yes answer VNET_8_DHCP_CFG_HASH 96CB1EC54E103210F4A187D6355843A795323CCC answer VNET_8_HOSTONLY_NETMASK 255.255.255.0 answer VNET_8_HOSTONLY_SUBNET 192.168.100.0 answer VNET_8_NAT yes answer VNET_8_VIRTUAL_ADAPTER yes … answer VNET_93_DHCP no answer VNET_93_DISPLAY_NAME eth1 answer VNET_93_HOSTONLY_NETMASK 255.255.255.0 answer VNET_93_HOSTONLY_SUBNET 172.25.11.0 answer VNET_93_NAT yes answer VNET_93_NAT_PARAM_UDP_TIMEOUT 30 answer VNET_93_VIRTUAL_ADAPTER yes answer VNET_94_DHCP no answer VNET_94_DISPLAY_NAME eth2 answer VNET_94_HOSTONLY_NETMASK 255.255.255.0 answer VNET_94_HOSTONLY_SUBNET 10.0.11.0 answer VNET_94_NAT yes answer VNET_94_NAT_PARAM_UDP_TIMEOUT 30 answer VNET_94_VIRTUAL_ADAPTER yes …
- Quit VMware Fusion networking file
- Open VMware Fusion app
- Click VMware Fusion > Preferences > Network
- Untagged Request authentication to enter promiscuous mode
- Click the lock to make changes
- Activate Allow virtual machine on the network to connect to external networks (using NAT)
- Quit VMware Fusion app
- Open VMware Fusion app again
- Configure CentOS VM network in VMware Fusion app
- Open VMware Fusion app
- Click Virtual Machine > CentOS
- Click Virtual Machine > Settings…
- — Network Adapter > Autodetect (is for eth0)
- — Network Adapter 2 > eth1
- — Network Adapter 3 > eth2 _to_ge-0/0/0
Note: To create and use Networks: http://tech.silvique.ro/2021/04/29/2021-04-29-create-vmware-fusion-networks/
- Click Virtual Machine > Start Up
- Verify CentOS VM network inside CentOS
- Open Terminal in CentOS and use different commands to verify
$ ifconfig — eth1 172.25.11.254 — eth2:8012 10.0.11.2/24 — eth2:8013 10.0.11.3/24
$ ping 10.0.11.1 $ ping 10.0.11.2 $ ping 10.0.11.3 $ ping 172.25.11.254 $ ping 172.25.11.1
If necessary, modify network connectivity in Vmware Fusion.
Good Luck!!