netplan drops routes on carrier loss
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| netplan.io (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
Our system has some statically defined network devices. Whenever a carrier loss happens, which can be due to manual network cabling changes but also due to the connected ISP's router doing a maintenance restart, the system receives a carrier loss. This results in all routes being removed. They are not added back when the carrier is regained.
I tried putting
[Match]
Name=*
[Link]
ActivationPolic
into /etc/systemd/
I don't see any way to specify that a carrier loss should be ignored via netplan. I suppose https:/
I'm actually surprised this isn't a bigger issue to people since.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: netplan.io 0.102-0ubuntu1~
ProcVersionSign
Uname: Linux 5.4.0-73-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Sun May 16 13:45:22 2021
SourcePackage: netplan.io
UpgradeStatus: Upgraded to focal on 2020-12-25 (141 days ago)

I think this should be fixed as of netplan v0.104: https:/ /github. com/canonical/ netplan/ pull/215
Could you please try to confirm this, using a "ignore-carrier: true" setting?