Bug 13177

Summary: Win95 client can't obtain IP address from DHCP server
Product: [Retired] Red Hat Linux Reporter: Wouter Liefting <liefting>
Component: dhcpAssignee: Erik Troan <ewt>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-06-28 15:21:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Saved trace from ethereal none

Description Wouter Liefting 2000-06-28 15:18:26 UTC
At our site we were using vanilla Red Hat 6.0 on our DHCP servers. No 
problem at all. We recently upgraded the hardware and upgraded to RH6.2,
and suddenly all Win95 clients can't obtain IP addresses anymore.

I read the documentation in /usr/doc/dhcp*/README about Linux broadcasts 
and as it turns out, this is indeed the problem:
Red Hat 6.0 sends the DHCPOFFER to the broadcast MAC address 
(ff:ff:ff:ff:ff:ff) and the broadcast IP address (255.255.255.255), while 
Red Hat 6.2 sends the DHCPOFFER to the client MAC address and client IP 
address (but the client doesn't have an IP address yet...!)

This is all confirmed by a network trace which I'd rather not include here 
(pretty big), but I can mail it to someone on request.

I have tried setting the following routes, apart and simultaneously, 
before and after starting the dhcpd daemon, but no luck:
route add -host 255.255.255.255 dev eth0
route add -net 255.255.255.0 netmask 255.255.255.0 dev eth0

Windows NT workstation does not give any problems so far.

Comment 1 Wouter Liefting 2000-06-28 15:21:09 UTC
Created attachment 802 [details]
Saved trace from ethereal

Comment 2 Wouter Liefting 2000-06-30 14:28:12 UTC
After more testing, it turns out that the offending Win95 PC's are all on Token
Ring, while the Red Hat servers are on Ethernet. If I move an offending Win95 PC
to Ethernet, everything works fine (without any configuration change or software
change.) The problem therefore is not in Red Hat Linux, but in Windows or in the
Ethernet-to-Token Ring bridge.

Careful reading of the DHCP RFC's confirms that the Red Hat 6.2 behaviour of
sending the DHCPOFFER to the clients MAC address and proposed clients IP address
is correct.

I probably need to upload this bug to bugzilla.microsoft.com... :-(