cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1064
Views
0
Helpful
4
Replies

periodically clients cannot lost IP assigned by IOS DHCP server (router)

Andriy Sidko
Level 1
Level 1

Hi guys.

 

I have  C891FW router acting as DHCP server for lan clients (vlan11)  I put following configuration:

++++++++++++++++++

ip dhcp binding cleanup interval 300
ip dhcp excluded-address 192.168.172.1 192.168.172.18
ip dhcp excluded-address 192.168.172.0 192.168.172.17

ip dhcp excluded-address 192.168.172.31 192.168.172.255
ip dhcp ping timeout 150

ip dhcp pool wifipool
import all
utilization mark high 80 log
network 192.168.172.16 255.255.255.240
default-router 192.168.172.17
domain-name st1.net
option 150 ip 192.168.172.2
dns-server 192.168.172.9 192.168.172.2
lease 1 3 30
ip dhcp snooping vlan 11
ip dhcp snooping

++++++++++++++++++

 

time to time all clients (it happening different for every clients) lost/cannot renew IP assigned by DHCP (gettig self assigned 169.254.x.x)

 

force clients manually re-obtain IP resolve issue till next time.

 

Thank you in advance.

 

p.s. time whenever issue is happening random.

p.p.s router running IOS c800-universalk9-mz.SPA.154-3.M10.bin  

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

Try some different Option as suggested by this post :

 

https://community.cisco.com/t5/switching/dhcp-not-releasing-ip-address-cisco-ios/td-p/3189502

 

we do not see bugs reported, but the psot have some bugs, i belive they resolved your version.

BB

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

How to Ask The Cisco Community for Help

i took a look at post. It seems nothing related to issue I have.

what do  you think if I upgrade router image to latest recommended by Cisco: c890-universalk9-mz.157-3.M3.bin?

 

Thank you.

 

your wifipool is using network 192.168.172.16 255.255.255.240

which is from 192.168.172.16  until  192.168.172.31

you've got 16 addresses, from which .16 and .31 are network and broadcast and .17-.18 are excluded -> 14 left

how many active devices do you have in this pool? 

 

also your exclude statements look a little odd.... 

ip dhcp excluded-address 192.168.172.1 192.168.172.18
ip dhcp excluded-address 192.168.172.0 192.168.172.17

ip-address

The excluded IP address, or first IP address in an excluded address range.

last-ip-address

(Optional) The last IP address in the excluded address range.

as it is an exclusion range so I see overlap  .0-.17 with .1-.18 you may correct this for clarity

ok. config looks like this now:

 

gate(config)#do sh runn | s dhcp
ip dhcp binding cleanup interval 300
ip dhcp excluded-address 192.168.172.1 192.168.172.17
ip dhcp excluded-address 192.168.172.31 192.168.172.37
ip dhcp excluded-address 192.168.172.39 192.168.172.49
ip dhcp excluded-address 192.168.172.56 192.168.172.255
ip dhcp ping timeout 150
ip dhcp pool sip-static-binding
host 192.168.172.38 255.255.255.248
client-identifier acf2.c538.2d2c
default-router 192.168.172.33
dns-server 192.168.172.2 206.248.154.22
lease infinite
ip dhcp pool sippool
import all
network 192.168.172.32 255.255.255.248
default-router 192.168.172.33
domain-name st1.net
netbios-node-type m-node
dns-server 192.168.172.4 192.168.172.2
option 150 ip 192.168.172.2
lease 1 3 30
ip dhcp pool guestwifipool
import all
network 192.168.172.48 255.255.255.248
default-router 192.168.172.49
dns-server 8.8.8.8 8.8.4.4
lease 0 0 30
ip dhcp pool wifipool
import all
utilization mark high 80 log
network 192.168.172.16 255.255.255.240
default-router 192.168.172.17
domain-name st1.net
option 150 ip 192.168.172.2
dns-server 192.168.172.9 192.168.172.2
lease 1 3 30
ip dhcp snooping vlan 11-12
ip dhcp snooping
ipv6 dhcp pool IPv6DHCP4vl11
address prefix 2001:470:B0FD:3F02::/64 lifetime 21600 21600
link-address 2001:470:B0FD:3F02::1/64
dns-server 2001:470:20::2
domain-name st1.net
ip address dhcp
gate(config)#
+++++++++++++
where vlan interfaces looks like:
+++++++++++++
gate(config)# do sh ip int brie | i lan
Vlan1 unassigned YES unset administratively down down
Vlan10 192.168.172.1 YES NVRAM up up
Vlan11 192.168.172.17 YES NVRAM up up
Vlan12 192.168.172.49 YES NVRAM up up
Vlan60 192.168.172.33 YES NVRAM up up
Vlan61 192.168.172.41 YES NVRAM administratively down down
Vlan600 192.168.172.249 YES NVRAM up up
Vlan999 unassigned YES unset down down
gate(config)#

+++++++++++++

i'll test tonight.

 

Thank you.

 

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: