I made some headway in figuring this out.  One thing I did not
understand was T1 and T2 time and so was looking at the logs at the
vltime hour mark.  The proper place to be looking for the first error
was at the T1 mark when the renew operation takes place.  At this point
the following happens in the logs:

A Date XX:XX:XX machine_name dhcp6c[31722]: update_address: update an address 
XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX pltime=86400, vltime=86400
A Date XX:XX:XX machine_name dhcp6c[31722]: ifaddrconf: failed to add an 
address on WAN_interface: File exists
A Date XX:XX:XX machine_name dhcp6c[31722]: update_ia: failed to update an 
address XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX
A Date XX:XX:XX machine_name dhcp6c[31722]: dhcp6_remove_event: removing an 
event on WAN_interface, state=RENEW

I went through the source code to try to trace this out and I came up with the 
system call to change the IP address fails and this causes the code to update 
the refresh timer to not execute as it executes after this call except in the 
case where the former operation fails, then it gets skipped.  Once vltime for 
the WAN interface is reached the WAN interface expires and requests a new 
address, but the internal interfaces don't request such an update.  I believe 
it is at this point of the WAN interface expiring and re-initing where Cox's 
server drops the route for the internal subnets.  Specifically:
1. In dhcp6c_ia.c line 166 - Calls update_address()
2. In addrconf.c line 177 - Call to na_ifaddrconf() is made.  This fails and 
returns before executing timer code below.
3. In addrconf.c line 396 - ifaddrconf() is made.
4. In common.c line 3398 - System call is made to add /128 IP address issued by 
DHCPv6 server and fails because the address has not expired yet.  At least if I 
understand correctly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1559741

Title:
  wide-dhcpv6 client apparently sets incorrect PD specfic vltime

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wide-dhcpv6/+bug/1559741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to