RE: DHCP help

From: Tom Martin (tig@wiltecinc.com)
Date: Sat Jul 03 2004 - 19:14:59 GMT-3


Jano,

One thing I notice is that you don't seem to be receiving a DHCPREQUEST from the client. From your debugs, (1) the PC attempts to discover the DHCP servers, (2) your DHCP server sends an offer, then... nothing! At least from the routers perspective, the problem appears to be on the client.

You -should- see a DHCPREQUEST from the PC once it receives the DHCPOFFER, followed by a DHCPACK from the router. Either the PC isn't receiving the DHCPOFFER from the router (firewall or other L2 filtering?) or the router isn't receiving the PCs DHCPREQUEST packet (access-group?).

There could be any number of problems, here's some suggestions:

1. Make sure you don't have a firewall enabled on the PC. Esecially if you're using an older version of ipchains/iptables that doesn't recognize DHCP (the client and server communicate on different UDP ports so a firewall that understands DHCP is required).
2. Make sure that your L2 topology doesn't have any loops which would cause lots of problems. In a lab environment this might only show up as lost packets.
3. Are you sure that the PC NIC works? Perhaps it can't receive packets properly (IRQ problem?). Can you access the router when you set the IP statically?

-- Tom

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
jano@rhox.com.br
Sent: Saturday, July 03, 2004 2:21 PM
To: ccielab@groupstudy.com
Subject: DHCP help

Hi,

My DHCP configuration looks like this:

ip dhcp excluded-address 30.0.3.1 30.0.3.10
!
ip dhcp pool DHCPPOOL
network 30.0.3.0 255.255.255.0
domain-name xyz-corp.com
default-router 30.0.3.10
dns-server 30.0.3.5 30.0.3.6
netbios-name-server 30.0.3.2 30.0.3.4

I enable debug ip dhcp event and packets. When I disable/enable the NIC of
the PC I see these debug messages:
*Mar 1 01:06:05.167: DHCPD: DHCPDISCOVER received from client
0100.5056.00c1.3
on interface FastEthernet0/0.
*Mar 1 01:06:05.167: DHCPD: Sending DHCPOFFER to client 0100.5056.00c1.33
(30.0.3.12).
*Mar 1 01:06:05.171: DHCPD: broadcasting BOOTREPLY to client 0050.5600.c133.

But the PC does not bind to this adress 30.0.3.12. Why isn't DHCP working
and what should I check?

Regards,
Jano



This archive was generated by hypermail 2.1.4 : Sun Aug 01 2004 - 10:11:46 GMT-3