Configuring – Allied Telesis AR700 SERIES Software Release 2.7.1 User Manual

Page 97

Advertising
background image

97

Software Release 2.7.1
C613-02047-00 REV A

Configuring Dynamic Host Configuration
Protocol (DHCP)

DHCP provides a method for passing configuration information to hosts on a
TCP/IP network. DHCP is based on its predecessor Bootstrap Protocol
(BOOTP), but adds automatic allocation of reusable network addresses and
additional configuration options.

When the router is configured as a DHCP server, it will allocate IP addresses
and other IP configuration parameters to clients (hosts), when the client
requests them. This enables you to configure your IP network without
manually configuring every client. Note that each client must also be
configured to receive its IP address automatically.

As well as addresses, a DHCP server can assign a wide range of parameters to
clients, including subnet information and mask, domain and hostname, server
addresses, keepalive times, MTUs, boot settings, encapsulation settings, time
settings, and TCP settings.

On the router, DHCP is based on DHCP policies. Policies are predefined sets of
configuration information items. Each policy defines IP configuration
information for the clients that are attached to a single IP interface. Each policy
has at least one IP address range attached to it. A range is a list of consecutively
numbered IP addresses. When the DHCP server uses a policy to supply DHCP
information to a client, it assigns the client an unused IP address from the
policy’s IP address ranges.

DHCP and its predecessor BOOTP are both supported, but are disabled by
default.

To configure the router as a DHCP server:

1.

Enable IP and give the desired interface an IP address and subnet mask.
This IP address needs to be in the subnet that you wish to assign to hosts
that are connected to that interface. Use the commands:

enable ip

add ip interface

2.

Create a DHCP policy using the command:

create dhcp policy=name leasetime={lease-time|infinity}

[inherit=name]

3.

Assign an IP address range to the policy. This range must be in the same
subnet as the IP address that you assigned to the interface. Use the
command:

create dhcp range=name ip=ipadd number=number policy=name

[gateway=ipadd]

4.

Assign any other desired configuration settings to the policy, using the
command:

add dhcp policy=name [options...]

The server will use that policy on that interface. Repeat this process with as
many interfaces and policies as required.

5.

Enable the DHCP server, using the command:

enable dhcp

For more information on how to configure DHCP, see the Dynamic Host
Configuration Protocol
(DHCP) chapter in the Software Reference.

Advertising