Excluding address in DHCP pool

Answered Question
Mar 19th, 2008
User Badges:

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

Correct Answer by Edison Ortiz about 9 years 2 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
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

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
User Badges:

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?


Edison Ortiz Wed, 03/19/2008 - 19:59
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

"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.

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

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
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

Per the link I posted:


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

Actions

This Discussion