Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-06-2002, 08:30 AM
|
#1
|
LQ Newbie
Registered: Apr 2002
Posts: 1
Rep:
|
DHCP client fails to renew lease
Keep in mind when reading and answering to this thread that I'm a total newbie :-)
Okay, on to my problem: My RedHat 7.2 box gets its IP just fine from the DHCP server, but when the lease expires I have to manually get a new one using ifup. The lease time is 1 hour, so it goes without saying that this is extremely annoying. Computers running different flavors of Windows do not have this problem.
What I'm wondering is if this is a configuration problem with my box or if it's a DHCP server problem. I don't know what kind of OS the server is running, it is out of my hands, and the administrator doesn't appear to be too good at what he does (it's a DHCP server for the students on campus, and the administrator is also a student), so all I can do for now is either look for problems on my own computer or get some answers from you guys as to what might be the problem with the DHCP server and relay that information to the guy who's in charge.
Edit: forgot to mention that ifup works every time, and I don't actually get a new IP, I get the same one as before, it just won't happen automagically like it's supposed to.
Last edited by NiPNi; 04-06-2002 at 08:38 AM.
|
|
|
04-06-2002, 05:43 PM
|
#2
|
Member
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141
Rep:
|
I'm not too sure I can help you, but..
The DHCP client requests a lease renewal at 1/2 lease time. So, in your case, your system should as for a renewal every 30 minutes. As I see it, either one of two things are happening. Either the DHCP server is not honoring the renewal, or your system is not requesting the renewal. Which DHCP client are you using, dhcpclient, dhcpcd, pump or ? -mk
|
|
|
04-06-2002, 06:01 PM
|
#3
|
LQ Guru
Registered: Aug 2001
Location: London, UK
Distribution: Slackware
Posts: 5,700
Rep:
|
The dhcp client daemon, dhcpcd, can be invoked from the command line. Since this is doing something weird and wiggy, I think the best way to tackle it maybe to get the lease using the dhcpcd and check the man page on it for the verbose logging option so you can just re-direct all of the mess to a log file for the duration. When the lease next kills itself off, you can tail the log to see what went kazoo.
Luck,
Finegan
|
|
|
All times are GMT -5. The time now is 01:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|