beautypg.com

Define the range, Set the lease, Enable dhcp leasequery – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1690

background image

Dynamic Host Configuration Protocol (DHCP) Introduction

Software Reference for x310 Series Switches

63.4

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

Define the Range

Configure an IP address range for the pool. This range must be in the same subnet as the
pool’s network setting. Use the command:

The first IPv4 address specifies the low end of the range, while the second IP address is
the high end.
You can set the range to a single IP address by specifying only one IP
address.

Set the Lease

The DHCP server assigns IP settings to hosts for specific times (the lease time). Each DCHP
pool has one lease time setting. You can use DHCP to allocate the following types of
addresses:

A dynamic IP addresses
These are available to a host for a limited amount of time. When the lease expires, the
server can reallocate the IP address to another device. To set the lease time for the
DHCP pool so that it assigns dynamic IP addresses, use the command:

A permanent IP addresses
These are available to a host for an unlimited amount of time. To set the lease time to
assign permanent IP addresses, use the command:

A static IP addresses
These are allocated to a particular client. The DHCP server recognizes the client by its
MAC address. This lets you use DHCP to manage most of your network automatically,
while having unchanging IP addresses on key devices such as servers. To assign a
static IP address to a device, use the command:

BOOTP requests can be satisfied by pools with leases set to infinity.

Enable DHCP Leasequery

The DHCP Leasequery protocol (RFC 4388) allows a device or process, for example a DHCP
relay agent, to obtain IP address information directly from the DHCP server using
DHCPLEASEQUERY messages.

DHCPLEASEQUERY messages support three query regimes:

IP address

Only an IP address is supplied in the DHCPLEASEQUERY message. The DHCP server
will return any information that it has on the most recent client to have been assigned
that IP address.

awplus(dhcp-config)#

range <ip-address> [<ip-address>]

awplus(dhcp-config)#

lease <days> <hours> <minutes>
[<seconds>]

awplus(dhcp-config)#

lease infinite

awplus(dhcp-config)#

host