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

Reventlov contact+systemd+ml at volcanis.me
Mon Jun 2 11:47:40 PDT 2014


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 available ?

Thank you.


More information about the systemd-devel mailing list