netplan , systemd-networkd. Critical DHCP client, not release the IP. With Cloud-Init

ByDmitriy Altuhov

netplan , systemd-networkd. Critical DHCP client, not release the IP. With Cloud-Init

Some of an ISP’s DHCP server is for some reason flaky.
Which causes 1..5-minute pauses in Internet availability.

https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1776013

To fix this we need to:

network: version: 2 ethernets: ens2: dhcp4: true critical: true
Code language: JavaScript (javascript)

About the author

Dmitriy Altuhov administrator