LinuxQuestions.org
Visit Jeremy's Blog.
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 07-29-2004, 04:02 PM   #1
kofi
Member
 
Registered: Aug 2002
Location: Atlanta
Distribution: Redhat Linux 7.2 & 7.3 + 8.0
Posts: 59

Rep: Reputation: 15
DHCP Lease Delete!


Hello All,

I did a dumb thing. I have a network of about 50 computers (Win 98 & XP) and my servers are all RHEL 3.0 . I therfore have a DHCP running on one of the Linux Servers.

I decided to reset my IP address range the DHCP server was giving out so I deleted both

/var/lib/dhcp/dhcpd.leases
/var/lib/dhcp/dhcpd.leases~


and since then my network has never been the same. When computers boot up they can't seem to connect to the internet. I have to do a

ipconfig release
ipconfig renew


and then it works ok or I have to assing a static IP address and enter a DNS server address. Funny thing the computers have no problem connecting to the Samba file server The issue seems to be with acessing the DNS Server so they can connect to the internet. I later read that you never edit the lease file manually.

I have since replaced the DHCP server with a new one with a fresh copy of Redhat Enterprise Linux 3.0 and still the same issue continues. Has anyone been through this or does anyone know I can fix this ? Is the anyway to reverse this diumb move?

THanks all for your prompt responses.

Kofi.
 
Old 07-29-2004, 04:20 PM   #2
xtra
LQ Newbie
 
Registered: Jun 2004
Posts: 20

Rep: Reputation: 0
??

I was under the impression that if you do not change dhcpd.conf and restart the dhcpd then all would be fine again...

I'll check it out with a friend of mine and let you know.
 
Old 07-29-2004, 07:00 PM   #3
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Since you've removed all of the leases, your dhcp server is re-assigning leases that it thinks are available. Unfortunately, any machines that got their leases before you reset the server don't know that your server is now giving out duplicates. Try releasing on all of the machines before renewing.
 
  


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 lease unavailable bwilliam79 Linux - Networking 9 01-31-2008 05:37 AM
Cannot obtain DHCP lease TroelsSmit Linux - Newbie 24 06-18-2005 03:32 AM
Renewing DHCP Lease JimKyle Linux - Networking 10 07-18-2004 06:54 PM
Can not get DHCP client lease on startup AlgebraicSpore Linux - Networking 2 06-14-2004 11:16 PM
dhcp - get new IP when lease renewed chrisnewey Linux - Networking 0 03-30-2004 05:41 AM


All times are GMT -5. The time now is 08:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration