Configuring dynamic address allocation – H3C Technologies H3C SecPath F1000-E User Manual
Page 194
169
NOTE:
•
Use the static-bind ip-address command together with static-bind mac-address or static-bind
client-identifier to accomplish a static binding configuration.
•
In a DHCP address pool, if you execute the static-bind mac-address command before the static-bind
client-identifier command, the latter will overwrite the former and vice versa.
•
If you use the static-bind ip-address, static-bind mac-address, or static-bind client-identifier
command repeatedly in the DHCP address pool, the new configuration will overwrite the previous one.
•
The IP address of the static binding cannot be an interface address of the DHCP server. Otherwise, an
IP address conflict may occur and the bound client cannot obtain an IP address correctly.
•
The ID of the static binding must be identical to the ID displayed by using the display dhcp client
verbose command on the client. Otherwise, the client cannot obtain an IP address.
•
When the firewall serves as a DHCP client or BOOTP client, you must bind the DHCP client's ID to an IP
address, or bind the BOOTP client's MAC address to an IP address on the DHCP server; otherwise, the
DHCP or BOOTP client cannot obtain a static IP address.
•
If the interfaces on a DHCP client share the same MAC address, you need to specify the client ID, rather
than MAC address, in a static binding to identify the requesting interface; otherwise, the client may fail
to obtain an IP address.
2.
Configuring dynamic address allocation
For dynamic address allocation, you must configure a DHCP address pool, specify one and only one
address range for the pool, and specify the lease duration. A DHCP address pool can have only one
lease duration.
To avoid address conflicts, configure the DHCP server to exclude IP addresses used by the gateway or
FTP server from dynamic allocation.
To configure dynamic address allocation for a common address pool:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter common address pool
view.
dhcp server ip-pool pool-name N/A
3.
Specify a subnet.
network network-address
[ mask-length | mask mask ]
Not specified by default.
4.
Specify the IP address range
on the subnet for dynamic
allocation.
network ip range min-address
max-address
Optional.
Not specified by default.
5.
Specify the address lease
duration.
expired { day day [ hour hour
[ minute minute ] [ second
second ] ] | unlimited }
Optional.
One day by default.
6.
Return to system view.
quit
N/A
7.
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.
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer