Dhcp commands, 171 example – Technicolor - Thomson ST585 V6 User Manual
Page 195
![background image](/manuals/214718/195/background.png)
E-DOC-CTC-20061027-0004 v1.0
DHCP Commands
171
EXAMPLE:
gateway
The IP address of the default gateway for the DHCP clients.
The 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 or that the Thomson ST acts as the
LAN default gateway.
OPTIONAL
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.
The 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
Thomson ST acts as the LAN DNS server.
OPTIONAL
secdns
The IP address of the optional secondary DNS server for DHCP
clients.
The 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 Windows Internet Naming
Service (WINS) server for DHCP clients.
OPTIONAL
secwins
The IP address of the secondary WINS server for DHCP clients.
OPTIONAL
leasetime
A number (of seconds).
Represents the time in seconds a client is allowed to use an
address.
Note
Specifying 0 makes the lease permanent.
OPTIONAL
unnumbered
Assign an IP address from this pool to the DHCP server
(enabled) or not (disabled).
Note
For 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
=>