[Citrix Netscaler VPX] Setting gateway from command line

On certain Citrix VPX installations the ability to set a gateway is not in the setup wizard as you are initially required to connect to the installation from the same network. After logging in using:

Username: nsroot

Password: nsroot

You can set the gateway with similar syntax to adding static routes on most systems:

add route [gateway address here]

save ns config