首页 > 代码库 > Change VMnet0 Bridged Networking Settings

Change VMnet0 Bridged Networking Settings

By default, VMnet0 is set to use auto-bridging mode and is configured to bridge to all active network adapters on the host system. You can use the virtual network editor to change VMnet0 to bridge to one specific host network adapter, or restrict the host network adapters that VMnet0 auto-bridges to. The changes you make affect all virtual machines that use bridged networking on the host system.

For example, you might want to change VMnet0 to bridge to a specific host network adapter, or to auto-bridge to as subset of the available host network adapters, to make a host network adapter available to create a second bridged network.

Important

If you reassign a host network adapter to a different virtual network, any virtual machine that is using the original network loses its network connectivity through that network and you must change the setting for each affected virtual machine network adapter individually. This restriction can be especially problematic if the host system has only one physical network adapter and you reassign it to a virtual network other than VMnet0. Even though the virtual network appears to be bridged to an automatically chosen adapter, the only adapter it can use was assigned to a different virtual network.

Prerequisites

On a Windows host, log in as an Administrator user. Only an Administrator user can change network settings in the virtual network editor.

On a Linux host, log in as root. You must enter the root password to use the virtual network editor.

Procedure

1

Select Edit > Virtual Network Editor.

2

Select VMnet0.

3

Change the host network adapters that VMnet0 bridges to.

Option

Description

Prevent VMnet0 from automatically bridging to a particular host network adapter

a

Click Automatic Settings.

b

Deselect the check box for the host network adapter.

c

Click OK.

Disable automatic bridging and bridge VMnet0 to a specific host network adapter

Select the host network adapter from the Bridge to drop-down menu.

4

Click OK to save your changes.

Change VMnet0 Bridged Networking Settings