Re: Excessive amount of dhcp requests
- From: Dan Williams <dcbw redhat com>
- To: Nicolas Girard <ngirard gmail com>
- Cc: Dominique Leuenberger <Dominique Leuenberger tmf-group com>, networkmanager-list gnome org
- Subject: Re: Excessive amount of dhcp requests
- Date: Thu, 04 Dec 2008 12:17:05 -0500
On Thu, 2008-12-04 at 08:41 -0500, Nicolas Girard wrote:
> I'm seeing the same thing in my logs. This is a recent regression
> though as it was not happening just a few weeks ago... Dan, I could
> find out the exact svn revisions if you need.
NM doesn't do anything with explicit lease times, that's all handled by
dhclient internally. Could you do a few things to nail this down?
1) write a simple dispatcher script that just does "env > /tmp/foo" and
find the lease time that dhclient reports to NetworkManager
2) ensure you haven't got any overrides
in /etc/dhclient.conf, /etc/dhcp4/dhclient.conf, /etc/dhclient-eth0.conf, or whereever your distro stores config files. NM will merge dhclient config files, and you may have done something with the lease time manually.
Dan
> Nicolas
>
>
> On Thu, Dec 4, 2008 at 5:09 AM, Dominique Leuenberger
> <Dominique Leuenberger tmf-group com> wrote:
> Hi everybody,
>
> I remarked today that my system is requesting more often than
> needed a
> dhcp lease.
> In fact, it get's it every 30 minutes.
>
> From the log files:
> Dec 4 09:04:48 3120-2914 dhclient: Internet Systems
> Consortium DHCP
> Client V3.1.1
> Dec 4 09:04:48 3120-2914 dhclient: Copyright 2004-2008
> Internet
> Systems Consortium.
> Dec 4 09:04:48 3120-2914 dhclient: All rights reserved.
> Dec 4 09:04:48 3120-2914 dhclient: For info, please visit
> http://www.isc.org/sw/dhcp/
> Dec 4 09:04:48 3120-2914 dhclient:
> Dec 4 09:04:49 3120-2914 dhclient: Listening on
> LPF/eth0/00:1d:09:db:9c:e1
> Dec 4 09:04:49 3120-2914 dhclient: Sending on
> LPF/eth0/00:1d:09:db:9c:e1
> Dec 4 09:04:49 3120-2914 dhclient: Sending on
> Socket/fallback
> Dec 4 09:04:49 3120-2914 dhclient: DHCPDISCOVER on eth0 to
> 255.255.255.255 port 67 interval 3
> Dec 4 09:04:49 3120-2914 dhclient: DHCPOFFER from 10.1.0.151
> Dec 4 09:04:53 3120-2914 dhclient: DHCPREQUEST on eth0 to
> 255.255.255.255 port 67
> Dec 4 09:04:53 3120-2914 dhclient: DHCPACK from 10.1.0.151
> Dec 4 09:04:53 3120-2914 dhclient: bound to 10.1.12.149 --
> renewal in
> 1705 seconds.
> Dec 4 09:04:54 3120-2914 if-up.d/21-dhcpcd-hook-samba: No
> dhcpcd info
> nor dhclient leases file found for eth0.
> Dec 4 09:33:18 3120-2914 dhclient: DHCPREQUEST on eth0 to
> 10.1.0.151
> port 67
> Dec 4 09:33:18 3120-2914 dhclient: DHCPACK from 10.1.0.151
> Dec 4 09:33:18 3120-2914 dhclient: bound to 10.1.12.149 --
> renewal in
> 1698 seconds.
> Dec 4 10:01:36 3120-2914 dhclient: DHCPREQUEST on eth0 to
> 10.1.0.151
> port 67
> Dec 4 10:01:36 3120-2914 dhclient: DHCPACK from 10.1.0.151
> Dec 4 10:01:36 3120-2914 dhclient: bound to 10.1.12.149 --
> renewal in
> 1408 seconds.
> Dec 4 10:25:04 3120-2914 dhclient: DHCPREQUEST on eth0 to
> 10.1.0.151
> port 67
> Dec 4 10:25:04 3120-2914 dhclient: DHCPACK from 10.1.0.151
> Dec 4 10:25:04 3120-2914 dhclient: bound to 10.1.12.149 --
> renewal in
> 1368 seconds.
> Dec 4 10:47:52 3120-2914 dhclient: DHCPREQUEST on eth0 to
> 10.1.0.151
> port 67
> Dec 4 10:47:52 3120-2914 dhclient: DHCPACK from 10.1.0.151
> Dec 4 10:47:52 3120-2914 dhclient: bound to 10.1.12.149 --
> renewal in
> 1429 seconds.
>
>
> The DHCP server is set to give out leases of 3 days.
> This is also confirmed if I use dhcpcd-test eth0, the lease
> time is set
> to 259200
>
> I'm running
> NetworkManager-0.7.0.r4323-1.8
> NetworkManager-gnome-0.7.0.r1043-1.7
>
> on an openSUSE 11.1 box.
>
> How can this 'noise' on the network be reduced? Just imagine
> all the
> stations on the network doing this.
>
> Thanks for your support,
> Dominique
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
>
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]