Systemd/networkd: Difference between revisions

imported>Mweinelt
imported>Mweinelt
Mention some limitations
Line 5: Line 5:
* <code>systemd.network.links</code> reconfigures existing network devices
* <code>systemd.network.links</code> reconfigures existing network devices
** https://www.freedesktop.org/software/systemd/man/systemd.link.html
** https://www.freedesktop.org/software/systemd/man/systemd.link.html
** actually implemented by udev on boot, not networkd
** actually implemented by udev, not networkd
* <code>systemd.network.netdevs</code> creates virtual network devices
* <code>systemd.network.netdevs</code> creates virtual network devices
** https://www.freedesktop.org/software/systemd/man/systemd.netdev.html
** https://www.freedesktop.org/software/systemd/man/systemd.netdev.html
Line 25: Line 25:
can write your complete network setup in native networkd configuration, you should
can write your complete network setup in native networkd configuration, you should
stay away from that option.
stay away from that option.
=== Limitations ===
Some limitations might be surprising, so it is probably helpful to get them out of the
way early.
* <code>systemd.network.links</code> only gets applied at boot time
* <code>systemd.network.netdevs</code> does not modify existing network interfaces
** https://github.com/systemd/systemd/issues/9627


=== network-online.target ===
=== network-online.target ===