Usage Scenario
Fixed IP addresses need to be assigned to specified clients, such as the WWW server. In this case, you can bind an available IP address in an address pool with the MAC address of a client. When the DHCP server receives a request for the IP address of a specific client, run the static-bind command to bind the IP address with the MAC address of the client.
After the
undo static-bind command is executed, the bound IP address restores to be available, and the IP address can be assigned to other clients.
Prerequisites
Perform the following operations:
1.Run the
ip pool command in the system view to create an address pool on the DHCP server.
2.Run the
gateway command in the Server IP address pool view to configure a gateway address and subnet mask for the created address pool.
3.Run the
section command in the Server IP address pool view to specify the address segment that can be assigned from the address pool.
Precautions
- The IP address to be bound must be within the address segment configured using the section command in the Server IP address pool view.
- The IP address to be bound must have never been used. Before the static-bind command is executed, run the excluded-ip-address command to prohibit the IP address to be bound from taking part in automatic address assignment.
- After the binding, the lease of this IP address is not managed. After the bound client obtains the IP address, the configuration cannot be deleted using the undo static-bind command. The binding relationship can be removed only when the user proactively goes offline.
- After the undo ip pool command is run, you can configure the binding relationship between IP addresses and MAC addresses.
- You can repeat executing the static-bind command to assign IP addresses to multiple clients. An IP address or MAC address can be used only once.