BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old January 28th, 2005, 04:04 PM
nbarraud nbarraud is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 12 nbarraud User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 23 sec
Reputation Power: 0
Unhappy dhclient stopped trying to get a new lease

Hi,

I have a cable modem with dynamic IP, and a FreeBSD 5.3 server just behind. This server gets its IP with the help of dhclient.

Today I got a huge down because of a problem on the ISP side. During that time, dhclient made his job trying to get a lease every 4 minutes, unsuccessfully of course.

But at 10 AM, after 10 hours of trying to get a lease every 4 minutes (unsuccessfully of course), dhclient completely stopped trying. Thus, when the line came back up, it didn't got its lease. I had to manually tell him to get that new lease...

Why did it stopped trying ? What should I do to tell him to try forever until it can acquire a lease ?

Here is a part of my /var/log/messages :

/* the line went down at midnight. dhclient gets a "fake" IP */
Jan 28 00:00:44 sun dhclient: New IP Address (vr0): 192.168.100.11
Jan 28 00:00:44 sun dhclient: New Subnet Mask (vr0): 255.255.255.0
Jan 28 00:00:44 sun dhclient: New Broadcast Address (vr0): 192.168.100.255

/* 4 minutes later, it retries */
Jan 28 00:04:55 sun dhclient: New IP Address (vr0): 192.168.100.11
Jan 28 00:04:55 sun dhclient: New Subnet Mask (vr0): 255.255.255.0
Jan 28 00:04:55 sun dhclient: New Broadcast Address (vr0): 192.168.100.255

/* [...same thing repeating over and over...] */

/* another time... */
Jan 28 09:57:59 sun dhclient: New IP Address (vr0): 192.168.100.11
Jan 28 09:57:59 sun dhclient: New Subnet Mask (vr0): 255.255.255.0
Jan 28 09:57:59 sun dhclient: New Broadcast Address (vr0): 192.168.100.255

/* the last dhclient-related block.. This time it's a bit different.
** after that block dhclient no more tries anything... */
Jan 28 10:00:45 sun kernel: vr0: Using force reset command.
Jan 28 10:00:45 sun dhclient: New IP Address (vr0): 192.168.100.11
Jan 28 10:00:45 sun dhclient: New Subnet Mask (vr0): 255.255.255.0
Jan 28 10:00:45 sun dhclient: New Broadcast Address (vr0): 192.168.100.255

/* finally I had to restart dhclient to get my "real" IP, once the
** cable came back */
Jan 28 19:34:18 sun kernel: vr0: Using force reset command.
Jan 28 19:34:57 sun dhclient: New IP Address (vr0): 81.66.254.111
Jan 28 19:34:57 sun dhclient: New Subnet Mask (vr0): 255.255.254.0
Jan 28 19:34:57 sun dhclient: New Broadcast Address (vr0): 81.66.255.255
Jan 28 19:34:57 sun dhclient: New Routers: 81.66.254.1

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > dhclient stopped trying to get a new lease


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway