Public bug reported:

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]
ActivationPolicy=always-up

into /etc/systemd/network/netplan-override.network.d/override.conf , but
this doesn't seem to help either.

I don't see any way to specify that a carrier loss should be ignored via
netplan.  I suppose https://github.com/canonical/netplan/pull/34
introduced this for bridge devices.

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~20.04.2
ProcVersionSignature: Ubuntu 5.4.0-73.82-generic 5.4.106
Uname: Linux 5.4.0-73-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.17
Architecture: amd64
CasperMD5CheckResult: skip
Date: Sun May 16 13:45:22 2021
SourcePackage: netplan.io
UpgradeStatus: Upgraded to focal on 2020-12-25 (141 days ago)

** Affects: netplan.io (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal third-party-packages uec-images

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1928583

Title:
  netplan drops routes on carrier loss

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1928583/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to