[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DHCP client problem



David,

I run dhcpdump and get this output at the time when my IP changes (192.168.1.192 is the 'old' address, 192.168.1.2 is the dhcpd):

 TIME: 14:06:30.215030
IP: 192.168.1.192.68 (0:10:a4:f5:63:d6) > 192.168.1.2.67 (0:30:48:10:49:75)
   OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
 HLEN: 6
 HOPS: 0
  XID: affc4578
 SECS: 216
FLAGS: 0
CIADDR: 192.168.1.192
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 00:10:a4:f5:63:d6:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION:  53 (  1) DHCP message type         3 (DHCPREQUEST)
OPTION:  51 (  4) IP address leasetime      600 (10m)
OPTION:  55 (  7) Parameter Request List      1 (Subnet mask)
                                            28 (Broadcast address)
                                             2 (Time offset)
                                             3 (Routers)
                                            15 (Domainname)
                                             6 (DNS server)
                                            12 (Host name)

After this my network link goes down and comes up again with the new address.

Any ideas what would cause the dhcpd to give me a new address instead of assigning the same again?

TIA, Harry


--On Thursday, March 27, 2003 01:20:47 PM +0100 David Fokkema <fokkema@nat.vu.nl> wrote:
On the dhcpd side (which is a RedHat system) I get:

dhcpd: Reclaiming abandoned IP address 192.168.1.198.
dhcpd: Abandoning IP address 192.168.1.198: pinged be fore offer
dhcpd: Reclaiming abandoned IP address 192.168.1.200.

After that, the client gets a new address and everything is fine again,
until the next lease expires. The whole thing repeats every 10 minutes.

Does any1 have a clue or at least wether its a client or a server
problem?

If you install tcpdump and dhcpdump you can do:

	tcpdump -lenx -s 1500 port bootps or port bootpc | dhcpdump

(see man dhcpdump) to get information about all DHCP packets that back and
forth between you and the server. You can see all DISCOVERS, OFFERS,
REQUESTS, ACKs and NAKs. Maybe this might shed some ligth on your problem.



Reply to: