Skip to content

networkmanager vs. systemd-networkd, thoughts?

I switched from netctl to Network Manager (not sure why netctl is the recommended network manger for Arch--shouldn't systemd-networkd be?) because I frequently needed to restart the netctl service on boot in order to connect successfully. Network Manager is popular and proven but people have criticized it for being too "big" and "bloated."

When I installed Arch a few years ago, systemd-networkd was very new and lacking; however, I see more and more people use it now. How's systemd-networkd nowadays? Is it stable, secure, and does it support connecting to a VPN and other desirable features that Network Manager does? Is systemd-networkd intended to replace NetworkManager for most distros eventually and how does it compare with NetworkManager now? I figured systemd-networkd is more light-weight and better integrated with the rest of the system in terms of scalability and performance just because it is part of systemd.

Hoping for a fruitful discussion rather than "don't fix if it ain't broke" or "grass is always greener on the other side."

Edited 10 Oct 2016. We only hold this version.

31 points24 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
31 · 100% up
Kind
Text
ID
56utte

Author

41
posts
47
comments
0
media
View profile

25 comments

From what I understand networkd is mostly for containerized or virtualized applications or servers where automated deployments are important. For a desktop use case you're probably better off with NetworkManager.

12 points

Yes, i second this. NM might not be the most "elegant solution" but it's the de-facto standard for most users and offers a good integration with DEs. Which means you can set-up everything via a nice gui.

Maybe (hopefully!) in the future things will change and systemd-networkd will become the new standard, but till that day i always apply the principle that: more users = more features+more stability+better integration+more google results when the thing fucks up.

7 points

It's pretty simple choice for a desktop too. Basically anything where you want to plug in the ethernet cable it just work.

3 points

networkd is also pretty good for those who just want to connect to the internet through a wire and that's it. Works great for me and shaved almost 20 seconds from my boot time. (Though I admit, there was probably something wrong with NM. But eh, networkd works great and it's already there so why not just use that.)

3 points

On the netctl vs. NM point, Network Manager is a nice catch-all solution for many users; tried, tested, and true across many distributions and desktop environments. I've been a netctl user myself for 4 years now and I can't say I've run into more than a handful of issues, and forcing me to manually create and edit network profiles actually paid off in the long run, as I could copy them over to new machines I've acquired with only interface names needing a change. But it's really neither here nor there.

I second Vash63 on the networkd vs. NM question - networkd is definitely aimed at a systems administrator looking to maintain and automate creation of network profiles on machines that probably aren't moving and have similar hardware. Very elegant way to set that up, imo.

9 points
unknown author

Deleted before we saved it.

2 points

I use NetworkManager on my laptops and systemd-networkd on my servers. They both have support for dynamic networks, but NM is much more stable for desktop use at this point.

Though I am interested to see if systemd-networkd's future includes being useful as a backend for NetworkManager - seems as though that would provide a single control plane for desktops and servers (something most other systemd projects seem to do well).

8 points

networkd is a bit weird with suffix search paths. It's rather unfortunate, really.

1 points

I'm using networkd for Ethernet and wifi on my laptop along with wpa-supplicant. No problems, but I haven't looked into setting up a VPN on it yet.

Edit: Should note I'm doing all this through cli and files; if you're looking for a network-manager style tray app networkd's not what you're looking for, at least at this point.

6 points

What about connman? I started using it on my first install and never had any reason to switch, it just works. It's said to be faster than NM, too.

3 points

Same here. Connman is very light and fast and has all the features I would ever need. Has a good CLI interface and GUI interfaces for whatever toolkit you use.

2 points

So much this. Want to do it all through cli? Connman does it. Want a dmenu front end? It's in the AUR (unless it didn't survive the AUR transition) and it is great. Want a full GUI and tray applet? It's out there as well. To me, connman is the most arch-y option there is.

2 points

Am I the only one to never had any problem with netctl?!

2 points

Nope. I haven't had a reason to switch from it on my laptops. Command line interface is straight forward and its config files are plain and simple. What problems do people have with it?

2 points

Same here, moving from home on a wired connection to work and friend's house with a wireless connection with no problem.

1 points

Welp, I am using systemd-networkd for any pc that has constant wired network. That would be my server and my rig. For laptops I use NM.

2 points

I recommend connman or ifconfig. Everything else is simply too bloated.

1 points

NM uses capital letters in its configuration path: avoid it.

More on point: I use systemd-networkd ever since it's been out and it's a pleasure to use. Still nothing like hostname.if(5) but pretty clear and easy. Having resolving work was a bit tedious but should be well explained in the wiki now.

0 points

NM uses capital letters in its configuration path: avoid it.

Good thing I'm not using NM on Windows then.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.