If we have both ipv4 and ipv6 as global ip address on interface eth0, and with 
renewal time
set to MAX  (in this case DHCP server sending 0 for both T1 and T2 ).

RCV:  | | | X-- Preferred lifetime 8640000.
RCV:  | | | X-- Max lifetime 17280000.

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# systemctl restart networking.service
root@ipv6vm4:/var/lib/dhcp# ip a show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
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
    inet 172.21.0.7/24 brd 172.21.0.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 ace:cab:deca:1234::7/128 scope global deprecated
       valid_lft forever preferred_lft 0sec
    inet6 fe80::6245:bdff:fea7:3511/64 scope link
       valid_lft forever preferred_lft forever

By looking at the journal log, I can see following the address is depreferred.
Please let me know, if you need any other info.

OS version Debian 10 available in Azure market place. Test was done using a 
Azure VM.

> -----Original Message-----
> From: Bastian Blank <bastian.bl...@credativ.de>
> Sent: Wednesday, November 2, 2022 6:28 PM
> To: 1022...@bugs.debian.org; 1022969-submit...@bugs.debian.org
> Subject: [EXTERNAL] Bug#1022969: isc-dhcp-client: dhcp6 client failing to 
> renew
> the IPv6 address upon T1 expiry.
> 
> [You don't often get email from bastian.bl...@credativ.de. Learn why this is
> important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> Control: tags -1 moreinfo
> 
> Hi souradeep
> 
> Please provide us with a bit more information:
> - What is the environment you are running in?
> - How to actually test this problem?
> - What does the log show?
> - Is the current stable Debian affected?
> 
> Regards,
> Bastian
> 
> --
> Bastian Blank
> Berater
> Telefon: +49 2166 9901-194
> E-Mail: bastian.bl...@credativ.de
> 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://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.cr
> edativ.de%2Fdatenschutz&amp;data=05%7C01%7Cschakrabarti%40microsoft.co
> m%7C209f346263d340ac512f08dabcd36df4%7C72f988bf86f141af91ab2d7cd011db
> 47%7C1%7C0%7C638029913889928518%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7
> C%7C%7C&amp;sdata=KzO%2BwEMSQZYt12IhZYVTJLDm8BhSLBV8RFzDd6bQVrw
> %3D&amp;reserved=0

Reply via email to