Score:0

Recover DHCP lease if it has been lost

ma flag

So my system lost it's DHCPv4 lease. Since this is the WAN uplink, the system then became unreachable. I can't see any trace that it has tried to recovery from this.

Apr 3 00:31:47 mistik systemd-networkd[1519076]: vlan20: DHCP lease lost Apr 3 00:31:47 mistik systemd-networkd[1519076]: vlan20: DHCPv4 address x.x.x.x/24 via x.x.x.1

In RedHat you have "PERSISTENT_DHCLIENT" that can be set in the interface configuration files, if you don't set it, it will retry forever (I think).

How do I instruct netplan to retry forever?

guiverc avatar
cn flag
You've provided no OS/release details; but do mention an off-topic system, so why ask here? Please read https://askubuntu.com/help/on-topic and clarify why you're asking here.
cg flag
Have you tried restarting networking?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.