Re: dhclient renewal
On Sat, 07 Jan 2012 12:57:34 -0600, hvw59601 wrote:
> Camaleón wrote:
(...)
>> Mmm, since when "192.168.1.x" is an external IP? :-)
>>
>>
> No, that is internal. My external IP is changed every hour or so:
>
> Jan 7 09:18:41 HDBB ddclient[1730]: SUCCESS: updating esquipulas-index.dyndns.org: good: IP address set to 189.188.156.182
> Jan 7 09:44:10 HDBB ddclient[1730]: SUCCESS: updating esquipulas-index.dyndns.org: good: IP address set to 189.188.159.254
> Jan 7 10:59:15 HDBB ddclient[1730]: SUCCESS: updating esquipulas-index.dyndns.org: good: IP address set to 187.136.115.174
> Jan 7 11:54:28 HDBB ddclient[1730]: SUCCESS: updating esquipulas-index.dyndns.org: good: IP address set to 187.136.114.47
Mmm, you're using DynDNS...
> Since I got on around 8AM, it is now 1PM, 5 hours, 4 changes.
But the external IP your ISP "assigns" to the WAN interface of your
router has nothing to do with the internal IP your routers "assings" to
the 4 LAN ports (you) :-)
Anyway, query your ISP about this because is not normal (at least not for
my provider) to have the remote IP changing every hour :-?
>> 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.
>>
>>
> That's all commented out. Let me play with it. My feeling is that the
> short lease times for both devices have to do with the external IP
> changes.
It should not be related at all. Look, my external IP remains the same
even when I power cycle the router, but the local DHCP lease is set to be
renewed every 9 hours.
I would try by enforcing the local lease time renew from the client side
(i.e., your debian computer).
Greetings,
--
Camaleón
Reply to: