Re: I am confused about DHCP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





2008/6/16 Tim <ignored_mailbox@xxxxxxxxxxxx>:
John Cornelius:
>> The problem arises because you seem to have an impractically long lease
>> time. Note that the lease issued on 2008/06/11 doesn't expire until
>> 2008/06/18 so your lease time seems to be 7 days. Most DHCP servers only
>> issue leases for 24 hours and those are renewed by the client after
>> (typically) 12 hours.

I don't see any particular problem with long leases.  I use them, it's
useful on networks where machines only connect sporadically, but you'd
still like them to use the same address as last time.

A lease isn't a guarantee.  A client will usually get the same IP, if
possible, but the server can re-use an IP if something else needs it and
doesn't have any previously unallocated ones spare.  A client can also,
still, get assigned the same IP after a lease has expired.


Antonio M:
> What is different between a Fedora computer and a Windows computer???

See if the DHCP server still stores lease data in /var [1], like it used
to back on Fedora Core 4.  If so, you'll see that the Windows clients
*also* give the server a UID.

1. /var/lib/dhcp/dhcpd.leases


--
[tim@localhost ~]$ uname -r
2.6.25.6-55.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



--


I see the uid only for Windows computers (don't be fooled by ethernet 00:16:d4:dc:a7:08, this is a dual-boot machine, actually it can start with Vista, F9, F10!!!)


# The format of this file is documented in the dhcpd.leases(5) manual page.
# This lease file was written by isc-dhcp-4.0.0

lease 192.168.0.233 {
  starts 5 2008/02/22 12:14:13;
  ends 5 2008/02/29 12:14:13;
  tstp 5 2008/02/29 12:14:13;
  binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.222 {
  starts 5 2008/03/14 14:10:04;
  ends 5 2008/03/21 14:10:04;
  tstp 5 2008/03/21 14:10:04;
  binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.250 {
  starts 4 2008/04/03 08:41:31;
  ends 4 2008/04/10 08:00:13;
  tstp 4 2008/04/10 08:00:13;
  binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.229 {
  starts 5 2008/04/18 07:44:33;
  ends 5 2008/04/25 07:00:47;
  tstp 5 2008/04/25 07:00:47;
  binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.232 {
  starts 5 2008/04/18 07:17:10;
  ends 5 2008/04/25 07:17:10;
  tstp 5 2008/04/25 07:17:10;
  binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.249 {
  starts 1 2008/04/21 08:23:48;
  ends 1 2008/04/28 08:23:48;
  tstp 1 2008/04/28 08:23:48;
  binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.227 {
  starts 5 2008/05/09 07:59:24;
  ends 5 2008/05/16 07:59:24;
  tstp 5 2008/05/16 07:59:24;
  binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.208 {
  starts 2 2008/05/20 11:45:47;
  ends 2 2008/05/27 11:45:47;
  tstp 2 2008/05/27 11:45:47;
  cltt 2 2008/05/20 11:45:47;
  binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.129 {
  starts 4 2008/05/22 07:42:16;
  ends 4 2008/05/29 07:42:16;
  tstp 4 2008/05/29 07:42:16;
  cltt 4 2008/05/22 07:42:16;
  binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.248 {
  starts 4 2008/05/22 16:07:40;
  ends 4 2008/05/29 16:07:40;
  tstp 4 2008/05/29 16:07:40;
  cltt 4 2008/05/22 16:07:40;
  binding state free;
  hardware ethernet 00:1b:38:33:59:60;
  uid "\001\000\03383Y`";
}
lease 192.168.0.244 {
  starts 2 2008/06/03 09:52:59;
  ends 2 2008/06/03 09:54:59;
  tstp 2 2008/06/03 09:54:59;
  cltt 2 2008/06/03 09:52:59;
  binding state free;
  hardware ethernet 00:1a:80:23:e3:7b;
  uid "\001\000\032\200#\343{";
  client-hostname "PC-contecsrl";
}
lease 192.168.0.246 {
  starts 2 2008/06/03 07:35:10;
  ends 2 2008/06/10 07:35:10;
  tstp 2 2008/06/10 07:35:10;
  cltt 2 2008/06/03 07:35:10;
  binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
  uid "\001\000\026\324\334\247\010";
}
lease 192.168.0.60 {
  starts 3 2008/06/04 09:46:09;
  ends 3 2008/06/11 09:46:09;
  tstp 3 2008/06/11 09:46:09;
  cltt 3 2008/06/04 09:46:09;
  binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.89 {
  starts 3 2008/06/04 11:19:06;
  ends 3 2008/06/11 11:19:06;
  tstp 3 2008/06/11 11:19:06;
  cltt 3 2008/06/04 11:19:06;
  binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.80 {
  starts 3 2008/06/04 11:23:23;
  ends 3 2008/06/11 11:23:23;
  tstp 3 2008/06/11 11:23:23;
  cltt 3 2008/06/04 11:23:23;
  binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.62 {
  starts 3 2008/06/11 07:07:52;
  ends 3 2008/06/18 07:07:52;
  tstp 3 2008/06/18 07:07:52;
  cltt 3 2008/06/11 07:07:52;
  binding state active;
  next binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
  client-hostname "acer";
}
lease 192.168.0.224 {
  starts 4 2008/06/12 06:39:18;
  ends 4 2008/06/19 06:39:18;
  tstp 4 2008/06/19 06:39:18;
  cltt 4 2008/06/12 06:39:18;
  binding state active;
  next binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.241 {
  starts 5 2008/06/13 07:22:33;
  ends 5 2008/06/20 07:22:33;
  tstp 5 2008/06/20 07:22:33;
  cltt 5 2008/06/13 07:22:33;
  binding state active;
  next binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.90 {
  starts 5 2008/06/13 07:47:01;
  ends 5 2008/06/20 07:47:01;
  tstp 5 2008/06/20 07:47:01;
  cltt 5 2008/06/13 07:47:01;
  binding state active;
  next binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
}
lease 192.168.0.79 {
  starts 1 2008/06/16 07:05:45;
  ends 1 2008/06/23 07:05:45;
  tstp 1 2008/06/23 07:05:45;
  cltt 1 2008/06/16 07:05:45;
  binding state active;
  next binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
  client-hostname "acer";
}
lease 192.168.0.155 {
  starts 1 2008/06/16 08:00:05;
  ends 1 2008/06/23 08:00:05;
  tstp 1 2008/06/23 08:00:05;
  cltt 1 2008/06/16 08:00:05;
  binding state active;
  next binding state free;
  hardware ethernet 00:1a:80:23:e3:7b;
  uid "\001\000\032\200#\343{";
  client-hostname "PC-contecsrl";
}
lease 192.168.0.158 {
  starts 1 2008/06/16 13:05:25;
  ends 1 2008/06/23 13:05:25;
  tstp 1 2008/06/23 13:05:25;
  cltt 1 2008/06/16 13:05:25;
  binding state active;
  next binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
  client-hostname "acer";
}
lease 192.168.0.158 {
  starts 1 2008/06/16 13:27:25;
  ends 2 2008/06/17 13:27:25;
  cltt 1 2008/06/16 13:27:25;
  binding state active;
  next binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
  client-hostname "acer";
}
lease 192.168.0.158 {
  starts 1 2008/06/16 13:27:29;
  ends 2 2008/06/17 13:27:29;
  cltt 1 2008/06/16 13:27:29;
  binding state active;
  next binding state free;
  hardware ethernet 00:16:d4:dc:a7:08;
  client-hostname "acer";
}

--
Antonio Montagnani
Skype : antoniomontag
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux