How to change subnet mask of NSIP on NetScaler

How to change subnet mask of NSIP on NetScaler

book

Article ID: CTX226827

calendar_today

Updated On:

Description

How to change the subnet mask of NetScaler management IP address (when not using Clustering).


Instructions

  1. Take a SSH session to NetScaler.
  2. Enter into shell
> shell
  1. Execute the command 'nsconfig' and get the option to modify the subnet mask of NSIP.
root@NS-Pri# nsconfig 

NSCONFIG NS14.1.


REVIEW CONFIGURATION PARAMETERS MENU
------------------------------------
This menu allows you to view and/or modify the Citrix ADC's configuration.
Each configuration parameter displays its current value within brackets
if it has been set. To change a value, enter the number that is displayed
next to it.
------------------------------------
      1. Citrix ADC's IP address: [10.110.61.164]
      2. Netmask: [255.255.255.224]
      3. Advanced Network Configuration.
      4. Time zone.
      5. Network firewall mode: [0]
      6. Cancel all the changes and exit.
      7. Apply  changes and exit.
Select a menu item from 1 to 7 [7]: 2


Netmask
-------
This specifies the netmask for the network in which the Citrix ADC
is being installed.

Enter the netmask [255.255.255.224]: 255.255.255.0


REVIEW CONFIGURATION PARAMETERS MENU
------------------------------------
This menu allows you to view and/or modify the Citrix ADC's configuration.
Each configuration parameter displays its current value within brackets
if it has been set. To change a value, enter the number that is displayed
next to it.
------------------------------------
      1. Citrix ADC's IP address: [10.110.61.164]
      2. Netmask: [255.255.255.0]
      3. Advanced Network Configuration.
      4. Time zone.
      5. Network firewall mode: [0]
      6. Cancel all the changes and exit.
      7. Apply  changes and exit.
Select a menu item from 1 to 7 [7]: 7
The configuration must be saved, and the system rebooted for these settings to take effect.
Do you want to save the new configuration? [Yes]: yes
  1. Once the above is given, the box will reboot and come back with the new subnet mask.

Issue/Introduction

how to change the subnet mask on the netscaler

Additional Information

set ns config

https://developer-docs.netscaler.com/en-us/adc-command-reference-int/current-release/ns/ns-config.html

Sets the Citrix ADC IP address and Citrix ADC VLAN. To set other Citrix ADC parameters, use the ‘set ns param’ command. Note: To change the NSIP address or the NSVLAN of an appliance that is part of a cluster, first remove the appliance from the cluster, change the NSIP or the NSVLAN, and then add the appliance back to the cluster.