After starting Ubuntu 24.04 over the network, I have a problem where valid_lft, after going down to 0, causes the system to freeze.
valid_lft can be checked by executing the command ip a.
How can I set the valid_lft parameter to forever? I don't want to execute additional commands — I just want to set it in Linux. I don't see such an option in dhcpcd.
In Ubuntu 22.04, started over the network, the default value of valid_lft is set to forever.