R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide

36
Ste
p
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 the IP address.
static-bind ip-address ip-address
[ mask-length | mask mask ]
No IP addresses are statically
bound by default.
4. Specify the MAC address or client
ID.
Specify the MAC address:
static-bind mac-address
mac-address
Specify the client ID:
static-bind client-identifier
client-identifier
Use either of the commands.
Neither is bound statically by
default.
5. Specify the lease duration for the
IP address.
expired { day day [ hour hour
[ minute minute [ second second ] ] ]
| unlimited }
Optional.
By default, the lease duration
of the IP address is unlimited.
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.
Follow these guidelines when you configure dynamic address allocation:
In common address pool view, if you use the network or network ip range command multiple times,
the most recent configuration takes effect.
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.
You can exclude multiple IP address ranges from allocation.
To configure dynamic address allocation for a common address pool:
Ste
p
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