Configuring a dynamic address pool – Dell POWEREDGE M1000E User Manual

Page 887

Advertising
background image

Configuring DHCP Server Settings

887

Configuring a Dynamic Address Pool

Beginning in Privileged EXEC mode, use the following commands to create

an address pool with network information that is dynamically assigned to

hosts with DHCP clients that request the information.

Command

Purpose

configure

Enter Global Configuration mode.

ip dhcp pool

name

Create a DHCP address pool and enters DHCP pool

configuration mode.

network

network-ip

[

mask | prefixlength]

Configure the subnet number and mask for a DHCP

address pool. Clients requesting an IP address can be

assigned any non-excluded IP address within this network.

lease [

duration] |

infinite}]

Specify the duration of the lease for an IP address that is

assigned from a DHCP server to a DHCP client.

duration— Days the lease is valid. You can optionally

specify the hours and minutes after specifying the days.

infinite — 60 day lease

default-router

address1

[

address2....address8]

Specify the list of default gateway IP addresses to be

assigned to the DHCP client.

dns-server

address1

[

address2....address8]

Specify the list of DNS server IP addresses to be assigned

to the DHCP client.

domain-name

domain

Specify the domain name for a DHCP client.

option

code {ascii string

| hex

string1

[

string2...string8] | ip

address1

[

address2...address8]}

Manually configure DHCP options.

CTRL + Z

Exit to Privileged EXEC mode.

show ip dhcp pool

configuration {

name |

all}

View the settings for the specified address pool or for all

configured address pools.

Advertising