cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

274
Views
0
Helpful
9
Replies
Highlighted
Beginner

DHCP Issue with ISR 2821

Hi all ,

 

sorry if i am not in the right category.

I have a great issue with only ONE Client in dhcp.

Everything works finde except i get a Receiver for Internet TV from provider. As i connect it ..i can see the discover etc ..but then i have debugged that the dhcp send a nack because of an entry in the bindings should exist for this device?!

Everything looks normal also there is a right arp entry..but the the dhcp send a nack

Also tested to manually set it with identifier or mac.. then it takes the next free ip and the same as above ..

anyone can help ?

 

 

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
VIP Mentor

Re: DHCP Issue with ISR 2821

Hello,

 

try and temporarily disable the verify ping from the server:

 


Router(config)#ip dhcp ping packets 0

 

Does the correct IP address get assigned now ?

View solution in original post

9 REPLIES 9
Highlighted
Collaborator
Collaborator

Re: DHCP Issue with ISR 2821

try clearing arp and dhcp bindings

any conflict with ip already in dhcp bindings?

can you share the dhcp debug and dhcp pool config?

Highlighted
Beginner

Re: DHCP Issue with ISR 2821

Hi and thanks first.

 

i cleared both - same issue.

I set it manually

192.168.x.189       ac6f.bb88.3cbf          Infinite                Manual

and then the message in debug is:

Jun 20 19:32:09.027: DHCPD: client's VPN is .
Jun 20 19:32:09.027: DHCPD: No option 125
Jun 20 19:32:09.027: DHCPD: DHCPREQUEST received from client 01ac.6fbb.883c.bf.
Jun 20 19:32:09.027: DHCPD: requested address 192.168.x.189 belongs to some other client.
Jun 20 19:32:09.027: DHCPD: Sending notification of ASSIGNMENT FAILURE:
Jun 20 19:32:09.027:   DHCPD: htype 1 chaddr ac6f.bb88.3cbf
Jun 20 19:32:09.027:   DHCPD: remote id 020a0000c0a8020201000001
Jun 20 19:32:09.027:   DHCPD: circuit id 00000000
Jun 20 19:32:09.027: DHCPD: Sending notification of ASSIGNMENT_FAILURE:
Jun 20 19:32:09.027:  DHCPD: due to: Reason with no text explanation
MAD#
Jun 20 19:32:09.027:   DHCPD: htype 1 chaddr ac6f.bb88.3cbf
Jun 20 19:32:09.027:   DHCPD: remote id 020a0000c0a8020201000001
Jun 20 19:32:09.027:   DHCPD: circuit id 00000000
Jun 20 19:32:09.027: DHCPD: Sending DHCPNAK to client 01ac.6fbb.883c.bf.
Jun 20 19:32:09.027: DHCPD: no option 125
Jun 20 19:32:09.027: DHCPD: broadcasting BOOTREPLY to client ac6f.bb88.3cbf.

After that the binding entry is for me correct with mac there

also in the arp table

Internet  192.168.x.189           7   ac6f.bb88.3cbf  ARPA

the configs are :

ip dhcp pool local
 network 192.168.x.0 255.255.255.0
 default-router 192.168.x.2
 dns-server 192.168.x.2
 domain-name test.internal

and

ip dhcp pool homestatic
 host 192.168.x.189 255.255.255.0
 hardware-address ac6f.bb88.3cbf
 client-name mr401

i tested also with identifier an 01 prefix to the mac. same issue

ip dhcp excluded-address 192.168.x.180 192.168.x.254

also checked within the dhcp range ..same answer:

belongs to some other client but the mac is identity

 

any clues?

Highlighted
VIP Mentor

Re: DHCP Issue with ISR 2821

 

here is the guidelines : ( check my example try and let us know)

 

Example: Configuring Manual Bindings

The following example shows how to create a manual binding for a client named example1.abc.com that sends a client identifier in the DHCP packet. The MAC address of the client is 02c7.f800.0422 and the IP address of the client is 172.16.2.254.

ip dhcp pool pool1 
 host 172.16.2.254 
 client-identifier  01b7.0813.8811.66
 client-name example1

The following example shows how to create a manual binding for a client named example2.abc.com that does not send a client identifier in the DHCP packet. The MAC address of the client is 02c7.f800.0422 and the IP address of the client is 172.16.2.253.

ip dhcp pool pool2 
 host 172.16.2.253 
 hardware-address 02c7.f800.0422 ethernet
 client-name example1

Because attributes are inherited, the two preceding configurations are equivalent to the following:

ip dhcp pool pool1 
 host 172.16.2.254 255.255.255.0 
 hardware-address 02c7.f800.0422 ieee802
 client-name client1
 default-router 172.16.2.100 172.16.2.101 
 domain-name abc.com
 dns-server 172.16.1.102 172.16.2.102
 netbios-name-server 172.16.1.103 172.16.2.103
 netbios-node-type h-node

 

So example you can try below options :

 

ip dhcp pool homestatic
 host 192.168.x.189 
 hardware-address ac6f.bb88.3cbf  ethernet  (or ieee802 - old syntax)
client-name mr401

 

 

BB
*** Rate All Helpful Responses ***
Highlighted
Beginner

Re: DHCP Issue with ISR 2821

Hi and thanks

but it also not work..same issue

 

Jun 21 14:07:18.639: DHCPD: Seeing if there is an internally specified pool class:
Jun 21 14:07:18.639:   DHCPD: htype 1 chaddr ac6f.bb88.3cbf
Jun 21 14:07:18.639:   DHCPD: remote id 020a0000c0a8020201000001
Jun 21 14:07:18.639:   DHCPD: circuit id 00000000
Jun 21 14:07:18.639: DHCPD: Found Manual/Static binding
Jun 21 14:07:18.639: DHCPD: Sending DHCPOFFER to client ac6f.bb88.3cbf (192.168.x.189).
Jun 21 14:07:18.639: DHCPD: child  pool: 192.168.x.189 / 255.255.255.0 (homestatic)
Jun 21 14:07:18.639: DHCPD: parent pool: 192.168.x.0 / 255.255.255.0 (local)
Jun 21 14:07:18.639: DHCPD: child  pool: 192.168.x.0 / 255.255.255.0 (local)
Jun 21 14:07:18.639: DHCPD: pool local has no parent.
Jun 21 14:07:18.639: DHCPD: child  pool: 192.168.x.189 / 255.255.255.0 (homestatic)
Jun 21 14:07:18.639: DHCPD: parent pool: 192.168.x.0 / 255.255.255.0 (local)
Jun 21 14:07:18.639: DHCPD: child  pool: 192.168.x.0 / 255.255.255.0 (local)
Jun 21 14:07:18.639: DHCPD: pool local has no parent.
Jun 21 14:07:18.639: DHCPD: child  pool: 192.168.x.189 / 255.255.255.0 (homestatic)
Jun 21 14:07:18.639: DHCPD: parent pool: 192.168.x.0 / 255.255.255.0 (local)
Jun 21 14:07:18.639: DHCPD: child  pool: 192.168.x.0 / 255.255.255.0 (local)
Jun 21 14:07:18.639: DHCPD: pool local has no parent.
Jun 21 14:07:18.639: DHCPD: no option 125
Jun 21 14:07:18.639: DHCPD: creating ARP entry (192.168.x.189, ac6f.bb88.3cbf, vrf default).
Jun 21 14:07:18.639: DHCPD: unicasting BOOTREPLY to client ac6f.bb88.3cbf (192.168.x.189).
Jun 21 14:07:18.655: DHCPD: client's VPN is .
Jun 21 14:07:18.655: DHCPD: No option 125
Jun 21 14:07:18.655: DHCPD: DHCPREQUEST received from client 01ac.6fbb.883c.bf.
Jun 21 14:07:18.655: DHCPD: requested address 192.168.x.189 belongs to some other client.
Jun 21 14:07:18.655: DHCPD: Sending notification of ASSIGNMENT FAILURE:
Jun 21 14:07:18.655:   DHCPD: htype 1 chaddr ac6f.bb88.3cbf
Jun 21 14:07:18.655:   DHCPD: remote id 020a0000c0a8020201000001
Jun 21 14:07:18.655:   DHCPD: circuit id 00000000
Jun 21 14:07:18.655: DHCPD: Sending notification of ASSIGNMENT_FAILURE:
Jun 21 14:07:18.655:  DHCPD: due to: Reason with no text explanation
MAD#
Jun 21 14:07:18.655:   DHCPD: htype 1 chaddr ac6f.bb88.3cbf
Jun 21 14:07:18.655:   DHCPD: remote id 020a0000c0a8020201000001
Jun 21 14:07:18.655:   DHCPD: circuit id 00000000
Jun 21 14:07:18.655: DHCPD: Sending DHCPNAK to client 01ac.6fbb.883c.bf.
Jun 21 14:07:18.655: DHCPD: no option 125
Jun 21 14:07:18.655: DHCPD: broadcasting BOOTREPLY to client ac6f.bb88.3cbf.

 

i asked myself why everything works fine with dhcp except these receivers types

i also checked from the same interface some other clients and it worked fine so i don´t know what is the problem there.

any clues?

 

Highlighted
Collaborator
Collaborator

Re: DHCP Issue with ISR 2821

requested address 192.168.x.189 belongs to some other client

but as you say there is no other client .. strange .. cant see anything obvious .. 

cant you please test with client-identifier .. 

ip dhcp pool homestatic
 host 192.168.x.189 255.255.255.0
client-identifier
ac6f.bb88.3cbf
client-name mr401

and 

 client-identifier 01ac.6fbb.883c.bf

can you test with an ip that is not in the excluded range?

think .. if you exclude address and put a manual binding it won't work.

 

Highlighted
Beginner

Re: DHCP Issue with ISR 2821

hi thank you

 

i checked that earlier .. same issue. That is my problem ..there is no duplicate adress , It seems like the dhcp makes everything right and think an ack is already done but it isnt. Then the discover comes again and then for shure dhcp says already there .

have no time to check next few weeks .. thank you perhaps i will reopen#

Highlighted
VIP Mentor

Re: DHCP Issue with ISR 2821

Hello,

 

try and temporarily disable the verify ping from the server:

 


Router(config)#ip dhcp ping packets 0

 

Does the correct IP address get assigned now ?

View solution in original post

Highlighted
Beginner

Re: DHCP Issue with ISR 2821

thanks first

i will check it ,,but unfortunatley i have to go in hospital ..so i will check it asap as i am back.

for this reason i changed the router to a another router(not cisco)  and there it works without issues immediately,

strange

 

perhaps a bug or the ios too old?

greets

 

Highlighted
Collaborator
Collaborator

Re: DHCP Issue with ISR 2821

You shouldnt really disable the ping to dhcp pool addresses before assignment... but if it works for you .. 

Hope you understand the implication of the command...

Surely the real issue is that the ip for the server is in excluded addresses and in static binding.. thats why it doesn't get ip