F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100

173
To avoid address conflicts, configure the DHCP server to exclude IP addresses used by the
gateway or FTP server from dynamic allocation.
Follow these guidelines when you configure dynamic address allocation:
{ 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 assign these IP
addresses through dynamic address allocation.
{ Using the dhcp server forbidden-ip command repeatedly can exclude multiple IP address
ranges from allocation.
To configure dynamic address allocation for a common address pool:
Ste
p
Command
Remarks
334. Enter system view. system-view N/A
335. Enter common address pool
view.
dhcp server ip-pool pool-name N/A
336. Specify a subnet.
network network-address
[ mask-length | mask mask ]
Not specified by default.
337. Specify the IP address range
on the subnet for dynamic
allocation.
network ip range min-address
max-address
Optional.
Not specified by default.
338. Specify the address lease
duration.
expired { day day [ hour hour
[ minute minute ] [ second
second ] ] | unlimited }
Optional.
One day by default.
339. Return to system view.
quit N/A
340. Exclude IP addresses from
automatic allocation.
dhcp server forbidden-ip
low-ip-address [ high-ip-address ]
Optional.
Except IP addresses of the DHCP
server interfaces, all addresses in
the DHCP address pool are
assignable by default.
1208BConfiguring dynamic address allocation for an extended address pool
Extended address pools support dynamic address allocation only.
When configuring an extended address pool, you must specify:
Assignable IP address range
Mask
After the assignable IP address range and the mask are specified, the address pool becomes valid.
To configure dynamic address allocation for an extended address pool:
Ste
p
Command
Remarks
341. Enter system view.
system-view
N/A
342. Enter extended address pool
view.
dhcp server ip-pool pool-name
extended
N/A