DHCP works for UNIX stations but not for Windows

Glenn Satchell Glenn.Satchell at uniq.com.au
Tue Feb 19 13:39:34 UTC 2008


>Date: Tue, 19 Feb 2008 23:30:39 +0000
>From: Mário Gamito <gamito at gmail.com>
>To: dhcp-users at isc.org
>Subject: DHCP works for UNIX stations but not for Windows
>
>Hi,
>
>I have a DHCP server installed at 192.168.1.2
>I have a DNS server running a .lan domain at the same IP.
>
>I have a web server at 192.168.1.20 and an email server at 192.168.1.4 
>both configured manually.
>
>Only the Window stations get their data from the DHCP server.
>
>When I try to browse www.wwlib.lan from a Windows Machine, I get nothing.
>If I telnet the webserver at port 80 it just hangs, but if I telnet from 
>  the Linux email server, it responds correctly. Yet, wget doesn't work!
>
>Can someone help me, please ?
>
>My dhcpd.conf relevant data follows my signature.
>
>Warm Regards,
>Mário Gamito
>
>--
>
>ddns-update-style none;
>
>authoritative;
>subnet 192.168.1.0 netmask 255.255.255.0  {
>
>         range 192.168.1.31 192.168.1.254;
>
>#       time in seconds
>         default-lease-time 604800;
>         max-lease-time 1209600;
>         option subnet-mask 255.255.255.0;
>         option broadcast-address 192.168.1.255;
>         option routers 192.168.1.1;
>         option domain-name-servers 192.168.1.2;
>         option domain-name "foobar.lan";
>}
>
Hi Mario

On the windows PC open a DOS window and run  ipconfig /all

Do the values returned indicate that the PC got a valid IP address and
other settings corresponding to what is in dhcpd.conf?

What is in the syslog files on the Linux dhcp server in
/var/log/messages ? Does that show a conversation DHCPDISCOVER,
DHCPOFFER, DHCPREQUEST, DHCPACK between the server and the Windows
client?

On the PC can you run   nslookup www.wwlib.lan ?

If you get an IP address back from that, can you run    ping www.wwlib.lan ?

Is the DNS server configured with domain named for foobar.lan, or
wwwlib.lan, or both?

regards,
-glenn


More information about the dhcp-users mailing list