# Virtual Network Information and Settings

**prlsrvctl net info** <*vnetwork\_id*>

Displays a detailed information about the specified virtual network.

**prlsrvctl net list** \[**-j**, **--json**]

Lists existing virtual networks.

### Changing Virtual Network Settings

**prlsrvctl net set** <*vnetwork\_id*> \[*options*]

The **prlsrvctl net set** command is used to modify virtual network settings. The available parameters and options are described below.

Parameters

**-i**, **--ifname** <*if*>

Sets the name of the network interface in Parallels Desktop to which the virtual network will be bound.

**-m**, **--mac** <*mac*>

Sets the MAC address of the network interface in Parallels Desktop to which the virtual network will be bound. The network interface with the specified MAC address must exist in Parallels Desktop.

**-t**, **--type** <**bridged** | **host-only** | **shared**>

Sets the virtual network type.

**-d**, **--description** <*description*>

Sets the virtual network description.

**-n**, **--name** <*new\_name*>

Sets a new name for the virtual network.

**--ip** <*ip*\[/*mask*]>

Sets an IPv4 address and subnet mask for the Parallels virtual network adapter.

**--dhcp-server** <**on** | **off**>

Enables or disables the Parallels virtual DHCPv4 server.

**--dhcp-ip** <*ip*>

Sets an IPv4 address for the Parallels virtual DHCPv4 server.

**--ip-scope-start** <*ip*>

Sets the start IPv4 address for the pool of IPv4 addresses.

**--ip-scope-end** <*ip*>

Sets the end IPv4 address for the pool of IPv4 addresses.

**--ip6** <*ip*\[/*mask*]>

Sets an IPv6 address and subnet mask for the Parallels virtual network adapter.

**--dhcp6-server** <**on** | **off**>

Enables or disables the Parallels virtual DHCPv6 server.

**--dhcp-ip6** <*ip*>

Sets an IPv6 address for the Parallels virtual DHCPv6 server.

**--ip6-scope-start** <*ip*>

Sets the start IPv6 address for the pool of IPv6 addresses.

**--ip6-scope-end** <*ip*>

Sets the end IPv6 address for the pool of IPv6 addresses.

**--host-assign-ip6** <**on** | **off**>

Sets whether the host interface for this network will have IPv6 address.

**--connect-host-to-net** <**on** | **off**>

Connects the host to the current Parallels virtual network adapter.

**--nat-**<**tcp** | **udp**>**-add** <*rule\_name*, *src\_port*,<*dest\_ip* | *dest\_vm*>, *dest\_port*>

Adds a new port forwarding rule. The options are:

*rule\_name*: *a* rule name.

*src\_port*: port number for incoming connections.

*dest\_ip*: an IP address to which incoming connections will be forwarded.

*dest\_vm*: the name or UUID of the virtual machine to which incoming connections will be forwarded.

*dest\_port*: port number to which incoming connections will be forwarded.

**--nat-**<**tcp** | **udp**>**-del** <*rule\_name*>

Deletes the specified port forwarding rule.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/parallels-desktop-developers-guide/command-line-interface-utility/manage-parallels-desktop-from-cli/virtual-network-information-and-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
