FS#71498 - [systemd] networkd fails to add default route when ManageForeignRoutes=no (249-3)

Attached to Project: Arch Linux
Opened by Nigel Kukard (nkukard) - Wednesday, 14 July 2021, 04:02 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 20 July 2021, 09:20 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When using ManageForeignRoutes=no, the IPv4 default route setup is not configured.
Upstream bug report and commit below.

Is it possible to kindly request the upstream commit fixing this bug is added?


Additional info:
* package version(s)
249-3

* link to upstream bug report, if any
https://github.com/systemd/systemd/issues/20201

With upstream commit:
https://github.com/systemd/systemd/pull/20202


Steps to reproduce:
1. Add this to networkd.conf
[Network]
ManageForeignRoutes=No


2. Add a default route to the .network file
[Network]
Gateway=x.x.x.x

or...

[Route]
Gateway=x.x.x.x


3. Default route does not get added
This task depends upon

Closed by  Christian Hesse (eworm)
Tuesday, 20 July 2021, 09:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd 249-4
Comment by Christian Hesse (eworm) - Saturday, 17 July 2021, 21:10 GMT Comment by Nigel Kukard (nkukard) - Sunday, 18 July 2021, 07:03 GMT
Affirmative :)

Loading...