beautypg.com

Network, Network 39-7 – LevelOne GTL-2690 User Manual

Page 658

background image

DHCP Server

39-7

39

client (with the host command) if required. You can configure up to 8 network
address pools, and up to 32 manually bound host address pools (i.e., listing
one host address per pool). However, note that any address specified in a
host command must fall within the range of a configured network address
pool.

Example

Related Commands

network (39-7)
host (39-12)

network

This command configures the subnet number and mask for a DHCP address pool.
Use the no form to remove the subnet number and mask.

Syntax

network network-number [mask]
no network

network-number - The IP address of the DHCP address pool.
mask - The bit combination that identifies the network (or subnet) and the

host portion of the DHCP address pool.

Command Mode

DHCP Pool Configuration

Usage Guidelines

• 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. If no manually configured host
address is found, it assigns an address from the matching network address
pool. However, if no matching address pool is found the request is ignored.

• This command is valid for DHCP network address pools only. If the mask is

not specified, the class A, B, or C natural mask is used (see page 20-5). The
DHCP server assumes that all host addresses are available. You can exclude
subsets of the address space by using the ip dhcp excluded-address
command.

Example

Console(config)#ip dhcp pool R&D
Console(config-dhcp)#

Console(config-dhcp)#network 10.1.0.0 255.255.255.0
Console(config-dhcp)#