Operation Manual
120
DHCP Commands
E-DOC-CTC-20040210-0030 v1.0
EXAMPLE:
RELATED COMMANDS:
server The IP address of the DHCP server for DHCP clients. OPTIONAL
primdns The IP address of the primary DNS server for the DHCP clients.
Default value of this parameter is 0 (not specified), which means that
the IP address of the DNS server will be communicated by the
remote server as soon as the PPP IPCP subnetmasking connection is
established or that the SpeedTouchâ„¢ acts as the LAN DNS server.
OPTIONAL
secdns The IP address of the optional secondary DNS server for DHCP
clients.
Default value of this parameter is 0 (not specified), which means that
the gateway IP address will be communicated by the remote server
as soon as the PPP IPCP subnetmasking connection is established.
OPTIONAL
dnsmetric The DHCP server pool DNS route metric. OPTIONAL
primwins The IP address of the primary WINS server for DHCP clients. OPTIONAL
secwins The IP address of the secondary WINS server for DHCP clients. OPTIONAL
leasetime A number between 0 and 1814400 (seconds).
Represents the time for which a client can use its dynamically
allocated IP address.
The default is 7200.
Note Specifying -1 makes the lease permanent.
OPTIONAL
unnumbered Assign an IP address from this pool to the DHCP server or not
(dynamic pools only).
OPTIONAL
localgw Proxy for a virtual default gateway residing in same subnet of DHCP
client instead of the remote peer address.
OPTIONAL
=>dhcp server pool list
Pool Start End Intf State
0 LAN_Private 10.0.0.1 10.0.0.254 eth0 USED
=>dhcp server pool config name=My_Pool poolstart=192.6.11.101 |
poolend=192.6.11.254 netmask=255.255.255 gateway=192.6.11.100 leasetime=21600
=>dhcp server pool list
Pool Start End Intf State
0 LAN_Private 10.0.0.1 10.0.0.254 eth0 USED
1 My_Pool 192.6.11.101 192.6.11.254 eth0 USED
=>
dhcp server pool list Show current DHCP server pools.