[systemd-devel] Systemd-networkd, default route and multiple interfaces

Tom Gundersen teg at jklm.no
Tue Jun 3 03:47:06 PDT 2014


On Mon, Jun 2, 2014 at 8:47 PM, Reventlov
<contact+systemd+ml at volcanis.me> wrote:
> Hello.
>
> Since network files are applied to links whenever the links
> appear, how do systemd manage the "disappearance" of a default route ?
>
> For example, let's say i have one wireless interface and one ethernet
> interface that are both up, with the route default using the wireless
> interface, and systemd-networkd managing the ethernet interface with
> dhcp enabled.
> Since the ethernet interface is up, systemd has already
> "applied" the configuration of the network file.
> If the wireless interface is set down, the default route will
> disappear, and it will leave the system without a default route (so no
> internet acces in my case).
>
> Is there a workaround to always get a default route availab

For the record, the reporter confirmed off-list that this was fixed by
<http://cgit.freedesktop.org/systemd/systemd/commit/?id=3f781aa8a0b4490e00975ebc7d4a7b729c7dd9e8>,
which is part of v213.

-t


More information about the systemd-devel mailing list