beautypg.com

Configuring the dhcp server, Create the pool, Define the network – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1689: Create the pool define the network

background image

Dynamic Host Configuration Protocol (DHCP) Introduction

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

63.3

Configuring the DHCP Server

The DHCP server uses address pools when responding to DHCP client requests. Address
pools contains specific IP configuration details that the DHCP server can allocate to a
client. You can configure multiple address pools on the device for different networks.

Note that you cannot configure DHCP Server and DHCP Relay on the same device.

To configure a pool, you must:

Create the Pool

and enter its configuration mode.

Define the Network

the pool applies to.

Define the Range

of IP addresses that the server can allocate to clients. You can

specify multiple address ranges for each pool.

Set the Lease

for the clients. This defines whether the clients receive a dynamic,

permanent, or static IP address.

Set the Options

(standard and user-defined) that the clients of a pool require when

configuring their IP details.

After configuring the address pools, you can then enable the DHCP server by using the
command:

For networks where you do not want the server to respond to BOOTP requests, you can
configure the DHCP server so that it ignores them, by using the command:

Create the Pool

A DHCP pool is identified by a name. To create a DHCP pool and enter the DHCP
Configuration mode for the pool, use the command:

Define the Network

Define the network that the DHCP clients are in. You can define one network per address
pool. Use the following command to define the network after defining the DHCP pool first:

For remote clients, set the network address to the network of the remote clients. The
network command does not need to match a specific interface’s network, because
the DHCP server listens on all IP interfaces for DHCP requests.

For locally connected clients, ensure that the desired interface has an IP address and
subnet mask defined; use the ip address IPADDR command to set a static address.
Enter the configuration mode for the pool, and set the DHCP address pool’s network
to match the interface’s network. Pools that span multiple interfaces are possible only
if the interface networks are contiguous.

awplus(config)#

service dhcp-server

awplus(config)#

ip dhcp bootp ignore

awplus(config)#

ip dhcp pool <pool-name>

awplus(dhcp-config)#

awplus(dhcp-config)#

network