Re: Regression in dhcpcd-7.0.0-rc3: DHCP renewal
Roy Marples
Mon Nov 13 16:05:10 2017
Hi Lev
On 13/11/2017 15:27, Lev Cohan wrote:
there seems to be a regression between dhcpcd-6.11.5 and the current git-master
with respect to the DHCP renewal process. I didn
With the current git-master, I get the following errors:
failed to renew DHCP, rebinding,
failed to renew DHCPv6, rebinding,
while dhcpcd-6.11.5 renews the lease after the first REQUEST.
For IPv4 I don't have any settings in the config file except noipv4ll.
With the debug-option set in the the config file, I get this log for IPv4:
Nov 13 09:52:32 G550 dhcpcd[328]: eth0: renewing lease of <readacted1>
Nov 13 09:52:32 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 4.0 seconds
Nov 13 09:52:36 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 8.4 seconds
Nov 13 09:52:45 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 16.5 seconds
Nov 13 09:53:01 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 31.2 seconds
Nov 13 09:53:32 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 64.9 seconds
Nov 13 09:54:37 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 63.3 seconds
Nov 13 09:55:41 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 63.2 seconds
Nov 13 09:56:44 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 64.4 seconds
Nov 13 09:57:48 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 64.8 seconds
Nov 13 09:58:53 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 64.5 seconds
Nov 13 09:59:58 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 64.5 seconds
Nov 13 10:01:02 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 63.7 seconds
Nov 13 10:02:06 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 63.2 seconds
Nov 13 10:03:09 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 64.0 seconds
Nov 13 10:03:47 G550 dhcpcd[328]: eth0: failed to renew DHCP, rebinding
Nov 13 10:03:47 G550 dhcpcd[328]: eth0: expire in 225 seconds
Nov 13 10:03:47 G550 dhcpcd[328]: eth0: sending REQUEST (xid 0x37f78af6), next in 4.8 seconds
Nov 13 10:03:47 G550 dhcpcd[328]: eth0: acknowledged <readacted1> from <readacted2> `<readacted3>'
Nov 13 10:03:47 G550 dhcpcd[328]: eth0: leased <readacted1> for 1800 seconds
Nov 13 10:03:47 G550 dhcpcd[328]: eth0: renew in 900 seconds, rebind in 1575 seconds
Nov 13 10:03:47 G550 dhcpcd[328]: eth0: writing lease `/var/lib/dhcpcd/eth0.lease'
Wow, that's quite serious.
Can you email me off-list a tcpdump of the DHCP transactions failing
here and working with the older dhcpcd please so we can try and work out
why it's failing for you?
Roy
Archive administrator: postmaster@marples.name