When quagga bgpd ospfd is installed, after executing netplan apply, you need to restart zebra, before restarting communication with the server on the network will be lost.
The situation does not appear every time
The last time was observed when changing the DNS ip, the system lost the default route until the zebra restart
kernel: 4.15.0-39-generic
Ubuntu 18.04.1 LTS
netplan/bionic 1.10.1-5build1 amd64
zebra version 1.2.4
Copyright 1996-2005 Kunihiro Ishiguro, et al.
configured with:
--build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --enable-exampledir=/usr/share/doc/quagga/examples/ --localstatedir=/run/quagga --sysconfdir=/etc/quagga --disable-watchquagga --with-libpam --enable-user=quagga --enable-group=quagga --enable-vty-group=quaggavty --enable-configfile-mask=0660 --enable-logfile-mask=0640 --enable-multipath=64 --libdir=/usr/lib/quagga CFLAGS=-g -O2 -fdebug-prefix-map=/build/quagga-4LDYRX/quagga-1.2.4=. -fstack-protector-strong -Wformat -Werror=format-security CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 CXXFLAGS=-g -O2 -fdebug-prefix-map=/build/quagga-4LDYRX/quagga-1.2.4=. -fstack-protector-strong -Wformat -Werror=format-security FCFLAGS=-g -O2 -fdebug-prefix-map=/build/quagga-4LDYRX/quagga-1.2.4=. -fstack-protector-strong FFLAGS=-g -O2 -fdebug-prefix-map=/build/quagga-4LDYRX/quagga-1.2.4=. -fstack-protector-strong GCJFLAGS=-g -O2 -fdebug-prefix-map=/build/quagga-4LDYRX/quagga-1.2.4=. -fstack-protector-strong LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now OBJCFLAGS=-g -O2 -fdebug-prefix-map=/build/quagga-4LDYRX/quagga-1.2.4=. -fstack-protector-strong -Wformat -Werror=format-security OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=/build/quagga-4LDYRX/quagga-1.2.4=. -fstack-protector-strong -Wformat -Werror=format-security