25
DHCPCLIENT
This command is used to setup the timing behavior of the DHCP client
Syntax:
dhcpclient <lease time> [<retry> [<backoff-cutoff>
[<timeout>]]]
Parameters:
lease time: client lease time, the default is 900 seconds.
retry: retry time, the default is 2000 seconds.
backoff-cutoff: backoff-cutoff time, the default is 240
seconds.
timeout: timeout time, the default is 300 seconds
Example:
> lan> dhcpclient 1000 2000 300 300
Set the client lease time=1000 seconds, retry
time=2000 seconds, backoff-cutoff time=300 seconds
and timeout time=300 seconds
DHCPSERVER
Setup a range of IP addresses that are associated with a subnetwork used
for DHCP server
Notice:
the IP addresses should be in the same subnet
Syntax:
dhcpserver <range1 startIP> <range1 endIP> [<range2
startIP> <range2 endIP>] [<max-lease-time>]
Parameters:
range1 startIP: the first IP address in range 1 for a
particular subnetwork, in the format of 4 decimals
separated by dot
range1 endIP: the last IP address in range 1 for a
particular subnetwork, in the format of 4 decimals
separated by dot
range2 startIP: the first IP address in range 2 for a
particular subnetwork, in the format of 4 decimals
separated by dot
range2 endIP: the last IP address in range 2 for a
particular subnetwork, in the format of 4 decimals
separated by dot
max-lease-time: maximum lease time, infinite, the