This article describes how to change management IP address and add new default gateway address using NetScaler CLI.
Changing the Default Gateway of the NetScaler appliance can only be done via the CLI.
The NetScaler appliance can only have 1 Default Gateway defined at a time.
Refer to article CTX116835 - How to Modify the Mapped IP and NetScaler IP on a HA Pair to change the IP address of NetScaler.
Update the NetScaler IP and netmask with the new details and select option 7, Apply the changes and exit.
Reboot the NetScaler after this has been done.
The next required step is to create the new default gateway IP address. Type the following command while connected to the NetScaler via the console screen to see the currently set gateway address:
show route
To add a new route type:
add route 0.0.0.0 0.0.0.0 x.x.x.x (where x is the new default gateway address you want to add)
rm route 0.0.0.0 0.0.0.0 y.y.y.y (where y is the old default gateway address you want to remove)
savec (Save the configuration on the appliance)
reboot (reboot the appliance, and then when it boots up, the new Default Gateway should take effect)