When you install Horizon Agent on a virtual machine that has more than one network interface card (NIC), you must specify the subnet that Horizon Agent uses. The subnet determines which network address Horizon Agent provides to the Connection Server instance for client protocol connections.

On the virtual machine where Horizon Agent is installed, edit the /etc/vmware/viewagent-custom.conf file to specify the subnet.

  • In an IPv4 environment, configure the value for Subnet using CIDR notation, for example:
  • In an IPv6 environment, configure the value for Subnet6 using prefix/length notation, for example: