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
-
Create an IPset and bind multiple IP addresses to it.
-
Bind the IPset to load balancing virtual servers.
-
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
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
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
To bind the IPSet to a virtual server by using the GUI
-
Navigate to Traffic Management > Load Balancing > Virtual Servers, and open a virtual server to which you want to bind the created IPset.
-
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