Technicolor - Thomson ST546 Network Router User Manual


 
E-DOC-CTC-20061027-0003 v2.0
DHCP Commands
155
dhcp server lease add
Add a DHCP server lease.
SYNTAX:
where:
dhcp server lease add clientid = <client-id>
pool = <string>
[addr = <ip-address>]
[offset = <number>]
[leasetime = <number>]
[expirytime = <number>]
[gateway = <ip-address>]
[macaddr = <hardware-address>]
clientid The DHCP client identification string of the booting host. REQUIRED
pool The name of the DHCP server pool from which the DHCP lease
should be taken.
Tip Use the command
:dhcp server pool list to
obtain a list of available DHCP server pools.
REQUIRED
addr The favoured IP address for this DHCP host.
This IP address, if specified, must be in the range of the
specified DHCP server pool.
OPTIONAL
offset A number between 0 and the integer number defined by the
number of available IP addresses in the DHCP server pool.
Represents the IP address offset in the DHCP server pool
preserved for this host.
Note Not specifying this parameter does not preserve an IP
address for the host.
OPTIONAL
leasetime A number (of seconds).
Represents the time the host is allowed to use this address.
Note 0 means infinite leasetime.
OPTIONAL
expiretime The time in seconds the DHCP server keeps the lease reserved
Tip 0 means infinite expirytime.
gateway The IP address of the default router for this client. OPTIONAL
macaddr The MAC address of the host. OPTIONAL