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.config file to specify the subnet.

  • In an IPv4 environment, configure the value for Subnet using CIDR notation, for example:
    Subnet=192.168.1.0/24
  • In an IPv6 environment, configure the value for Subnet6 using prefix/length notation, for example:
    Subnet6=2001:db8:abcd:0012::0/64