cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
26869
Views
10
Helpful
5
Replies

Excluding address in DHCP pool

nygenxny123
Level 1
Level 1

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

Per the link I posted:

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

View solution in original post

5 Replies 5

Edison Ortiz
Hall of Fame
Hall of Fame

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.

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?

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

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

Per the link I posted:

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card