Re: dhcpcd v6.11.0 behaves abnormally for DHCPv4 lease
Roy Marples
Tue Apr 03 20:55:59 2018
Hi Renu
On 03/04/2018 07:36, Renu Bansal wrote:
I am using dhcpcd6.11.0 for acquiring lease from DHCP server
Dhcpcd client behaves abnormally while acquiring lease from dhcp server.
Dhcpcd terminal constantly shows lease expired in a loop while dhcp
server is sending lease time as 8 days .
This issue occur on every fresh dhcp start. And dhcpcd binary is fired
to get lease for both IPv4 and IPv6
Following command is fired:
"dhcpcd -t %d -y %d -L -i abc -o 2 -o 3 -o 4 -o 7 -o 42 -o 6 -o 12"-o
15 -o 66 -o 120 -o 43 -o dhcp6_21 -o dhcp6_22 -o dhcp6_23 -o dhcp6_24 -o
dhcp6_31 -o dhcp6_17
Please let me know if I have to change my firing command
Your command works fine with dhcpcd-7.0.2 at least.
While I cannot rule out an issue with dhcpcd-6.11.0, you also have not
provided any debug logs to show what dhcpcd is doing.
dhcpcd can expire the lease for a number of reasons - carrier lost is one.
Roy
Archive administrator: postmaster@marples.name