Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Excluding address in DHCP pool

I thought I knew how to exclude an addres..

but im not familiar with the SDM statements found in the config..

If I wanted to exclude 192.168.22.99..how would i confiugre this?

ip dhcp excluded-address 192.168.22.99 ?

ip cef

no ip dhcp use vrf connected

ip dhcp excluded-address 10.10.10.1

ip dhcp excluded-address 192.168.22.1 192.168.22.10

!

ip dhcp pool sdm-pool

import all

network 10.10.10.0 255.255.255.248

default-router 10.10.10.1

lease 0 2

!

ip dhcp pool sdm-pool1

import all

network 192.168.22.0 255.255.255.0

dns-server 192.168.1.27

default-router 192.168.22.1

netbios-name-server 192.168.119.2 192.168.117.15

netbios-node-type h-node

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Bronze

Re: Excluding address in DHCP pool

Per the link I posted:

"Manually configured DHCP option parameters override imported DHCP option parameters"

5 REPLIES
Hall of Fame Super Bronze

Re: Excluding address in DHCP pool

If I wanted to exclude 192.168.22.99..how would i confiugre this?

ip dhcp excluded-address 192.168.22.99 ?

Yup, is that simple :)

HTH,

__

Edison.

New Member

Re: Excluding address in DHCP pool

thx!

I was doing research regarding the "import all"

command. Does this have to do with the

far end router? What exaclty does this command do?

This document makes it sound like it is getting configuration from the "core" router

http://www.cisco.com/warp/public/105/dhcp_ser.html

And is sdm simply a default statement when configuring dhcp?

Hall of Fame Super Bronze

Re: Excluding address in DHCP pool

"import all" is used when you need to bring options from another DHCP router into your current router instead of typing them one by one.

http://www.cisco.com/en/US/docs/ios/12_3/ipaddr/command/reference/ip1_i1g.html#wp1078583

I'm not familiar with SDM since I do all my configs at the CLI therefore I can't tell you what default statement would SDM use.

__

Edison.

New Member

Re: Excluding address in DHCP pool

Thx Edison,

Since we are bringing in options from another DHCP router with the "import all" command-does

this void out what is configured on this particular router.

ip cef

no ip dhcp use vrf connected

ip dhcp excluded-address 10.10.10.1

ip dhcp excluded-address 192.168.22.1 192.168.22.10

!

ip dhcp pool sdm-pool

import all

network 10.10.10.0 255.255.255.248

default-router 10.10.10.1

lease 0 2

!

ip dhcp pool sdm-pool1

import all

network 192.168.22.0 255.255.255.0

dns-server 192.168.1.27

default-router 192.168.22.1

netbios-name-server 192.168.119.2 192.168.117.15

netbios-node-type h-node

Hall of Fame Super Bronze

Re: Excluding address in DHCP pool

Per the link I posted:

"Manually configured DHCP option parameters override imported DHCP option parameters"

1128
Views
0
Helpful
5
Replies