Networking Forums

Networking Forums > Computer Networking > Linux Networking > newbie - client not replying to DHCPOFFER

Reply
Thread Tools Display Modes

newbie - client not replying to DHCPOFFER

 
 
michael melling
Guest
Posts: n/a

 
      08-06-2004, 02:49 PM
hi there,

I did write earlier about my dhcp woes. I guess my message was far too
long-winded. So i will cut straight to the heart of the problem.

My windows98 client will not respond to the DHCPOFFER from my linux
server. The log just says nothing after the DHCPDISCOVER and
DHCPOFFER message and my windows winipcfg states that a DHCP server
cannot be found.

I have tested the connection successfully with a static IP address on
the windows client and the firewall is disabled when i try with dhcpd.

I am totally at a lost

Any ideas?

kind regards,

Mike
 
Reply With Quote
 
 
 
 
P Gentry
Guest
Posts: n/a

 
      08-06-2004, 09:59 PM
(E-Mail Removed) (michael melling) wrote in message news:<(E-Mail Removed). com>...
> hi there,
>
> I did write earlier about my dhcp woes. I guess my message was far too
> long-winded. So i will cut straight to the heart of the problem.
>
> My windows98 client will not respond to the DHCPOFFER from my linux
> server. The log just says nothing after the DHCPDISCOVER and
> DHCPOFFER message and my windows winipcfg states that a DHCP server
> cannot be found.
>
> I have tested the connection successfully with a static IP address on
> the windows client and the firewall is disabled when i try with dhcpd.
>
> I am totally at a lost
>
> Any ideas?
>
> kind regards,
>
> Mike


Did see your earlier post -- it was not too long winded, rather not
winded enough.

Log files/messages are OK as a first go, but you'll almost always need
to give info from _both_ the server and the client such as nic config
params, IPs and subnets, indications that you have tried to confirm
basic network settings / performance / hardware.

You did a pretty good job -- so don't despair. It's always handy to
have a sniffer handy to watch what is "really" on the wire -- this is
where logs are insufficient. I use Ethereal since it's free and runs
well on both Linux and Windows. This way you can actually watch what
is being sent out on the network as requests and responses.

In your case, I had to double check my notes (not available) then the
Networking HOWTO. (BTW every one with Linux should have a full set of
the HOWTOs for reference.) From this:
http://www.tldp.org/HOWTO/Net-HOWTO/x1444.html
I found this (which had eluded my memory):
[quote]
Edit your /etc/rc.d/rc.local to reflect an addition of a route for
255.255.255.255.

Quoted from DHCPd README:
In order for dhcpd to work correctly with picky DHCP clients (e.g.,
Windows 95), it must be able to send packets with an IP destination
address of 255.255.255.255. Unfortunately, Linux insists on changing
255.255.255.255 into the local subnet broadcast address (in this case,
the address would be 192.5.5.223). This results in a DHCP protocol
violation. While many DHCP clients don't notice the problem, some
(e.g., all Microsoft DHCP clients) will recognize the violation.
___Clients that have this problem will appear not to see DHCPOFFER
messages from the server.___ (emphasis added)
[end quote]

There are several more lines for how you might fix this. Check it
out. Off hand I believe this is still a problem with RH9. The
sniffer (on the client) will tell you explicitly what the win client
is requesting, what the RH9 dhcpd to returning, and what (if anything)
the win client is sending back (eg., huhh? what's that?).

It's been a while since I've futzed around with this stuff, so I'll
have to reacquaint myself to be of much help. Anyway, you can find
Ethereal here:
http://www.ethereal.com/distribution/win32/
and note that you will need winpcap also.

Ethereal may seem daunting at first, but all you will need to do is to
have it record everthing to a capture file. To get Windows to send a
request to observe, with winipcfg, check your basic network settings,
release all then renew (I believe -- I'm in Linux now, so can't
readily check the exact buttons). You can easily have ethereal
display this in real time if you want to watch.

This should get you started. If you need more help, be prepared to
post your dhcpd.conf in toto, output of ifconfig and confirmatory
output of ping and traceroute when the win client is assigned a static
IP. Hopefully, the HOWTO suggestion works and that's all that's
needed.

hth,
prg
email above disabled
 
Reply With Quote
 
michael melling
Guest
Posts: n/a

 
      08-10-2004, 07:52 PM
Thanks very much for the detailed and helpful answer. It inspired on
to look for the solution.

I did use ethereal to capture packets on the client and it was
receiving a DHCPOFFER. I went back to basics and noticed I had set the
wrong ipaddress for the option router in settings. This is what caused
all the pain. I reset my dhcpd.conf and low and behold everything is
working swimmingly well now. Basic error – my fault.

Also I browsed in the ISC Mailing List Archives and I noticed an
answer which stated
"It _should_ not be necessary with kernels 2.2.X to define a route for
255.255.255.255." - However I did so anyway.

cheers

michael.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie: Open vpn with more than one client Unruh Linux Networking 0 10-08-2007 03:11 PM
Chuck, I'm replying xtrememjy Wireless Networks 0 06-20-2005 04:48 PM
newbie dhcp problems - linux server windows client michael melling Linux Networking 1 08-05-2004 02:25 PM
DHCPD Windows XP DHCPOFFER no DHCPREQUEST Bernard Hoffman Linux Networking 2 05-27-2004 01:07 AM
Peer-to-Peer or Client/Server? Newbie needs your advice! Okely Dokely Wireless Internet 1 08-12-2003 03:02 PM



1 2 3 4 5 6 7 8 9 10 11