Product Documentation

Multi-IP virtual servers

The Citrix ADC supports creating a single load balancing virtual server with multiple non-consecutive/consecutive IPv4 and IPv6 addresses of type VIP. Each VIP address bound to a virtual server is treated as an individual virtual server. These virtual servers have the same protocol and other virtual server level settings. A virtual server with multiple VIP addresses is also called multi-IP virtual server.

The following are some advantages of using multi-IP virtual servers:

  • A multi-IP virtual server offloads the work of creating many virtual servers with the same settings and service bindings.
  • Multi-IP virtual servers effectively reduces the possibility of reaching the maximum limit on virtual server entities.
  • One multi-IP virtual server can be used for clients in different subnets to connect to the same set of servers.
  • Only one multi-IP virtual server can be used for IPv6 and IPv4 clients to connect to the same set of servers.

Configure a multi-IP virtual server

Configuring a multi-IP virtual server consists of the following tasks:

  • Create an IPset and bind multiple IP addresses to it.
  • Bind the IPset to load balancing virtual server(s).

Note the following points related to IPset configuration:

  • An IPset can have:
    • non-consecutive/consecutive IPv4 addresses and IPv6 addresses
    • combinations of IPv4 and IPv6 addresses.
  • All IPv4/IPv6 addresses to be associated with virtual servers using IPset must be of type VIP.
  • A single IPset can be bound to multiple virtual servers.
  • IPv4/IPv6 addresses can be bound/unbound to/from IPset irrespective any existing IPset bindings to virtual servers.
  • You must unset the IPset binding to a virtual server before binding a new IPset to it.

To add an IPset and bind multiple VIP addresses to it by using the CLI

At the command prompt, type:

add ipset <name>

bind ipset <name> <IPaddress1 …>

bind ipset <name> <IPaddress2…>

show ipset <name>

To bind the IPset to a virtual server by using the CLI

At the command prompt, type:

set lb vserver <name> -ipset <ipset name>

show lb vserver <name>

To add an IPset and bind multiple VIP addresses to it by using the GUI

Navigate to System > Network > IPSets, and create an IPset with multiple VIP addresses.

To bind the IPSet to a virtual server by using the GUI

  1. Navigate to Traffic Management > Load Balancing > Virtual Servers, and open a virtual server to which you want to bind the created IPset.
  2. In Basic Settings, set the IPset parameter to the name of the created IPset.
> add ipset IPSET-1


Done

> bind ipset IPSET-1 9.9.9.10


Done

> bind ipset IPSET-1 1000::20


Done

> add lb vserver LBVS-1 HTTP 8.8.8.10 80 –ipset IPSET-1


Done

> add service SVC-1 3.3.3.10 HTTP 80


Done

> add service SVC-2 3.3.3.100 HTTP 80


Done

> bind lb vserver LBVS-1 SVC-1


Done

> bind lb vserver LBVS-1 SVC-2


Done

Multi-IP virtual servers