cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1684
Views
10
Helpful
8
Replies

dhcp is slow to deliver IP

arodriguez_47
Level 1
Level 1

Good morning, I have a problem with my ISR 4221 Router.

Cisco IOS XE Software, Version 16.12.03
Cisco IOS Software [Gibraltar], ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9_IAS-M), Version 16.12.3, RELEASE SOFTWARE (fc5)

when delivering ip addresses by dhcp, they take between 40 and 49 seconds.
Is there a way to decrease this? in other routers it gives it to me to the second

 

this log gives me after 40 seconds

 

Nov 16 12:26:54.899: DHCPD: Reload workspace interface GigabitEthernet0/0/0.10 tableid 0.
Nov 16 12:26:54.900: DHCPD: tableid for 192.168.1.1 on GigabitEthernet0/0/0.10 is 0
Nov 16 12:26:54.900: DHCPD: client's VPN is .
Nov 16 12:26:54.900: DHCPD: No option 125
Nov 16 12:26:54.900: DHCPD: Option 125 not present in the msg.
Nov 16 12:26:54.900: Option 82 not present
Nov 16 12:26:54.900: Option 82 not present
Nov 16 12:26:54.900: DHCPD: Option 125 not present in the msg.
Nov 16 12:26:54.900: DHCPD: Sending notification of DISCOVER:
Nov 16 12:26:54.900: DHCPD: htype 1 chaddr d037.4543.86a3
Nov 16 12:26:54.900: DHCPD: remote id 020a0000c0a801010000000a
Nov 16 12:26:54.900: DHCPD: interface = GigabitEthernet0/0/0.10
Nov 16 12:26:54.900: DHCPD: class id 4d53465420352e30
Nov 16 12:26:54.900: DHCPD: DHCPDISCOVER received from client 01d0.3745.4386.a3 on interface GigabitEthernet0/0/0.10.
Nov 16 12:26:54.900: DHCPD: Option 125 not present in the msg.
Nov 16 12:26:54.900: Option 82 not present
Nov 16 12:26:54.900: Option 82 not present
Nov 16 12:26:54.900: DHCPD: Option 125 not present in the msg.
Nov 16 12:26:54.900: DHCPD: Sending notification of DISCOVER:
Nov 16 12:26:54.900: DHCPD: htype 1 chaddr d037.4543.86a3
Nov 16 12:26:54.900: DHCPD: remote id 020a0000c0a801010000000a
Nov 16 12:26:54.900: DHCPD: interface = GigabitEthernet0/0/0.10
Nov 16 12:26:54.900: DHCPD: class id 4d53465420352e30
Nov 16 12:26:54.901: DHCPD: FSM state change INVALID
Nov 16 12:26:54.901: DHCPD: Workspace state changed from INIT to INVALID
Nov 16 12:26:54.901: DHCPD: Found previous server binding
Nov 16 12:26:54.901: DHCPD: Sending DHCPOFFER to client 01d0.3745.4386.a3 (192.168.1.4).DHCPD: Setting only requested parameters

 

 

regards

8 Replies 8

Hello,

 

post the running configuration of your ISR 4221 router...

Hi Georg 

 

ip name-server 190.196.70.131
ip domain name asdf.cl
ip dhcp-client forcerenew
ip dhcp excluded-address 192.168.1.170
ip dhcp excluded-address 192.168.1.117
ip dhcp excluded-address 192.168.1.100 192.168.1.132
ip dhcp excluded-address 192.168.1.134 192.168.1.138
ip dhcp excluded-address 192.168.1.140 192.168.1.143
ip dhcp excluded-address 192.168.1.155
ip dhcp excluded-address 192.168.1.159 192.168.1.160
ip dhcp excluded-address 192.168.1.150 192.168.1.159
ip dhcp excluded-address 192.168.8.1
ip dhcp excluded-address 192.168.1.242 192.168.1.255
ip dhcp excluded-address 192.168.88.1
ip dhcp excluded-address 172.17.17.1
ip dhcp excluded-address 192.168.2.1
ip dhcp excluded-address 192.168.87.1
ip dhcp excluded-address 192.168.97.1
ip dhcp excluded-address 192.168.97.11
!
ip dhcp pool dhcppool
network 192.168.1.0 255.255.255.0
dns-server 190.196.70.131
default-router 192.168.1.1
domain-name asdf.cl
!
ip dhcp pool BARRAZAPHONE_MAC
client-identifier 016c.c26b.0bc6.0d
default-router 192.168.1.1
dns-server 190.196.70.131
!
ip dhcp pool JLZ_WIFI
host 192.168.1.20 255.255.255.0
client-identifier 01b8.e856.0a28.ea
default-router 192.168.1.1
dns-server 190.196.70.131
!
iinterface GigabitEthernet0/0/0
description LAN_INTERNAS
no ip address
speed 100
no negotiation auto
!
interface GigabitEthernet0/0/0.2
description "RED VOZ"
encapsulation dot1Q 2
ip address 192.168.2.1 255.255.255.0
no cdp enable
!
interface GigabitEthernet0/0/0.10
description LAN OPS$ETH-LAN$
encapsulation dot1Q 10
ip address 192.168.1.1 255.255.255.0
ip nat inside
no cdp enable
!

 

Regards

balaji.bandi
Hall of Fame
Hall of Fame

how is the user connected ? how is your topology?

 

router--switch---user ? then looks like you need to configure on switchport portfast to minimize the delay.

 

or is the users from VPN ?

 

BB

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

How to Ask The Cisco Community for Help

Hi Balaji

I am connected to a switch that goes directly to the router portfast is activated and the same thing happens. I connect a 2901 router with the same settings and the dhcp works out of the box.

 

regards

Hello,

 

actually, it would be good to see the entire running configuration (sh run)...

 

Either way, what happens if you stop/start the dhcp service ?

 

4221(config)#no service dhcp

4221(config)#service dhcp

Hello

Wha tis the switch doing?

Does it have any security polices applied to it, check for physcal errors on the switch interaces, cabling etc.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hello
The wiring is ok, when I replace the isr 4221 with a 2901 router, the dhcp works without problems

regards

 I connect a 2901 router with the same settings and the dhcp works out of the box.

You mean instead of "ISR 4221 Router."  it works as expected  when you use in place of 4221 with 2901 router ?

 

Do you mind share full ISR 4221 Router. config here

BB

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

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card