cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1090
Views
0
Helpful
5
Replies

dhcp excluded-address cannot function

interfacedy
Spotlight
Spotlight

Hi We have the below configuration for dhcp server. Client can get ip address from it, but the ip address is within dhcp excluded-address. Is this dhcp excluded wrong? Thank you

 

 

ip dhcp excluded-address vrf ABC 192.168.1.1 192.168.1.20

!

ip vrf ABC
rd 100:10
!
ip dhcp pool test1

vrf ABC
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
!
interface vlan 100
ip vrf forwarding ABC
ip address 192.168.1.1 255.255.255.0

2 Accepted Solutions

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

I do not see anything wrong here, i was guessing mostly order of operation with VRF.,

 

try

no ip dhcp excluded-address vrf ABC 192.168.1.1 192.168.1.20

and 

ip dhcp excluded-address vrf ABC 192.168.1.1 192.168.1.20

 

and test it.

 

post also :

show ver

show dhcp binding

 

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

Hello,

 

you need to stop and restart the 'service dhcp':

 

Router#conf t

Router(config)#no service dhcp

Router(config)#service dhcp

View solution in original post

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

I do not see anything wrong here, i was guessing mostly order of operation with VRF.,

 

try

no ip dhcp excluded-address vrf ABC 192.168.1.1 192.168.1.20

and 

ip dhcp excluded-address vrf ABC 192.168.1.1 192.168.1.20

 

and test it.

 

post also :

show ver

show dhcp binding

 

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello,

 

you need to stop and restart the 'service dhcp':

 

Router#conf t

Router(config)#no service dhcp

Router(config)#service dhcp

interfacedy
Spotlight
Spotlight

Thank you!

Hello,

 

just out of curiosity, how did you resolve this ?

The issue might not be there initially : )

Review Cisco Networking for a $25 gift card