OT - DHCP oddity

Charles Curley charlescurley at charlescurley.com
Sat Jun 14 09:42:16 MDT 2008

On Sat, Jun 14, 2008 at 09:14:19AM -0600, Hans Fugal wrote:
> Did you restart the dhcp server?


> Check the leases and see if you've waited long enough.


default-lease-time 43200; # 12 hours
max-lease-time 86400;	  # 24 hours

I waited about 5 days. I also watched the client leases file, and all
of the leases there showed the new "routers" entry.

> A dhcp client should reacquire when the lease runs out. But if the
> dhcp client died, or was run in a one-time-only mode, it wouldn't
> know to do that and you'd have the same setup until you rebooted or
> started the client anew.

The client daemon has been running since before I started the

> Charles Curley wrote:
>> Sorry for the completely off topic post, but I have a question on
>> computers. You know, Linux. Routing. Completely irrelevant stuff,
>> really.
>> I have a box running Ubuntu 8.04. I recently put a new firewall into
>> service, so the gateway for all other machines had to change. I
>> changed it in the DHCP server's configuration, and manually changed
>> most of my machines by bringing the interface down then up again.
>> As an experiment, I left one machine alone. A week later, it still has
>> the old gateway. It works only because I changed the old firewall's
>> gateway to the new firewall. All of the several leases in
>> /var/lib/dhcp3/dhclient.eth1.leases have the new router, but this
>> machine hasn't picked up the new gateway.
>> I'm tempted to change the routing on the old firewall so as to break
>> the workaround, and see if that makes any difference. The next
>> experiment would be to shut it down entirely.
>> I thought DHCP clients were supposed to pick up changes like this; am
>> I wrong?
>> dhcp3-client-3.0.6.dfsg-1ubuntu9--i386
>> dhcp3-common-3.0.6.dfsg-1ubuntu9--i386
>> ------------------------------------------------------------------------
>> /*
>> PLUG: http://plug.org, #utah on irc.freenode.net
>> Unsubscribe: http://plug.org/mailman/options/plug
>> Don't fear the penguin.
>> */
> -- 
> Hans Fugal ; http://hans.fugal.net
> There's nothing remarkable about it. All one has to do is hit the
> right keys at the right time and the instrument plays itself.
>     -- Johann Sebastian Bach
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */


Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://plug.org/pipermail/plug/attachments/20080614/44ba9ca1/attachment.bin 

More information about the PLUG mailing list