Fusion 5.x and above
You can select the available network adapter directly if you are using Bridged mode.
To select the adapter:
- Launch VMware Fusion.
- Go to Virtual Machine > Settings.
- Click Network Adapter.
In the left side, you should see a list of all available network adapters under Bridged Networking and the active adapters appear in green.
- Select the adapter that you want to use.
- Restart the virtual machine, if needed.
Note: You cannot specify the network adapter to use, if you are using NAT mode. Fusion uses your primary network adapter (the first one in the list in the Network pane of System Preferences). For more information on NAT mode versus Bridged mode, see Understanding networking types in VMware Fusion (1022264).
Fusion 4.x and 3.x
You can select the network adapter directly, if you are using Bridged mode.
To select the adapter:
- Open Fusion.
- Go to Virtual Machine > Settings
- Click NetworkAdapter (Fusion 4) / Network (Fusion 3).
- From the drop-down menu, select the network adapter (Ethernet, Wi-Fi (Lion) / Airport (Snow Leopard), etc.) you wish to use.
- If the virtual machine is running, restart it in order to begin using the new device.
Fusion 2.x and 1.x
You cannot specify an Ethernet network interface directly from the Fusion application. However, you can manually edit the configuration script.
To manually configure virtual network to host Ethernet interface mappings:
- Shutdown the virtual machines and quit the VMware Fusion application.
- From the desktop open Macintosh HD > Applications > Utilities.
- Start the Terminal application.
- Stop the Fusion services by entering this command:
sudo /Library/Application\ Support/VMware\ Fusion
/boot.sh --stop
.
- Edit the configuration script by entering this command:
sudo vi /Library/Application\ Support/VMware\ Fusion/boot.sh
- Search in the script file for these lines:
# Bridge to host network interface 'en0'.
#"$LIBDIR/vmnet-bridge" -d /var/run/vmnet-bridge-vmnet0.pid vmnet0 en0
# Bridge to the primary host network interface (which can change over time).
"$LIBDIR/vmnet-bridge" -d /var/run/vmnet-bridge-vmnet0.pid vmnet0 ''
- Modify the second and fourth lines by moving the
#
character. Those lines should resemble this sample::
# Bridge to host network interface 'en0'.
"$LIBDIR/vmnet-bridge" -d /var/run/vmnet-bridge-vmnet0.pid vmnet0 en0
# Bridge to the primary host network interface (which can change over time).
#"$LIBDIR/vmnet-bridge" -d /var/run/vmnet-bridge-vmnet0.pid vmnet0 ''
- Add this entry to the
boot.sh
file, below the fourth line:
"$LIBDIR/vmnet-bridge" -d /var/run/vmnet-bridge-vmnet2.pid vmnet2 en1
Note: You may add additional lines to correspond to any additional network interfaces.
The lines in boot.sh
now appear similar to this:
# Bridge to host network interface 'en0'.
"$LIBDIR/vmnet-bridge" -d /var/run/vmnet-bridge-vmnet0.pid vmnet0 en0
# Bridge to the primary host network interface (which can change over time).
#"$LIBDIR/vmnet-bridge" -d /var/run/vmnet-bridge-vmnet0.pid vmnet0 ''
"$LIBDIR/vmnet-bridge" -d /var/run/vmnet-bridge-vmnet2.pid vmnet2 en1
- Save the
boot.sh
file.
- Restart the Mac.
- If you already have two virtual network cards configured to your virtual machine, proceed to step 13. Otherwise, add a new virtual network card bridged to your virtual machine, then follow these steps:
- Power off the virtual machine.
- From Mac OS Finder locate
.vmx
file, open the .vmx
file in a text editor.
Note: Virtual machine files are stored in a package (with the extension .vmwarevm). Control-click or right-click the package in Mac Finder and select Show Package Contents to find the configuration file.
- Add this line as the last line in
.vmx
file:
ethernet1.connectionType = "custom"
ethernet1.vnet = "vmnet2"
- Save and close
.vmx
file.
- Start VMware Fusion.
- Edit the settings for the virtual machine you want to modify.
- Configure the network in virtual machine as per your network environment. Using these settings, Virtual Network 1 maps to
en0
(Ethernet 1 of Mac) and Virtual Network 2 maps to en1
(Ethernet 2 of Mac), etc.