# Configuring hosts to interact with RAS Provider Agent in a different subnet

RAS Guest Agent installed on a host discovers RAS Provider Agent by sending broadcast packets over UDP port 30006 to all devices in its subnet.

The discovery packet won't be received if the Agents are on different broadcast domains. In this case, you need to specify the Provider Agent's IP through the registry.

To specify the Provider Agent's IP:

1. On the host, open the Windows registry.
2. Add a new string value called `2XVDIAgent` at:
   * 32-bit systems:`HLKM > Software > Parallels>GuestAgent`
   * 64-bit systems: `HLKM > Software > WOW6432Node > Parallels>GuestAgent`

The value should be specified as follows:

* If a dedicated RAS Provider Agent is used, the value must be set to the FQDN or IP address of the server where the Agent is installed.
* If the built-in RAS Provider Agent is used with manual agent selection, the value must be set to the FQDN or IP address of the RAS Publishing Agent.
* If the built-in RAS VDI Agent is used and the Agent is selected automatically (high availability), the string must contain FQDNs or IP addresses of all RAS Publishing Agents separated by a semicolon (i.e., `<PA1 address>;<PA2 address>;<PA3 address>`).

{% hint style="info" %}
**Note**: You can also include names or IP addresses of multiple Publishing Agents for the manual agent selection scenario (the second bullet in the list above). This way you will not need to change the value every time you switch the preferred Publishing Agent for a VDI provider.
{% endhint %}

{% hint style="info" %}
**Note**: If you add the registry key to a host used as a template, its clones will inherit the key.
{% endhint %}

3. Restart the RAS Guest Agent service on the host to apply the changes.
