Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38983 - dhcpd will not hand out leases to Windows clients
Summary: dhcpd will not hand out leases to Windows clients
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Max Kalika (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-21 22:00 UTC by Victor Lowther
Modified: 2004-02-25 16:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Lowther 2004-01-21 22:00:00 UTC
After configuring dhcpd to hand out leases on my local subnet, my powerbook was able to reliably get a lease while a Windows box on the same segment was not.  After digging around for solutions, found the solution in the ISC DHCP manual -- Windows boxes need a route added on the Linux side for 255.255.255.255.

Reproducible: Always
Steps to Reproduce:
1.  Configure dhcpd and ensure that it is handing out leases to non-Windows clients.
2.  Note that Windows boxes cannot get a lease
3.  Run "/sbin/route add -host 255.255.255.255 dev ethX".
4.  Run "ipconfig /renew" on the Windows box
5.  Note that the Windows box gets a lease.  Rejoice.
Actual Results:  
Windows box got a lease.

Expected Results:  
The init.d control script should take care of adding/deleting the route to whatever device dhcpd is 
running on.
Comment 1 Max Kalika (RETIRED) gentoo-dev 2004-01-22 14:31:53 UTC
Setting up routing is done by the net.ethX scripts.  I serve about 2000 windows machines with dhcp addresses and I've never had to do this.  Do you have a default gateway defined in /etc/conf.d/net?

jimbo root # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
XXX.XXX.XXX.0   *               255.255.255.0   U     0      0        0 eth1
loopback        localhost       255.0.0.0       UG    0      0        0 lo
default         XXX-gw.XXXX.XXX 0.0.0.0         UG    1      0        0 eth1

With this default setup, everything works fine.
Comment 2 Max Kalika (RETIRED) gentoo-dev 2004-02-25 16:48:56 UTC
no feedback in a month.  closing.