LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-16-2002, 02:11 PM   #1
lgetsche
LQ Newbie
 
Registered: Jun 2002
Location: Denver, CO
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
dhcp server works for win2000, not win95 machines


Hello all. I setup my slackware (2.2.17 kernel) system to act as a dhcp server (DHCP Server 2.0pl5) on my network. The dhcpd.conf file wasn't hard to setup when I followed the (tldp.org) howto file.

My windows 2000 server obtained an address the 1st time it requested it. I've been able to reserve it an address that it gets assigned too after I released/renewed it.

My 2 Windows 95 clients machines (both ver. 4.00.950) can't get ANY address from the linux server though. The /var/log/messages file shows the client requesting an address, and it appears that the server is offering an address.

This is repeated 3 times in the messages file as:
------------
Aug 15 17:25:08 batcave dhcpd: DHCPDISCOVER from 00:00:86:12:75:6c via eth0
Aug 15 17:25:18 batcave dhcpd: DHCPOFFER on 192.168.238.203 to 00:00:86:12:75:6c via eth0
Aug 15 17:29:19 batcave last message repeated 3 times
------------
(yes, that is the mac of the win95 machine)

I have similar lines for the reserved address I tried earlier in my testing.

On 2 different win95 machines they both say that they couldn't obtain an address from the dhcp server.

I did clip a couple of /etc/sbin/named messages from between those message lines for clarity. I'm now trying to get dns working, the dhcp was working for almost 2 weeks before I found this win95 issue, since I only checked the dhcp with the win2000 server initially.

Any suggestions to try now?
(Searching the forum didn't turn up anything along these issues.)
 
Old 08-16-2002, 03:35 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Try this:
route add -host 255.255.255.255 dev eth0
(W95 DHCP client needs DHCP using 255.255.255.255 broadcast).
Edit: forgot to add, change eth0 to the interface your clients are connected to.

Last edited by Mara; 08-16-2002 at 03:36 PM.
 
Old 08-16-2002, 05:41 PM   #3
lgetsche
LQ Newbie
 
Registered: Jun 2002
Location: Denver, CO
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
That worked!
HOWEVER, since the howto said to do the same thing (which I DID do once before), my question is:
How often do I need to do this? Is this something I should add to my /etc/rc.d/rc.local so it happens along with the dhcpd startup? Or should the route information be kept from one reboot to the next?
Thanks so much Mara!
 
Old 08-17-2002, 09:05 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It should be permanent. If your system is not keeping the setting, add it to /etc/rc.d/rc.local

Last edited by Mara; 08-17-2002 at 09:06 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcp and multiple machines xthel Linux - Networking 7 06-16-2004 08:32 PM
How do machines see each other by name with a hardware DHCP server? ericcarlson Linux - Networking 1 06-07-2004 09:09 AM
Samba works with win95 but not ME blainehilton Linux - Networking 8 07-24-2003 05:48 AM
win2000 clients under redhat router/dhcp estranged0877 Linux - Networking 5 02-11-2003 01:12 PM
5 DHCP addresses and 7 machines GAVollink Linux - Networking 2 01-25-2003 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration