Excluding address in DHCP pool

Answered Question
Mar 19th, 2008

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

I have this problem too.
0 votes
Correct Answer by Edison Ortiz about 8 years 10 months ago

Per the link I posted:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Edison Ortiz Wed, 03/19/2008 - 18:04

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.

nygenxny123 Wed, 03/19/2008 - 18:42

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?

nygenxny123 Thu, 03/20/2008 - 06:29

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

Correct Answer
Edison Ortiz Thu, 03/20/2008 - 07:12

Per the link I posted:

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

Actions

This Discussion