[systemd-devel] networkd link state

Lennart Poettering lennart at poettering.net
Thu Dec 4 15:52:27 PST 2014

On Thu, 04.12.14 16:53, O Neill, David M (david.m.oneill at intel.com) wrote:

> Jóhann/All,
> If you could expand on how you solve the following:
> Systemd-networkd is a single process and it reads its configuration
> from /etc/systemd/network.
> How do unit files, solve a single process managing multiple netdevs?
> Taking a switch as a use case with 64 ports, a port could have quite
> a lot of configuration associated with it; in a file such as
> /etc/system/network/sw0p1.link (network/link).
> Are you suggesting we using symlinks like systemctl manages daemons
> on boot to solve the enable/disabled problem?

Note that .link files and .network can be applied to multiple devices
the same way. The [Match] section specifies to which set of devices
a file of this kind applies. Normally, if you have a system with 64
ports, and all should run the same configuraiton, you'd just put one
file in place and make it match all 64 ports.


Lennart Poettering, Red Hat

More information about the systemd-devel mailing list