Configuring the NetScaler IP Address (NSIP)

The NetScaler IP (NSIP) address is the IP address at which you access the NetScaler appliance for management purposes. The appliance can have only one NSIP, which is also called the management IP address. You must add this IP address when you configure the NetScaler for the first time. You cannot remove an NSIP address. For security reasons, the NSIP should be a non-routable IP address on your organization’s LAN.

If you modify this address, you must reboot the NetScaler appliance. If the subnet address of the new NSIP address is different from the previous one, you must add a default route for this subnet so that the new NSIP address becomes reachable from other networks on the LAN.

Important

Configuring the NetScaler IP address is mandatory.

Changing the NSIP address of a NetScaler appliance consists of the following tasks:

  • Change the NSIP address.
  • Add a default route for the subnet address of the NSIP address, if one is not present.
  • Save the configuration.
  • Restart the appliance.

Command Line Procedures

To change the NetScaler IP address by using the NetScaler command line:

At the command prompt, type:

  • set ns config -IPAddress <ip_addr> -netmask <netmask>
  • show ns config

To add a default route by using the NetScaler command line:

At the command prompt, type:

  • add route 0 0 <gateway IP address>
  • show route

To save the configuration by using the NetScaler command line:

At the command prompt, type:

  • save config

To restart the NetScaler appliance by using the NetScaler command line:

At the command prompt, type:

  • reboot

GUI Procedures

To configure the NetScaler IP address by using the NetScaler GUI:

  1. Click the gear icon in the top-right corner of the Configuration page.
  2. Click the** NetScaler IP address** pane.
  3. On the NetScaler IP Address page, set the following parameters, and then click Done: - NetScaler IP Address - Netmask

To add a default route by using the NetScaler GUI:

Navigate to** System** >** Network** >** Routes** and, on the** Basic** tab, add a default route with the following parameter settings, and then click Create.

  • Network (set to zero)
  • Netmask (set to zero)
  • Gateway (IP address of the gateway)

To restart the NetScaler by using the NetScaler GUI:

  1. On the System Information tab page of the System node, click Reboot.
  2. When prompted to reboot, select Save Configuration to make sure that you do not lose any configurations.

Sample configuration

In the following example, the NSIP address of a NetScaler appliance is changed to 192.0.2.90, which has a different subnet address (192.0.2.0/24) than the previous NSIP address. Therefore, a default route is added for this subnet, so that the new NSIP address becomes reachable from other networks.

> set nsconfig -ipAddress 192.0.2.90 -netmask 255.255.255.0

 Warning: The configuration must be saved and the system rebooted for these settings to take effect
> add route 0 0 192.0.2.1

 Warning: The configuration must be saved and the system rebooted for these settings to take effect
> save config

 Done
> reboot

Configuring the NetScaler IP Address (NSIP)