Wednesday 9 September 2015

server/cloud: please try systemd-networkd

Hello all,

The server/cloud teams asked for making systemd-networkd available for
Ubuntu [1], as it's an interesting alternative for ifupdown for
server/cloud/snappy kind of workloads.

networkd by itself has worked for a long time, but with 225-1ubuntu4
(which just hit wily) it is now reasonably well integrated into the
distro:

- Bringing interfaces up/down now runs the
/etc/network/if-{up,post-down}.d/ hooks (like NetworkManager, and
of course ifupdown itself)

- This now works together with resolvconf, i. e. "nameserver"
information is pushed into /run/resolvconf/resolv.conf. networkd is
meant to work with systemd-resolved, which does a similar dynamic
resolv.conf management, but without all the shell scriptery; and it
is also a mini DNS server cache. But now you can use either, which
decouples transitions.

- /usr/share/doc/systemd/README.Debian.gz has a section about how to
enable and use networkd.

As usual, please file bugs with "ubuntu-bug systemd".

Thanks,

Martin

[1] https://blueprints.launchpad.net/ubuntu/+spec/foundations-w-networkd-vs-ifupdown
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)