
71
7. How Can I Specify Fixed IP Addresses Allocated to Clients?
Some important servers require fixed IP addresses, so you can specify the fixed IP
addresses allocated to them.
These IP addresses must be in the IP address pool that can be dynamically allocated.
Configuration method:
Run this command in the interface or interface address pool view:
dhcp server static-
bind ip-address
ip-address
mac-address
mac-address
Run this command in the global address pool view:
static-bind ip-address
ip-address
mac-address
mac-address
[
option-template
template-name
]
6. How Can I Configure the Lease?
Configuration method:
Run this command in the interface or interface address pool view:
dhcp server lease
{
day
day
[
hour
hour
[
minute
minute
] ] |
unlimited
}
Run this command in the global address pool view:
lease
{
day
day
[
hour
hour
[
minute
minute
] ] |
unlimited
}
By default, a lease expires after one day. In situations where a user is working away from
their home or office, such as a café or airport, a short-term lease is recommended. In
situations where users are primarily working from one location, long-term leases are
recommended.