You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

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?

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.