Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux DHCP Problems

Status
Not open for further replies.

spheniscus

Technical User
Feb 24, 2004
2
CH
I'm using Linux (Mandrake 8.0) as my file server on my home network. I use Win98 (Ugh!) on my work Laptop.

My Linux Box is set up as a DHCP server but it takes my Laptop FOREVER to hook in to the network. If I log out of Windows and then let the login screen sit there, say for 15 to 30 minutes, it eventually accepts the DHCP offer from the Linux Box. If I just go ahead and log in on the Win98 machine and let it just give me an error, it never will hook in. Win 98 doesn't seem to be dropping its previously assigned TCP/IP address.

However, if, after actually waiting and getting the Win98 laptop to hook into the Linux network, I later take the laptop to work and hook into our Win 2000 network it immediately hooks in to our DHCP Server.

I've tried tinkering with the dhcpd.conf file, etc. and nothing seems to work. Anyone run into and fix a similar problem?
 
Hi,







You should be able to do 'ipconfig /release_all' from the windows box and then 'ipconfig /renew_all' . Ordinarily, the client would try to do a periodic DHCP renew from the DHCP server - it all depends on the way the server has been configured.
One thing you could do for simplicity is to use the same subnet at home as in your office.






If you still have problems post your /etc/dhcpd.conf file ....







Regards
 
I had a very similar problem with my Win98 hosts taking too long to get a dhcp address from the server. I got around this by assigning a fixed IP address in the dhcpd.conf file for these hosts... I don't have Win98 on them anymore, but when I did, I used to get a definate difference in login times between having a explicitly defined IP and not having one.

try the following in your dhcpd.conf file:

host laptop {
hardware ethernet 00:A0:24:56:D3:79; #Enter the real MAC address on the machine here. winipcfg.exe should display this.
fixed-address 192.168.0.2; # Real IP of the laptop
option host-name "laptop";
} AV
tnedor@yahoo.com

Did this post help? Click below to let me know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top