![H3C SR8800-F Скачать руководство пользователя страница 118](http://html2.mh-extra.com/html/h3c/sr8800-f/sr8800-f_configuration-manual_4025863118.webp)
102
Step Command
Remarks
4.
(Optional.) Set the lease
duration for the IP address.
expired
{
allow-hint
| {
day
day
[
hour
hour
[
minute
minute
[
second
second
] ] ] |
unlimited
}
[
allow-hint
] }
The default setting is 1 day.
Specifying gateways for DHCP clients
DHCP clients send packets destined for other networks to a gateway. The DHCP server can assign
the gateway address to the DHCP clients.
You can specify gateway addresses in each address pool on the DHCP server. A maximum of 64
gateways can be specified in DHCP address pool view or secondary subnet view.
The DHCP server assigns gateway addresses to clients on a secondary subnet in the following
ways:
•
If gateways are specified in both address pool view and secondary subnet view, DHCP assigns
those specified in the secondary subnet view.
•
If gateways are specified in address pool view but not in secondary subnet view, DHCP assigns
those specified in address pool view.
To configure gateways in the DHCP address pool:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter DHCP address pool
view.
dhcp server ip-pool pool-name
By default, no DHCP
address pool exists.
3.
Specify gateways.
gateway-list ip-address
&<1-64>
By default, no gateway is
specified.
4.
(Optional.) Enter secondary
subnet view
network
network-address
[
mask-length
|
mask
mask
]
secondary
N/A
5.
(Optional.) Specify gateways.
gateway-list ip-address
&<1-64>
By default, no gateway is
specified.
Specifying a domain name suffix for DHCP clients
You can specify a domain name suffix in a DHCP address pool on the DHCP server. With this suffix
assigned, the client only needs to input part of a domain name, and the system adds the domain
name suffix for name resolution. For more information about DNS, see
Layer 3—IP Services
Configuration Guide.
To configure a domain name suffix in the DHCP address pool:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter DHCP address pool view.
dhcp server ip-pool pool-name
By default, no DHCP address
pool exists.
3.
Specify a domain name suffix.
domain-name
domain-name
By default, no domain name is
specified.