Product Documentation

Configuring and Managing Virtual IP (VIP) Addresses

Sep 01, 2016

Configuration of a virtual server IP (VIP) address is not mandatory during initial configuration of the NetScaler ADC. When you configure load balancing, you assign VIP addresses to virtual servers.

For more information about configuring a load balancing setup, see "Load Balancing."

In some situations, you need to customize VIP attributes or enable or disable a VIP address. A VIP address is usually associated with a virtual server, and some of the VIP attributes are customized to meet the requirements of the virtual server. You can host the same virtual server on multiple NetScaler appliances residing on the same broadcast domain, by using ARP and ICMP attributes. After you add a VIP (or any IP address), the NetScaler sends, and then responds to, ARP requests. VIPs are the only NetScaler-owned IP addresses that can be disabled. When a VIP address is disabled, the virtual server using it goes down and does not respond to ARP, ICMP, or L4 service requests.

As an alternative to creating VIP addresses one at a time, you can specify a consecutive range of VIP addresses.

To create a VIP address by using the command line interface

At the command prompt, type:

  • add ns ip <IPAddress> <netmask> -type <type>
  • show ns ip <IPAddress>

Example

 
> add ns ip 10.102.29.59 255.255.255.0 -type VIP 
 Done

To create a range of VIP addresses by using the command line interface

At the command prompt, type:

  • add ns ip <IPAddress> <netmask> -type <type>
  • show ns ip <IPAddress>

Example

 
> add ns ip 10.102.29.[60-64] 255.255.255.0 -type VIP 
ip "10.102.29.60" added 
ip "10.102.29.61" added 
ip "10.102.29.62" added 
ip "10.102.29.63" added 
ip "10.102.29.64" added 
 Done

To configure a VIP address by using the configuration utility

Navigate to System > Network > IPs > IPV4s, and add a new IP address or edit an existing address.

To create a range of VIP addresses by using the configuration utility

  1. Navigate to System > Network > IPs > IPV4s.
  2. In the Action list, select Add Range.

To enable or disable an IPv4 VIP address by using the command line interface

At the command prompt, type one of the following sets of commands to enable or disable a VIP and verify the configuration:

  • enable ns ip <IPAddress>
  • show ns ip <IPAddress>
  • disable ns ip <IPAddress>
  • show ns ip <IPAddress>

Example

 
> enable ns ip 10.102.29.79 
 Done 
> show ns ip 10.102.29.79 
 
        IP: 10.102.29.79 
        Netmask: 255.255.255.255 
        Type: VIP 
        state: Enabled 
        arp: Enabled 
        icmp: Enabled 
        vserver: Enabled 
        management access: Disabled 
          telnet: Disabled 
          ftp: Disabled 
          ssh: Disabled 
          gui: Disabled 
          snmp: Disabled 
        Restrict access: Disabled 
        dynamic routing: Disabled 
        hostroute: Disabled 
 Done 
> disable ns ip 10.102.29.79 
 Done 
> show ns ip 10.102.29.79 
 
        IP: 10.102.29.79 
        Netmask: 255.255.255.255 
        Type: VIP 
        state: Disabled 
        arp: Enabled 
        icmp: Enabled 
        vserver: Enabled 
        management access: Disabled 
          telnet: Disabled 
          ftp: Disabled 
          ssh: Disabled 
          gui: Disabled 
          snmp: Disabled 
        Restrict access: Disabled 
        dynamic routing: Disabled 
        hostroute: Disabled 
  
 Done 

To enable or disable a VIP address by using the configuration utility

  1. Navigate to System > Network > IPs > IPV4s.
  2. Do one of the following:
    • Select a VIP address.
    • Hold down the Ctrl key and select multiple server address entries.
    • Hold down the Shift key and select a range of server address entries.
    • Select all the addresses by selecting the checkbox on the left side of the header row. 
  3. From the Action list, select Disable or Enable.