R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101

123
NOTE:
In common address pool view, using the network or network ip range command repeatedly overwrites
the previous configuration.
After you exclude IP addresses from automatic allocation by using the dhcp server forbidden-ip
command, neither a common address pool nor an extended address pool can assi
g
n these IP addresses
through dynamic address allocation.
Using the dhcp server forbidden-ip command repeatedly can exclude multiple IP address ranges from
allocation.
Configuring dynamic address allocation for an extended address pool
Extended address pools support dynamic address allocation only.
When configuring an extended address pool, you need to specify:
Assignable IP address range
Mask
After the assignable IP address range and the mask are specified, the address pool becomes valid.
Follow these steps to configure dynamic address allocation for an extended address pool:
To do… Use the command…
Remarks
Enter system view system-view
Enter extended address pool view
dhcp server ip-pool pool-name
extended
Specify the IP address range
network ip range min-address
max-address
Required
Not specified by default.
Specify the IP address mask network mask mask
Required
Not specified by default.
Specify the address lease duration
expired { day day [ hour hour
[ minute minute ] ] | unlimited }
Optional
One day by default.
Exclude IP addresses from dynamic
allocation
forbidden-ip ip-address&<1-8>
Optional
Except IP addresses of the DHCP
server interfaces, all addresses in
the DHCP address pool are
assignable by default.
NOTE:
Excluded IP addresses specified with the forbidden-ip command in DHCP address pool view are not
assignable in the current extended address pool, but are assignable in other address pools.
Configuring a domain name suffix for the client
You can specify a domain name suffix in each DHCP address pool on the DHCP server to provide the
clients with the domain name suffix. 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 the chapter “DNS configuration.
Follow these steps to configure a domain name suffix in the DHCP address pool: