[Bug 654052] New: Dhcp lease lost and new offer not accepted ( dhcpcd )
https://bugzilla.novell.com/show_bug.cgi?id=654052 https://bugzilla.novell.com/show_bug.cgi?id=654052#c0 Summary: Dhcp lease lost and new offer not accepted ( dhcpcd ) Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: i686 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: gushaa@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=400631) --> (http://bugzilla.novell.com/attachment.cgi?id=400631) Wireshark log User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; sv-SE; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 Sometimes when the dhcp lease is lost it is not being reaquired properly. This happens with dhcpcd 3.2.3-87.1 It does not happen everytime. For me it has happened twice in one week now. The following happens in /var/log/messages: Nov 16 19:39:19 linuxhpd dhcpcd[23254]: eth1: lost lease Nov 16 19:39:19 linuxhpd dhcpcd[23254]: eth1: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-eth1.info' Nov 16 19:39:19 linuxhpd dhcpcd[23254]: eth1: lease expired 53575 seconds ago Nov 16 19:39:19 linuxhpd dhcpcd[23254]: eth1: broadcasting for a lease Nov 16 19:39:19 linuxhpd dhcpcd[23254]: eth1: offered 85.229.132.208 from 85.229.128.1 Nov 16 19:39:39 linuxhpd dhcpcd[23254]: eth1: lost lease Nov 16 19:39:39 linuxhpd dhcpcd[23254]: eth1: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-eth1.info' Nov 16 19:39:39 linuxhpd dhcpcd[23254]: eth1: lease expired 53595 seconds ago Nov 16 19:39:39 linuxhpd dhcpcd[23254]: eth1: broadcasting for a lease Nov 16 19:39:39 linuxhpd dhcpcd[23254]: eth1: offered 85.229.132.209 from 85.229.128.1 Nov 16 19:39:59 linuxhpd dhcpcd[23254]: eth1: lost lease .. And then it continues like that forever. If I do an ifdown eth1 and then ifup eth1 the lease is accepted again. I have logged the behaviour with wireshark and attach those logs for you to look at. Reproducible: Sometimes Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=654052 https://bugzilla.novell.com/show_bug.cgi?id=654052#c1 --- Comment #1 from Gustav Haapalahti <gushaa@gmail.com> 2010-11-16 19:13:54 UTC --- Forgot to write that I cannot reproduce this consistently, but it happens every now and then. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=654052 https://bugzilla.novell.com/show_bug.cgi?id=654052#c wei wang <wewang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mt@novell.com, | |wewang@novell.com AssignedTo|bnc-team-screening@forge.pr |varkoly@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=654052 https://bugzilla.novell.com/show_bug.cgi?id=654052#c2 --- Comment #2 from Gustav Haapalahti <gushaa@gmail.com> 2010-11-17 18:28:41 UTC --- I did some extra digging to see if I could find some more info and I found that I had one option in /etc/sysconfig/network/dhcp that was different compared to the default. I have: DHCPCD_USER_OPTIONS="-p" default is: DHCPCD_USER_OPTIONS="" I have changed it to the default now and will report if the behaviour changes. I guess I will have to try it out for at least a week or two to be sure. I seem to recall that the reason I changed that option was when I had trouble with cifs shares disappearing when dhcp leases were renewed, see bug https://bugzilla.novell.com/show_bug.cgi?id=573246 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=654052 https://bugzilla.novell.com/show_bug.cgi?id=654052#c3 --- Comment #3 from Gustav Haapalahti <gushaa@gmail.com> 2010-11-18 17:20:38 UTC --- After removing the option -p the following happened tonight. As you can see in the log below, the lease is renewed every 30 minutes except after 04:13. There is no renew at 04:43 even though there should be. So when we get to 05:16 where the next renew attempt is, the lease is already lost and I get a new IP address. Removing the -p option seems to have fixed the endless loop of failing to get a new IP though. The remaining problem now is that dhcpcd did not try to renew the address until after the lease had already expired, so I did not get to keep my IP. Nov 18 03:43:04 linuxhpd dhcpcd[13866]: eth1: renewing lease of 85.229.142.18 Nov 18 03:43:04 linuxhpd dhcpcd[13866]: eth1: leased 85.229.142.18 for 3600 seconds Nov 18 03:43:04 linuxhpd dhcpcd[13866]: eth1: adding IP address 85.229.142.18/20 Nov 18 03:43:04 linuxhpd dhcpcd[13866]: eth1: adding default route via 85.229.128.1 metric 0 Nov 18 04:13:06 linuxhpd dhcpcd[13866]: eth1: renewing lease of 85.229.142.18 Nov 18 04:13:06 linuxhpd dhcpcd[13866]: eth1: leased 85.229.142.18 for 3600 seconds Nov 18 04:13:06 linuxhpd dhcpcd[13866]: eth1: adding IP address 85.229.142.18/20 Nov 18 04:13:06 linuxhpd dhcpcd[13866]: eth1: adding default route via 85.229.128.1 metric 0 Nov 18 05:16:27 linuxhpd dhcpcd[13866]: eth1: renewing lease of 85.229.142.18 Nov 18 05:26:27 linuxhpd dhcpcd[13866]: eth1: lost lease, attemping to rebind Nov 18 05:46:27 linuxhpd dhcpcd[13866]: eth1: lost lease Nov 18 05:46:27 linuxhpd dhcpcd[13866]: eth1: removing default route via 85.229.128.1 metric 0 Nov 18 05:46:27 linuxhpd dhcpcd[13866]: eth1: removing IP address 85.229.142.18/20 Nov 18 05:46:27 linuxhpd dhcpcd[13866]: eth1: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-eth1.info' Nov 18 05:46:27 linuxhpd dhcpcd[13866]: eth1: lease expired 9201 seconds ago Nov 18 05:46:27 linuxhpd dhcpcd[13866]: eth1: broadcasting for a lease Nov 18 05:46:27 linuxhpd dhcpcd[13866]: eth1: offered 85.229.132.90 from 85.229.128.1 Nov 18 05:46:27 linuxhpd dhcpcd[13866]: eth1: checking 85.229.132.90 is available on attached networks Nov 18 05:46:28 linuxhpd dhcpcd[13866]: eth1: leased 85.229.132.90 for 3600 seconds Nov 18 05:46:28 linuxhpd dhcpcd[13866]: eth1: adding IP address 85.229.132.90/20 Nov 18 05:46:28 linuxhpd dhcpcd[13866]: eth1: adding default route via 85.229.128.1 metric 0 Nov 18 06:16:30 linuxhpd dhcpcd[13866]: eth1: renewing lease of 85.229.132.90 Nov 18 06:16:30 linuxhpd dhcpcd[13866]: eth1: leased 85.229.132.90 for 3600 seconds Nov 18 06:16:30 linuxhpd dhcpcd[13866]: eth1: adding IP address 85.229.132.90/20 Nov 18 06:16:30 linuxhpd dhcpcd[13866]: eth1: adding default route via 85.229.128.1 metric 0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=654052 https://bugzilla.novell.com/show_bug.cgi?id=654052#c Peter Varkoly <varkoly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=654052 https://bugzilla.novell.com/show_bug.cgi?id=654052#c4 --- Comment #4 from Gustav Haapalahti <gushaa@gmail.com> 2010-11-25 18:16:59 UTC --- Created an attachment (id=402197) --> (http://bugzilla.novell.com/attachment.cgi?id=402197) Wireshark log with delayed DHCP request present Row 1238 and 1257 shows two consecutive DHCP requests that are at the correct time. Row 1293 shows a delayed DHCP request that happens 2000 seconds too late. Should be 1800 seconds between requests because of the 3600 seconds lease time. The first IP address is 85.229.132.90 and the IP address after losing it is 85.229.136.94 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=654052 https://bugzilla.novell.com/show_bug.cgi?id=654052#c5 Peter Varkoly <varkoly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |WORKSFORME --- Comment #5 from Peter Varkoly <varkoly@novell.com> 2011-03-31 12:54:21 UTC --- IMHO this is not a client problem. The client works fine. He asks the server 7 time directly but he do not get any answer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com