On 1/27/07, James G. Sack (jim) <[EMAIL PROTECTED]> wrote:

Here are some guess-worthies:

On a rh/fedora type system, look at the contents of
  /var/lib/dhclient/dhclient-eth0.leases
(or whatever matches your device)

on ubuntu (& debian?) look for
  /var/lib/dhcp3/dhclient.eth0.leases

The default route is normally determined by a line in there like
 option routers 192.168.1.1
(or some such)

Amazing how looking in the right place can be so useful.

Although I was about to write and say something like "it doesn't look
at all like that on my Dell box, FC3".   Then I realized that I
changed that system to have a fixed IP address, so it isn't
astonishing that the DHCP leases are dated 2005/05/23, and don't bear
any resemblance to the current situation.

Checking with the Thinkpad that does use DHCP I see reasonable
entries, although it is somewhat puzzling that there are two complete
sets each beginning

lease {
 interface "eth0"

with all the same information except for slight differences in the time entries.

   carl
--
   carl lowenstein         marine physical lab     u.c. san diego
                                                [EMAIL PROTECTED]


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to