Re: dhclient renewal
On Sat, 07 Jan 2012 12:22:55 -0600, hvw59601 wrote:
> hvw59601 wrote:
>> Camaleón wrote:
>>> On Sat, 07 Jan 2012 10:19:58 -0600, hvw59601 wrote:
>>>
>>>> The 2wire router from ISP Telmex Infinitum (Mexico) went on the blink
>>>> so they gave a new one. It's a Thomson TG585V8.
>>>
>>> Hey, we've got a bunch of TG585v7 (for ISDN lines) :-)
>>>
>>>> One thing that I noticed is that the external IP now changes about
>>>> every hour or so, when the internet goes offline and after a minute
>>>> or so comes online again.
>>>
>>> External (routeable) or internal (local network) IP?
>>>
>>>
>> External IP
Mmm, since when "192.168.1.x" is an external IP? :-)
(...)
>> I see this:
>>
>> DHCP Lease Time: 0 days, 23:59:49
>>
>> but it is not configurable. And then I still see in syslog:
>>
>>
> I take that back, it *is* configurable,
Sure it is, rembember that I'm seeing the same as you :-P
> but 23 hours is fine with me, 1 minute is not.
Let me check my logs... okay, my dhcp client renews the lease every 9
hours although I also have a 24 hours setup in the router. Weird.
> Change it to 12 hours maybe? Would I mess things up? I hate to talk to
> Telmex because then you have to hide the fact that you are running
> Linux and pretend you are Window$ :-(
Your dhcp server (the router) is configured right (it keeps the lease for
almost one day), so maybe is your dhcp client which requests for a lease?
Look at "/etc/dhcp/dhcpclient.conf" file and search for any "lease"
stanza. If it is commented, edit accordingly to enable you can define
there your client settings.
Greetings,
--
Camaleón
Reply to: