338CHAPTER 21: CONFIGURING IP APPLICATION

Disable the DHCP service

undo dhcp server ip-pool pool-name

By default, no DHCP address pool is created.

3Configure the range of a DHCP address pool

a Configure the static binding address allocated to the client

Some special clients (e.g., WWW server) need to be bound with fixed IP addresses, that is, to bind a certain client MAC address with a certain IP address. When the client with this MAC address applies for a DHCP address, the server will find the corresponding fixed IP address according to the client MAC address, and allocate it for the client. You can assume that a statically binding address is a special DHCP address pool that contains only one address.

Perform the following configurations in DHCP address pool view.

Table 368 Configure the statically binding IP address and MAC address

Operation

Command

 

 

Configure a statically binding IP address

static-bind

 

ip-addressip-address[ mask

 

netmask ]

 

 

Delete the statically binding IP address

undo static-bind ip-address

 

 

Configure a statically binding client MAC address

static-bind mac-address

 

mac-address

 

 

Delete a statically binding client MAC address

undo static-bind mac-address

 

 

By default, no binding of DHCP client IP address and MAC address is configured. For the binding client MAC address, the default type is ethernet.

The command static-bindip-addressmust be used together with the static-bindmac-addresscommand. None of them have the superposition function, that is, the latest configuration will replace the previous one.

The command network and the commands static-bindip-addressand static-bindmac-addressare conflicting. In other words, a DHCP address pool can be used either to configure statically binding addresses or the dynamic addresses, but not both.

bConfigure the dynamic IP addresses allocated to clients

For the addresses dynamically allocated to the clients (including the permanent dynamic addresses and those dynamic addresses with a limited lease period), it is necessary to configure the range of the address pool. Only one address segment can be configured in one address pool, and the mask can be used to set the address range.

Perform the following configurations in DHCP address pool view.

Table 369 Configure the range of the dynamically allocated IP addresses

Operation

Command

 

 

Configure the range of the IP addresses allocated

network ip-address [

dynamically

mask

netmask ]

 

 

 

Delete the range of the IP addresses allocated dynamically

undo

network

 

 

 

By default, no DHCP address pool is configured, that is, there are no allocable addresses.

Page 342
Image 342
3Com 10014299 manual Configure the statically binding IP address and MAC address, Netmask, Network ip-address