Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 877 not issuing DHCP addresses

Status
Not open for further replies.

woter324

Technical User
Jan 26, 2007
179
GB
Hi,

I have the strangest thing. I uploaded our standard config to an 877 via TFTP using "copy tftp starup-config --> reload"

The 877 was configured for another site enabled with DHCP. I got an address from the router to use TFTP. I didn't do anything to the old running-config.

Now my router will not lease my client an IP address. I can assign my client a static IP address and I can connect.

I did a write erase --> reload and just entered the minimal configuration for DHCP, which is:

Code:
no ip dhcp use vrf connected
!
ip dhcp pool CLIENT
   network 10.200.58.208 255.255.255.240
   default-router 10.200.58.209
   dns-server 10.100.90.3 10.100.90.11


interface Vlan1
 ip address 10.200.58.209 255.255.255.240
 ip virtual-reassembly
 ip tcp adjust-mss 1452
!

I've loaded the latest IOS image onto this router. DHCP will just not work. I've tried XP and Win7 clients and even different network cables.

What is more, I have attempted the same config (using TFTP) on another C877, again with the exact same issue.

Is there some sort of 'cotcha' when is comes to building 877's via TFTP? I've built many of these devices in the past, using copy n' paste. TFTP was supposed to be a quicker way forward.

Many thanks for any help in this matter.



 
I've just reloaded the config from a live site and the DHCP leasing works. Therefore there has to be something wrong in the config. (But what!!).

I've turned on DHCP debuging:

Code:
 *Dec 21 11:17:47.158: DHCPD: Sending notification of DISCOVER:
*Dec 21 11:17:47.158:   DHCPD: htype 1 chaddr 0024.814e.174c
*Dec 21 11:17:47.158:   DHCPD: remote id 020a00000ac83ad100000001
*Dec 21 11:17:47.158:   DHCPD: circuit id 00000000
*Dec 21 11:17:47.158: DHCPD: DHCPDISCOVER received from client 0100.2481.4e17.4c on interface Vlan1.
*Dec 21 11:17:47.158: DHCPD: Seeing if there is an internally specified pool class:
*Dec 21 11:17:47.158:   DHCPD: htype 1 chaddr 0024.814e.174c
*Dec 21 11:17:4
MS877#7.158:   DHCPD: remote id 020a00000ac83ad100000001
*Dec 21 11:17:47.158:   DHCPD: circuit id 00000000
*Dec 21 11:17:47.158: DHCPD: Allocate an address without class information (10.200.58.208)
*Dec 21 11:17:47.158: DHCPD: subnet [10.200.58.209,10.200.58.222] in address pool CLIENT is empty.
MS877#
*Dec 21 11:17:50.029: DHCPD: Sending notification of DISCOVER:
*Dec 21 11:17:50.029:   DHCPD: htype 1 chaddr 0024.814e.174c
*Dec 21 11:17:50.029:   DHCPD: remote id 020a00000ac83ad100000001
*Dec 21 11:17:50.029:   DHCPD: circuit id 00000000
*Dec 21 11:17:50.029: DHCPD: DHCPDISCOVER received from client 0100.2481.4e17.4c on interface Vlan1.
*Dec 21 11:17:50.029: DHCPD: Seeing if there is an internally specified pool class:
*Dec 21 11:17:50.029:   DHCPD: htype 1 chaddr 0024.814e.174c
*Dec 21 11:17:5
MS877#0.029:   DHCPD: remote id 020a00000ac83ad100000001
*Dec 21 11:17:50.029:   DHCPD: circuit id 00000000
*Dec 21 11:17:50.029: DHCPD: Allocate an address without class information (10.200.58.208)
*Dec 21 11:17:50.029: DHCPD: subnet [10.200.58.209,10.200.58.222] in address pool CLIENT is empty.

I'm no expert, but there's nothing in the above that looks wrong.

Any ideas?

Many thanks
 
Strange. It now works. I put in the details of a different network based on 10.100.50.0/24 for DHCP and the vlan1 interface. That worked, so I put back the details for the correct network:
1. no ip dhcp exclude-address...
2. interface vlan1 --> no ip address... --> ip address...
3. configured DHCP
4. ip dhcp exclude-address...

It worked. How strange is that??

On my win 7 box, I did re-ran the command:
Code:
C:\>netsh firewall set opmode disable
However, I've already run this and when I plugged in the router with it's original config, then I shouldn't have got an address. Also as the netsh command stats, the "Windows Firewall" service is disabled.

The only other change was:
Code:
from:
ip dhcp excluded-address 10.200.58.209 10.200.58.21[attn]1[/attn]

to:
ip dhcp excluded-address 10.200.58.209 10.200.58.21[attn]2[/attn]

I find it very hard to believe that was the cause.

Many thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top