Lease, Lease 1375 – LevelOne GTL-2691 User Manual

Page 1375

Advertising
background image

C

HAPTER

46

| DHCP Commands

DHCP Server

– 1375 –

C

OMMAND

M

ODE

DHCP Pool Configuration

U

SAGE

G

UIDELINES

Host addresses must fall within the range specified for an existing

network pool.

When a client request is received, the switch first checks for a network

address pool matching the gateway where the request originated (i.e.,

if the request was forwarded by a relay server). If there is no gateway

in the client request (i.e., the request was not forwarded by a relay

server), the switch searches for a network pool matching the interface

through which the client request was received. It then searches for a

manually configured host address that falls within the matching

network pool.

When searching for a manual binding, the switch compares the client

identifier for DHCP clients, and then compares the hardware address for

DHCP or BOOTP clients.

If no manual binding has been specified for a host entry with the

client-

identifier

or

hardware-address

commands, then the switch will assign

an address from the matching network pool.

If the mask is unspecified, DHCP examines its address pools. If no

mask is found in the pool database, the Class A, B, or C natural mask is

used (see

page 1377

). This command is valid for manual bindings only.

The no host command only clears the address from the DHCP server

database. It does not cancel the IP address currently in use by the

host.

E

XAMPLE

Console(config-dhcp)#host 10.1.0.21 255.255.255.0

Console(config-dhcp)#

R

ELATED

C

OMMANDS

client-identifier (1371)

hardware-address (1374)

lease

This command configures the duration that an IP address is assigned to a

DHCP client. Use the no form to restore the default value.

S

YNTAX

lease {days [hours] [minutes] | infinite}
no lease

days - Specifies the duration of the lease in numbers of days.

(Range: 0-364)

Advertising