beautypg.com

Configuring dhcp – Allied Telesis AR400 Series Router User Manual

Page 94

background image

94

AR400 Series Router User Guide

Software Release 2.5.2
C613-02034-00 REV A

the manual allocation mechanism, where a host’s IP address is assigned by
the network administrator, and DHCP is used simply to convey the
assigned address to the host.

A particular network will use one or more of these mechanisms, depending on
the policies of the network administrator.

DHCP is based on its predecessor, Bootstrap Protocol (BOOTP), but adds
automatic allocation of reusable network addresses and additional
configuration options. This software implementation supports both DHCP and
its predecessor BOOTP, but you must explicitly enable this support by a
manager command. BOOTP requests are only satisfied by policies with leases
set to INFINITY, i.e. using the automatic allocation mechanism.

Configuring DHCP

This example illustrates how to configure your router to act as a DHCP server
in a small site. The site has a limited range of IP addresses and the users only
use IP for short periods of time. The dynamic DHCP mechanism is the most
appropriate for this situation. The router on the LAN will be configured to
provide DHCP services to the PCs on the local LAN.

To configure DHCP follow these steps

The following steps are required:

1.

Enable the DHCP Server.

2.

Create a policy.

3.

Create a range.

4.

Test the configuration.

5.

Configure a printer.

1.

Enable the DHCP Server.

To enable DHCP, enter the command:

ENABLE DHCP

2.

Create a policy.

To create a policy setting the base configuration information required by
the client hosts, enter the commands:

CREATE DHCP POLICY=base LEASE=7200

ADD DHCP POLICY=base SUBNET=255.255.255.0

ADD DHCP POLICY=base ROUTER=192.168.1.1

ADD DHCP POLICY=base DNSSERVER=192.168.1.254,

192.168.1.253

3.

Create a range.

To create a range the defines the list of IP address to which the policy
applies, enter the command:

CREATE DHCP RANGE=office POLICY=base IP=192.168.1.16

NUMBER=32