[quagga-users 14966] Re: ospf learned default route not being re-installed after interface reset
"Brian J. Murrell" <[email protected]> Tue, 27 Mar 2018 11:47:18 -0400
| Newsgroups | gmane.network.quagga.user |
|---|---|
| Message-ID | <[email protected]> |
--===============4340643030338653865==
Content-Type: multipart/signed; micalg="pgp-sha256";
protocol="application/pgp-signature"; boundary="=-4CcNnbnVwpfePlKkcK7M"
--=-4CcNnbnVwpfePlKkcK7M
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
On Tue, 2018-03-27 at 14:26 +0100, Tim Bray wrote:
>=20
> I think if you have your interfaces set as link detect in zebra, then
> no
> need to wait. When the interface comes up, zebra/quagga will go
> their
> thing.
>=20
> interface eth0
> link-detect
I'll give that a try...
> On a debian machine
>=20
> I put
>=20
> iface eno1 inet manual
>=20
> into /etc/network/interfaces and NM leaves alone. I have nothing
> else
> to bring the interface up, I think Zebra will do it for you.
How does zebra know what ip address/netmask/etc. to assign? I actually
didn't know Zebra would do full interface management.
> Are you expecting to receive the default route via OSPF?
Yes, as I do when NM doesn't have to reset the interface:
default via 10.75.22.252 dev enp2s0 proto zebra metric 50=20
10.0.0.0/24 via 10.75.22.252 dev enp2s0 proto zebra metric 20=20
10.8.0.0/24 via 10.75.22.252 dev enp2s0 proto zebra metric 20=20
10.75.22.0/24 dev enp2s0 proto kernel scope link src 10.75.22.247 metric 10=
0=20
10.75.22.247 via 10.75.22.252 dev enp2s0 proto zebra metric 20=20
10.75.23.0/24 via 10.75.22.252 dev enp2s0 proto zebra metric 20=20
67.193.224.0/20 via 10.75.22.252 dev enp2s0 proto zebra metric 20=20
67.193.224.1 via 10.75.22.252 dev enp2s0 proto zebra metric 20=20
192.168.101.0/24 proto zebra metric 20=20
nexthop via 10.75.22.196 dev enp2s0 weight 1=20
nexthop via 10.75.22.252 dev enp2s0 weight 1=20
192.168.199.0/24 via 10.75.22.252 dev enp2s0 proto zebra metric 20=20
206.248.155.132 via 10.75.22.252 dev enp2s0 proto zebra metric 20=20
I can actually reproduce without even rebooting by simply doing "ifdown
enp2s0; ifup enp2s0". After doing that, all of the above routes are
restored except the default route.
Cheers,
b.
--=-4CcNnbnVwpfePlKkcK7M
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEE8B/A+mOVz5cTNBuZ2sHQNBbLyKAFAlq6Z4cACgkQ2sHQNBbL
yKBS3wf/aGVMkzoFSf/FnEh1ORut53p/SAQJdzXKa4UkGAjy5t1MSi4EQoEz2bXv
WAPk54vtQY9YibcrdFswCVsx0Z6pzLW7JdDDzIWzKNWD2ofafZeN2VveLW6rGRjS
fSdt7Bls5h96VwlKcyAgAVaI5Sb7R3Ufm9cc5sVC/B/9MR9mwAFiHTyeO3+2sMxc
NUlud2nEH2KxdPm9Fd7ii8cAkmwTGV8zmxLn8I01YM4E/t3rSJD8MgiD4Zca3Vwn
zgFvnC9DasuxzC5tQiOLP7YgZVSSR6hBHTk/TpyBGd1vjktXjLF1pH4nS88bSU2G
4MRgMNUSEzTXzIvP1Ay9u23tpvsG6A==
=VUWR
-----END PGP SIGNATURE-----
--=-4CcNnbnVwpfePlKkcK7M--
--===============4340643030338653865==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Quagga-users mailing list
Quagga-users-UOy77sIEA+cAd7ICUelF/[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-users
--===============4340643030338653865==--