Task At the NetScaler command prompt,
type:
To release the DHCP IP address and
return it to the IP address pool on the
DHCP server when the NetScaler
configuration is complete
> release dhcpIP
Using DHCP When a Configuration File is Present
If you need to move a NetScaler appliance to a different subnet, such as from a testing
environment to a production environment, you can use DHCP to access an appliance
that already has a configuration file. Before moving the appliance, enable its DHCP
client and save the configuration. As a result, when the appliance restarts, it
automatically polls the DHCP server for an IP address. If you did not enable the DHCP
client and save the configuration before shutting down the appliance, you will need to
connect to the appliance through the console and dynamically run the DHCP client on
the appliance. The DHCP server will then provide an IP address, a gateway, and a
subnet mask. You can use the IP address to access the appliance and configure the
other settings remotely.
If the DHCP client is enabled in the configuration file, you should disable it and then
save the configuration file. If the DHCP client is enabled, the appliance will poll the
DHCP server again for an IP address when it restarts.
The following table lists the NetScaler CLI commands associated with each task.
Table 4-3. NetScaler CLI commands for using DHCP with a previously configured
NetScaler Appliance
Task At the NetScaler command prompt,
type:
To dynamically run the DHCP client to
fetch an IP address from the DHCP server
> set dhcpParams dhcpClient on
To configure the DHCP client to run when
the appliance restarts
> set dhcpParams dhcpClient on
> save config
To prevent the DHCP client from running
when the appliance restarts
> set dhcpParams dhcpClient off
> save config
Note: This is required only if the ON
setting was saved.
Chapter 4 Initial Configuration
98