Bug 27375 - dhcpcd can`t get IP infos at first attempt
Summary: dhcpcd can`t get IP infos at first attempt
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: dhcpcd   
(Show other bugs)
Version: 7.0
Hardware: i386 Linux
Target Milestone: ---
Assignee: Elliot Lee
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2001-02-13 11:49 UTC by Marc Schmitt
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-07-16 13:32:45 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Marc Schmitt 2001-02-13 11:49:35 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.16-3 i686)

When using dhcpcd only to determine the IP infos (pump can`t set
hostnames), dhcpcd is not able to send a correct dhcp request at the first
I.e. it sends a request with the clientID 00:00:00:00:00:00, instead of the
real MAC address of the NIC.
The problem did not change with the lastest kernel (2.2.17-14) nor with the
latest dhcpcd version (1.3.19pl6-1).
The second attempt will work, resulting in a dhcp request with the correct
MAC address. It looks like the kernel module loader loads the module for
the NIC (3c90x) by the time dhcpcd is called in ifup but then fails to
provide the MAC address to dhcpcd.

Reproducible: Always
Steps to Reproduce:
1. ifdown eth0 ; rmmod 3c90x
2. /sbin/dhcpcd -R -B -H eth0


Actual Results:  dhcp server log: dhcpd: no free leases on network match 00:00:00:00:00:00

On the client: 3Com 3c90x Version 1.0.0i 1999 (linux_drivers@3com.com)
timeout after 60s

Expected Results:  dhcp server log:
dhcpd: DHCPDISCOVER from 00:b0:d0:7b:b6:6c via hme0
dhcpd: DHCPOFFER on to 00:b0:d0:7b:b6:6c via hme0
dhcpd: DHCPREQUEST for from 00:b0:d0:7b:b6:6c via hme0
dhcpd: DHCPACK on to 00:b0:d0:7b:b6:6c via hme0

Interestingly, doing step 2. with pump works w/o any problems.

An easy workaround is to use pump first and dhcpcd the next line.

Comment 1 Bill Nottingham 2001-02-13 23:50:52 UTC
Does it work better if you use the 3c59x driver?

Comment 2 Marc Schmitt 2001-02-14 10:26:43 UTC
Indeed, the problem disappears when using the module 3c59x instead of 3c90x.

Comment 3 Elliot Lee 2001-08-08 05:03:04 UTC
Sounds like already resolved.

Note You need to log in before you can comment on or make changes to this bug.