-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Florian,
On 04/20/17 12:45, Florian Ermisch wrote: > Hi Harri, > > until someone in the know replies you could take a look at the DHCPv6 traffic > to see if a lifetime is included in the replies (and maybe keep them handy > for a dev to look at). Maybe dhcpcd supports this feature but there's an > uncommon combination of flags it doesn't know about yet. > > Regards, Florian bash-4.4# dhcpcd -U pppoe0 dhcp6_client_id=00010001207921d480ee7395c10c dhcp6_ia_pd1_iaid=00000000 dhcp6_ia_pd1_prefix1=2003:dd:b3dd:aa00:: dhcp6_ia_pd1_prefix1_length=56 dhcp6_ia_pd1_prefix1_pltime=1800 dhcp6_ia_pd1_prefix1_vltime=14400 dhcp6_ia_pd1_t1=900 dhcp6_ia_pd1_t2=1440 dhcp6_server_id=0002000005834a4e313235323435444444410000000000000000 If I run "ifconfig pppoe0 down" and "... up", then I get another prefix, but the rest is unchanged, esp. client and server ID are the same. I have the impression, that this is a bug in dhcpcd. If I stop the service, then re1 is reconfigured accordingly: Apr 20 13:15:34 marvin dhcpcd[84654]: sending signal TERM to pid 7129 Apr 20 13:15:34 marvin dhcpcd[7129]: received SIGTERM, stopping Apr 20 13:15:34 marvin dhcpcd[7129]: re1: removing interface Apr 20 13:15:34 marvin dhcpcd[7129]: re1: deleting address 2003:dd:b3dd:aa00::1/56 Apr 20 13:15:34 marvin dhcpcd[84654]: waiting for pid 7129 to exit Apr 20 13:15:34 marvin dhcpcd[7129]: lo0: changing reject route to 2003:dd:b3dd:aa00::/56 via ::1 Apr 20 13:15:34 marvin dhcpcd[7129]: pppoe0: removing interface Apr 20 13:15:34 marvin dhcpcd[7129]: lo0: deleting reject route to 2003:dd:b3dd:aa00::/56 via ::1 Apr 20 13:15:34 marvin dhcpcd[7129]: pppoe0: deleting address 2003:dd:b3bf:1daa:665a:4ff:fe35:830a/64 Apr 20 13:15:34 marvin dhcpcd[7129]: dhcpcd exited Apr 20 13:15:41 marvin dhcpcd[99209]: DUID 00:01:00:01:20:79:21:d4:80:ee:73:95:c1:0c Apr 20 13:15:41 marvin dhcpcd[99209]: re1: IAID 73:95:c1:0d Apr 20 13:15:41 marvin dhcpcd[99209]: pppoe0: IAID 00:00:00:00 Apr 20 13:15:41 marvin dhcpcd[99209]: pppoe0: rebinding prior DHCPv6 lease Apr 20 13:15:41 marvin dhcpcd[99209]: pppoe0: soliciting an IPv6 router Apr 20 13:15:41 marvin dhcpcd[99209]: pppoe0: Router Advertisement from fe80::101:101:3e9b:f1ab Apr 20 13:15:41 marvin dhcpcd[99209]: pppoe0: adding address 2003:dd:b3bf:1daa:665a:4ff:fe35:830a/64 Apr 20 13:15:43 marvin dhcpcd[99209]: pppoe0: REPLY6 received from fe80::101:101:3e9b:f1ab Apr 20 13:15:43 marvin dhcpcd[99209]: pppoe0: renew in 900, rebind in 1440, expire in 14400 seconds Apr 20 13:15:43 marvin dhcpcd[99209]: lo0: adding reject route to 2003:dd:b3dd:aa00::/56 via ::1 Apr 20 13:15:43 marvin dhcpcd[99209]: pppoe0: delegated prefix 2003:dd:b3dd:aa00::/56 Apr 20 13:15:43 marvin dhcpcd[99209]: re1: adding address 2003:dd:b3dd:aa00::1/56 Apr 20 13:15:43 marvin dhcpcd[99209]: re1: changing route to 2003:dd:b3dd:aa00::/56 If I restart pppoe0, then the old address is not removed from re1, even though dhcpcd recognized that the old delegation has been withdrawn. It created a new default route, added a new IPv6 address to re1, etc. Apr 20 13:30:39 marvin dhcpcd[46072]: pppoe0: carrier lost Apr 20 13:30:39 marvin dhcpcd[46072]: pppoe0: deleting address 2003:dd:b3bf:2325:665a:4ff:fe35:830a/64 Apr 20 13:30:39 marvin dhcpcd[46072]: pppoe0: if_addrflags: 93.233.206.36: Undefined error: 0 Apr 20 13:30:39 marvin dhcpcd[46072]: pppoe0: if_addrflags: Undefined error: 0 Apr 20 13:30:54 marvin dhcpcd[46072]: pppoe0: carrier acquired Apr 20 13:30:54 marvin dhcpcd[46072]: pppoe0: IAID 00:00:00:00 Apr 20 13:30:54 marvin dhcpcd[46072]: pppoe0: rebinding prior DHCPv6 lease Apr 20 13:30:54 marvin dhcpcd[46072]: pppoe0: Router Advertisement from fe80::101:101:3e9b:f1ab Apr 20 13:30:54 marvin dhcpcd[46072]: pppoe0: adding address 2003:dd:b3bf:2336:665a:4ff:fe35:830a/64 Apr 20 13:31:04 marvin dhcpcd[46072]: pppoe0: failed to rebind prior delegation Apr 20 13:31:04 marvin dhcpcd[46072]: pppoe0: soliciting a DHCPv6 lease Apr 20 13:31:07 marvin dhcpcd[46072]: pppoe0: REPLY6 received from fe80::101:101:3e9b:f1ab Apr 20 13:31:07 marvin dhcpcd[46072]: pppoe0: renew in 900, rebind in 1440, expire in 14400 seconds Apr 20 13:31:07 marvin dhcpcd[46072]: lo0: adding reject route to 2003:dd:b3e3:3600::/56 via ::1 Apr 20 13:31:07 marvin dhcpcd[46072]: pppoe0: delegated prefix 2003:dd:b3e3:3600::/56 Apr 20 13:31:07 marvin dhcpcd[46072]: re1: adding address 2003:dd:b3e3:3600::1/56 Apr 20 13:31:07 marvin dhcpcd[46072]: re1: changing route to 2003:dd:b3e3:3600::/56 It just forgot to remove the old address. Regards Harri -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEH2V614LbR/u1O+a1Cp4qnmbTgcsFAlj4qXkACgkQCp4qnmbT gcvYgAf/RbVvuMPjtdgIsVNpJVSgGLJSsrD9t+dyE27HKDGtewahYvJEhF1ZXnWd LiWPAoo9OaWN9vIhewmHnXQRwSRDL7S63PPIw9T5XN8Fjhic1EeiSS9qsLgEfSeG tAFRPPMi2rxrjHPLy2ea6+nrw+IiuVzfDMuvts8/FXuMJS4yFwyITj8yfzjIh3VC jId3BNwknYd9I8vVgHoSOSDxlYJw8I/tlOFR2HUiDF+lqRHo6qD1po0mTRhIV/DC SAR9uMY3iKk+kfZmnl1hDQ05+pUPR4lemXEiMcszTrBjxk8eAOb5DYiGpeiWd26f OeTaq0Xy6vPMemAhywd3p6hO6LvOIA== =LLWt -----END PGP SIGNATURE-----

