DHCP Server Configuration Example

Qiw.com

hostname d.3l router r

ip dhcp pool teaml

import all

network 10.0.0.0

255.0.0.0

dafault-rûutsr lO

r

.0.0.1

interface E themetO

ip address 10.0.0.1

255.0.0.0

ip Tiat inside r

© 2004 Cisco Systems, Inc. All rights reserved. BCRAN v2.1—4-9

© 2004 Cisco Systems, Inc. All rights reserved. BCRAN v2.1—4-9

To configure a DHCP address pool on a Cisco IOS DHCP Server and enter DHCP pool configuration mode, use the ip dhcp pool name global configuration command.

To import DHCP option parameters into the Cisco IOS DHCP Server database, use the import all DHCP pool configuration command. This example uses PPP IPCP.

To configure the subnet number and mask for a DHCP address pool on a Cisco IOS DHCP Server, use the network network-number [mask | prefix-length] DHCP pool configuration command.

To specify the default router list for a DHCP client, use the default-router address [address2...address8] DHCP pool configuration command. Note that the DHCP server excludes this address from the pool of assignable addresses.

The commands in the table here allow individual configuration of which DHCP option parameters are requested.

ppp ipcp Commands

Command

Description

ppp ipcp dns request

Requests the Domain Name System (DNS) server addresses from the peer

ppp ipcp wins request

Requests the Windows Internet Name Service (WINS) server addresses from the peer

0 0

Post a comment