Are you using custom firewall rules of any kind?
Getting DHCP through firewalls can be a bit tricky, as the initial discover/offer/request/acknowledge cycle happens using broadcasts with source IP 0.0.0.0 and destination 255.255.255.255, but renewals have the option of using unicasts instead. If you are not allowing in UDP traffic from the DHCP server to your port 68/UDP, you might be accidentally filtering out the DHCP server's responses to the renewal requests sent by your system.
By superseding the lease/rebinding/renewal times, you're probably just shooting yourself in the foot. Your DHCP client is responsible for sending a lease renewal request after half of the lease time specified by the server has passed. So your dhclient
should be starting to attempt a renewal after 1500 seconds or so from the initial IP allocation. But you've told dhclient
that despite whatever the DHCP server says, dhclient
doesn't have to do that until 2000000 seconds (>23 days) has passed, so the renewals will not happen.
Even if you supersede the lease time values, the DHCP server is not required to honor your modified time values: it can simply ignore the client's suggestion about longer lease times.
If the lease time configured at the DHCP server is 3000 seconds, then after your dhclient
has held the address for 3000 seconds and not sent a renewal request, the DHCP server can release "your" IP address back to the pool of allocatable IP addresses. Depending on the number of clients requesting IP addresses from the DHCP server, it may take a while for "your" IP address to actually get reassigned to someone else, and during that time you may in practice still be able to use that IP address. In your case, it seems to take about 3 hours.
Once the IP actually gets assigned to someone else, then whatever protection against IP hijacking is in effect on your ISP shifts from protecting you to protecting the new holder of the IP address, and you will lose your internet connection as a result.
It might also be some sort of a periodic "cleanup" job in the ISP's infrastructure, disconnecting IP addresses that have been without a valid DHCP lease more than XXXX seconds. If you can get your previous IP address back after 3 hours by disabling & re-enabling your network interface, then this is probably what's happening.