3Com 5500-SI Switch User Manual


 
Global Address Pool-Based DHCP Server Configuration 129
Configuring Global
Address Pool Mode on
Interface(s)
You can configure the global address pool mode on the specified or all interfaces of a
DHCP server. After that, when the DHCP server receives DHCP packets from DHCP
clients through these interfaces, it assigns IP addresses in local global address pools to
the DHCP clients.
Configuring How to
Assign IP Addresses in a
Global Address Pool
You can specify to bind an IP address in a global address pool statically to a DHCP
client or assign IP addresses in the pool dynamically to DHCP clients as needed. But
the two address assignment ways cannot coexist in one DHCP address pool.
For dynamic IP address assigning, you need to specify the range of the IP addresses to
be dynamically assigned. But for static IP address binding, you can consider an IP
address statically bound to a DHCP client coming from a special DHCP address pool
that contains only one IP address.
Configuring to assign IP addresses by static binding
Some DHCP clients, such as WWW servers, need fixed IP addresses. This can be
achieved by binding IP addresses to the MAC addresses of these DHCP clients. When
such a DHCP client applies for an IP address, the DHCP server searches for the IP
address corresponding to the MAC address of the DHCP client and assigns the IP
address to the DHCP client. Currently, only one IP address in a global DHCP address
pool can be statically bound to a MAC address.
The static-bind ip-address command and the static-bind mac-address command must
be coupled.
Table 112 Configure the global address pool mode on interface(s)
Operation Command Description
Enter system view system-view -
Configure the
specified
interface(s) or all
interfaces to
operate in global
address pool mode
On one specified
interface
interface interface-type
interface-number
Optional
By default, a DHCP
server assigns the IP
addresses of the local
global address pool to
DHCP clients in
response to DHCP
packets received from
DHCP clients.
dhcp select global
quit
On multiple
specified interfaces
or all interfaces
dhcp select global {
interface interface-type
interface-number [ to
interface-type
interface-number ] | all }
Table 113 Configure to assign IP addresses by static binding
Operation Command Description
Enter system view System-view -
Create a DHCP address pool and enter
DHCP address pool view
dhcp server ip-pool
pool-name
Required
By default, no global
DHCP address pool is
created.
Bind an IP address to
the MAC address of a
DHCP client statically
Configure the IP
address to be
statically bound
static-bind ip-address
ip-address [ mask-length |
mask mask ]
Required
By default, no IP address
is statically bound to a
MAC address.
Configure the
MAC address to
which the MAC
address is to be
bound
static-bind mac-address
mac-address