VMware Fusion does not include a network configuration tool like in Windows. But it does not mean you cannot config it.
When the system starts, it will load the plist file of /Library/LaunchDaemons/com.vmware.launchd.vmware.plist, which will call the script boot.sh under /Library/Application Support/VMware Fusion/
<dict> <key>Label</key> <string>com.vmware.launchd.vmware</string> <key>ProgramArguments</key> <array> <string>/Library/Application Support/VMware Fusion/boot.sh</string> <string>--start</string> </array> <key>RunAtLoad</key> <true/> </dict>
So, let's look into the boot.sh. boot.sh supports 3 commands: --start, --stop and --restart. If we want to disable some modules, we should modify the --start section.
To disable dhcp
Find all lines contain "vmnet-dhcpd" in --start section and comment them out.
To disable vmnet1
Comment all lines contain "vmnet1" in --start section
To disable bridge
Comment lines contain "vmnet-bridge" in --start secion
Config vmnet8
vmnet8 is my favorite nat adapter, you can see it's configured using variables of $vmdb_answer_VNET_8_HOSTONLY_HOSTADDR and $vmdb_answer_VNET_8_HOSTONLY_NETMASK, which are set by this method: db_load 'vmdb' "$vmware_db". and vmware_db="$LIBDIR"/locations.
So, to config vmnet8, you just modify the locations file: sudo vi ./locations
Config vmnet1
The same as vmnet8
Config nat
vmnet-natd is using the config file $LIBDIR/vmnet8/nat.conf, modify this file to config nat