Creating a dhcp global address pool, Configuring the static ip address allocation mode – H3C Technologies H3C S3100 Series Switches User Manual

Page 506

Advertising
background image

2-5

Enabling the 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 the global address pool to the DHCP clients.

Follow these steps to configure the global address pool mode on interface(s):

To do…

Use the command…

Remarks

Enter system view

system-view

interface interface-type
interface-number

dhcp select global

Configure the
current interface

quit

Configure the
specified
interface(s) or
all the
interfaces to
operate in
global address
pool mode

Configure multiple
interfaces
simultaneously in
system view

dhcp select global { interface
interface-type interface-number [ to
interface-type interface-number ] |
all }

Optional

By default, the
interface operates
in global address
pool mode.

Creating a DHCP Global Address Pool

Follow these steps to create a DHCP address pool:

To do…

Use the command…

Remarks

Enter system view

system-view

Create a DHCP global address pool
and enter its view

dhcp server ip-pool
pool-name

Required

Not created by default.

Configuring an Address Allocation Mode for the Global Address Pool

You can configure either the static IP address allocation mode or the dynamic IP address allocation

mode for a global address pool, and only one mode can be configured for one DHCP global address

pool.

For dynamic IP address allocation, you need to specify the range of the IP addresses to be dynamically

assigned. But for static IP address binding, you can regard that the IP address statically bound to a

DHCP client comes from a special DHCP address pool that contains only one IP address.

Configuring the static IP address allocation mode

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 requests an IP

Advertising