# Network Preferences

Use **Network** Preferences to change the shared and host-only network settings or to add a new host-only network.

To open these preferences, choose **Parallels Desktop** > **Preferences**, then click **Network**.

{% hint style="info" %}
**Note:** This tab is available in Parallels Desktop for Mac Pro and Business/Enterprise Editions only.
{% endhint %}

<figure><img src="https://4047593329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgaOYFJddKmopmi2cfn5%2Fuploads%2Fipk0ZSmPepLga1msXELD%2FScreenshot%202024-01-19%20at%2012.47.32.png?alt=media&#x26;token=6d9f9185-91cb-4ef2-92d2-e459d5d5d598" alt="" width="561"><figcaption></figcaption></figure>

### Shared Network

By default, virtual machines are set to share network settings with macOS. When a virtual machine is connected to the shared network, it can access the Mac, other virtual machines on the Mac, computers on your local network, and the Internet.

To change the shared network settings, click **Shared** and make the necessary changes to the settings of the Parallels DHCP servers for IPv4 and IPv6. These servers, enabled by default, automatically assign IP addresses to your virtual machines operating in the shared networking mode. Please note that your Mac’s IPv4 address in this network is 10.211.55.2, not 10.211.55.1.

Unchecking the **Connect Mac to this network** checkbox will prevent virtual machines from accessing your Mac via the [Internet Protocol (IP)](https://en.wikipedia.org/wiki/OSI_model#Layer_3:_Network_layer).

{% hint style="info" %}
**Note**: On Intel Macs running macOS Monterey 12, the only reliable way to isolate the Mac from the virtual machines in Shared mode is to use a firewall.
{% endhint %}

Normally, virtual machines set to operate in the shared networking mode cannot be accessed from external computers. The port forwarding functionality allows computers on your local network and the Internet to transfer data to any of your virtual machines that use the shared networking mode. The data sent to a specific port on your Mac will be redirected to a specific port of your virtual machine according to the port-forwarding rule.

To add a port forwarding rule:

1. Click the **Add** button (+) below the **Port forwarding rules** list.
2. In the displayed window, do the following:
   * In the **Protocol** field, specify the port type you want to use for establishing network connections. You can choose between the **TCP** or **UDP** port types.
   * In the **Source Port** field, type the incoming port number on your Mac.
   * In the **Forward to** section, indicate the name or IP address of the virtual machine you want to connect.
   * In the **Destination Port** field, type the port on the virtual machine to which the data will be transferred.<br>

     <figure><img src="https://4047593329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgaOYFJddKmopmi2cfn5%2Fuploads%2Ff92PdhggromqDsBHrZyZ%2FScreenshot%202024-01-19%20at%2012.52.07.png?alt=media&#x26;token=0401a210-af41-4a6d-abb3-9ce32b2e68d1" alt=""><figcaption></figcaption></figure>
   * Click **OK** to add the rule.

When the rule is added, use the following IP address combination for external connections to your virtual machine: `<you Mac's IP address>:<Incoming port>`.

<figure><img src="https://4047593329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgaOYFJddKmopmi2cfn5%2Fuploads%2Fl3YJU106o3gUz3kVVuGw%2Fimage.png?alt=media&#x26;token=7fc04148-6477-4065-8a44-a832a36164f9" alt="" width="563"><figcaption></figcaption></figure>

To edit a rule, select it in the **Port forwarding rules** list, click the **Edit** button, modify the necessary settings, and click **OK** to apply them.

To remove a port forwarding rule, select it in the **Port forwarding rules** list and click the **Remove** button (-).

### Host-Only Network

<figure><img src="https://4047593329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNgaOYFJddKmopmi2cfn5%2Fuploads%2FKAceBugfdqkIvWjbPJUi%2FScreenshot%202024-01-19%20at%2012.54.57.png?alt=media&#x26;token=d3f7a58b-d037-4bde-b1b7-be3751823824" alt="" width="561"><figcaption></figcaption></figure>

When a virtual machine is connected to a host-only network, it can access the Mac and other virtual machines on the Mac.

{% hint style="info" %}
**Note**: If you have an Apple silicon Mac and want to run a macOS virtual machine in host-only mode, you need to update your Mac's OS to macOS Sequoia 15 or newer and Parallels Desktop to version 20.4.0 or newer.
{% endhint %}

To change the host-only network settings, click **Host-Only** and make the necessary changes to the settings of the Parallels DHCP servers for IPv4 and IPv6. These servers, enabled by default, automatically assign IP addresses to your virtual machines operating in the host-only networking mode. Please note that your Mac’s IPv4 address in this network is 10.37.129.2, not 10.37.129.1.

Unchecking the **Connect Mac to this network** checkbox will prevent virtual machines from accessing your Mac via the [Internet Protocol (IP)](https://en.wikipedia.org/wiki/OSI_model#Layer_3:_Network_layer).

### Add a New Host-Only Network

If you need to manage network traffic between virtual machines, you can add a new host-only network.

To add a new host-only network, click the **Add** button (+). Once a new host-only network is added, configure its settings the way you need.

{% hint style="info" %}
**Note:** To rename a new host-only network, double-click its name and type another one.
{% endhint %}

To remove a custom host-only network, select it and click the **Remove** button (-).
