Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

Products and Accounts

Support

Knowledge

Communities

Success

Learning

My Subscriptions

Loading

Knowledge Base

Manually forcing VMware Fusion to use specific network interfaces or connections (1001875)

Last Updated: 9/14/2017Categories: How toTotal Views: 62097Language:
Chinese (Simplified)JapaneseSpanishEnglish

2 like this article

Subscribe to get an email
newsletter with new updates

2 people found this helpful Please provide article feedback:

Details

The Mac hosting VMware Fusion has more than one network card, adapter, or interface.

Forcing VMware Fusion to use a manually configured network interface.

Forcing VMware Fusion to use a wired Ethernet interface instead of a wireless interface.

Solution

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.

Additional Information

For translated versions of this article, see:

Español: Forzar manualmente a VMware Fusion a usar conexiones o interfaces de red específicas (2055239)

Português:

日本語: VMware Fusion に指定したネットワーク インターフェイスまたは接続を使用させるには (2079322)

简体中文: 手动强制 VMware Fusion 使用特定网络接口或连接 (2075542)

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseSpanishEnglish

Attachments

Additional Resources

No results for undefined

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Fusion Pro

VMware Fusion

Related Versions:

VMware Fusion Pro 8.x

VMware Fusion Pro 10.x

VMware Fusion 8.x

VMware Fusion 7.x

VMware Fusion 6.x

VMware Fusion 5.x

VMware Fusion 4.x

VMware Fusion 3.x

VMware Fusion 2.x

VMware Fusion 10.x

VMware Fusion 1.x

view all

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant