Hi Souradeep

Please fix your quoting style.  TOFU is not appropriate for technical
discussions.  Stuff is easily missed this way, as you showed by already
ignoring at least one of my four questions.

On Thu, Nov 03, 2022 at 05:57:53AM +0000, Souradeep Chakrabarti wrote:
> > - What does the log show?

> 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.

Sadly none of my systems shows this messages.  So where do they come
from?

Please show complete logs, unaltered.

> > - How to actually test this problem?

> 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.

I can't reproduce this on my current Azure test environment:

| # date
| Thu Nov  3 07:41:59 UTC 2022
| # ip -6 addr show eth0
| 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
|     inet6 fd36:16f1:35c0:1::5/128 scope global 
|        valid_lft forever preferred_lft forever
|     inet6 fe80::6245:bdff:fe92:85f2/64 scope link 
|        valid_lft forever preferred_lft forever
| # date --set "2024/02/10"
| Sat Feb 10 00:00:00 UTC 2024
| # systemctl restart networking
| # ip -6 addr show eth0
| 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
|     inet6 fd36:16f1:35c0:1::5/128 scope global tentative 
|        valid_lft forever preferred_lft forever
|     inet6 fe80::6245:bdff:fe92:85f2/64 scope link 
|        valid_lft forever preferred_lft forever

> > - What is the environment you are running in?

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

Okay.  I'm using the latest available image version 0.20221102.1187 and
also the earlier 0.20220911.1135.

> > - Is the current stable Debian affected?

You missed that one.

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://www.credativ.de/datenschutz

Reply via email to