Hi Souradeep On Thu, Nov 03, 2022 at 08:53:38AM +0100, Bastian Blank wrote: > > Now if we change the date to 100 days, and do a restart of networking > > service, > > we can see ipv6 global address has got deprecated. > > root@ipv6vm4:/var/lib/dhcp# date --set "2024/02/10" > > Sat Feb 10 00:00:00 UTC 2024 > > root@ipv6vm4:/var/lib/dhcp# ip a show > > 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group > > default qlen 1000 > > link/ether 60:45:bd:a7:35:11 brd ff:ff:ff:ff:ff:ff > > inet6 ace:cab:deca:1234::7/128 scope global deprecated > > valid_lft forever preferred_lft 0sec > > > > By looking at the journal log, I can see following the address is > > depreferred. > > Please let me know, if you need any other info.
Deprecating an address is correct behaviour, you just advanced the time past the address' maximum life time. But in normal circumstances this would have been renewed by now or replaced with a different address. With the network config as shipped in the Azure images up to Debian 11, I can't get it to do that. The code do deprecate addresses (by running the script with DEPREF6) only runs from a timer, and that timeout is scheduled with select(2) and not directly affected by the date change. So new question: How do you configure the network on this instance? Please show complete contents of: - /etc/network/interfaces - /etc/network/interfaces.d - /run/network/interfaces.d There exists also a debug script, which logs all hook calls. For that please modify /etc/dhcp/debug and set RUN to yes. After the next try, you'll find a file /tmp/dhclient-script.debug, please show the contents. Regards, Bastian -- Bastian Blank Berater Telefon: +49 2166 9901-194 E-Mail: [email protected] credativ GmbH, HRB Mönchengladbach 12080, USt-ID-Nummer: DE204566209 Trompeterallee 108, 41189 Mönchengladbach Geschäftsführung: Dr. Michael Meskes, James Mark McGowan Unser Umgang mit personenbezogenen Daten unterliegt folgenden Bestimmungen: https://www.credativ.de/datenschutz

